fixing documentation on themes enum vars

This commit is contained in:
Jays2Kings 2021-07-03 03:30:39 -04:00
parent 883ae04d08
commit f7c08e9957

View File

@ -221,14 +221,14 @@ enum class Themes(@StyleRes val styleRes: Int, val nightMode: Int, @StringRes va
else -> Color.parseColor("#C2FFFFFF")
}
/** Complies with tabBarIconColor */
/** Complies with tabBarIconColor or colorAccent */
@ColorInt
val lightActiveTab: Int = when (styleRes) {
R.style.Theme_Tachiyomi_AllBlue -> lightAppBarText
else -> lightAccent
}
/** Complies with tabBarIconColor (probably night) */
/** Complies with tabBarIconColor or colorAccent (probably night) */
@ColorInt
val darkActiveTab: Int = when (styleRes) {
R.style.Theme_Tachiyomi_AllBlue -> darkAppBarText
@ -240,10 +240,15 @@ enum class Themes(@StyleRes val styleRes: Int, val nightMode: Int, @StringRes va
@ColorInt val secondaryText: Int,
@ColorInt val colorBackground: Int,
@ColorInt val colorAccent: Int,
/** Complies with colorSecondary */
@ColorInt val appBar: Int,
/** Complies with actionBarTintColor */
@ColorInt val appBarText: Int,
/** Complies with colorPrimaryVariant */
@ColorInt val bottomBar: Int,
/** Complies with tabBarIconInactive */
@ColorInt val inactiveTab: Int,
/** Complies with tabBarIconColor */
@ColorInt val activeTab: Int,
)
}