style: 主题色

pull/95/head
kunfei 5 years ago
parent 3364e6f165
commit 415cac16f7
  1. 5
      app/src/main/java/io/legado/app/lib/theme/ATH.kt
  2. 2
      app/src/main/res/values/colors.xml

@ -205,10 +205,7 @@ object ATH {
.setSelectedColor(ThemeStore.accentColor(bottom_navigation_view.context)).create()
itemIconTintList = colorStateList
itemTextColor = colorStateList
itemBackgroundResource = when (AppConfig.isNightTheme) {
true -> R.drawable.item_bg_dark
false -> R.drawable.item_bg_light
}
itemBackgroundResource = R.color.background_menu
}
}

@ -15,7 +15,7 @@
<color name="background">@color/md_grey_50</color>
<color name="background_card">@color/md_grey_100</color>
<color name="background_menu">@color/md_grey_200</color>
<color name="background_menu">@color/md_grey_300</color>
<color name="transparent">#00000000</color>
<color name="transparent30">#30000000</color>

Loading…
Cancel
Save