tachiyomi/app/src/main/res/values/themes.xml

70 lines
3.0 KiB
XML
Raw Normal View History

2016-03-12 14:22:40 +01:00
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--============-->
<!-- Base Theme -->
<!--============-->
<style name="Theme"/>
<!--==============-->
<!-- Light Themes -->
<!--=======-======-->
2019-10-24 08:43:18 +02:00
<style name="Theme.Base" parent="Theme.AppCompat.DayNight.NoActionBar">
2016-03-12 14:22:40 +01:00
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccentLight</item>
2016-03-12 14:22:40 +01:00
<item name="android:textColorPrimary">@color/textColorPrimaryLight</item>
<item name="android:textColorSecondary">@color/textColorSecondaryLight</item>
<item name="android:textColorHint">@color/textColorHintLight</item>
<item name="android:textColorPrimaryInverse">@color/textColorPrimaryDark</item>
<item name="android:textColorSecondaryInverse">@color/textColorSecondaryDark</item>
<item name="android:textColorHintInverse">@color/textColorHintDark</item>
<item name="android:colorBackground">@color/backgroundLight</item>
<item name="android:listSelector">?colorAccent</item>
2016-03-12 14:22:40 +01:00
<item name="android:divider">@color/dividerLight</item>
<item name="android:listDivider">@drawable/line_divider_light</item>
2016-03-12 14:22:40 +01:00
<!-- Themes -->
<item name="windowActionModeOverlay">true</item>
2016-05-13 15:45:36 +02:00
<item name="actionBarTheme">@style/Theme.ActionBar.Light</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Material</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Light</item>
2016-03-12 14:22:40 +01:00
<!-- Custom Attributes-->
<item name="selectable_list_drawable">@drawable/list_item_selector_light</item>
2016-05-13 15:45:36 +02:00
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
2016-05-25 00:09:24 +02:00
<item name="text_color_primary">@color/textColorPrimaryLight</item>
2016-06-07 20:36:40 +02:00
<item name="background_card">@color/dialogLight</item>
<item name="icon_color">@color/iconColorLight</item>
2016-03-12 14:22:40 +01:00
</style>
<style name="Theme.Tachiyomi" parent="Theme.Base">
<!-- Attributes specific for SDK 16 to SDK 20 -->
</style>
<!--==============-->
<!-- Reader Theme -->
<!--==============-->
2019-10-24 08:43:18 +02:00
<style name="Theme.Base.Reader.Dark" parent="Theme.Base">
<item name="colorPrimary">@color/colorDarkPrimary</item>
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
<item name="android:colorBackground">@android:color/black</item>
2016-03-12 14:22:40 +01:00
</style>
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
<item name="colorPrimary">@color/colorDarkPrimary</item>
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
<item name="android:colorBackground">@android:color/white</item>
</style>
2016-03-12 14:22:40 +01:00
<!--===============-->
<!-- Launch Screen -->
<!--===============-->
<style name="Theme.BrandedLaunch">
<item name="android:windowBackground">@drawable/branded_logo</item>
</style>
</resources>