2016-03-12 21:22:40 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!--============-->
|
|
|
|
<!-- Base Theme -->
|
|
|
|
<!--============-->
|
|
|
|
<style name="Theme"/>
|
|
|
|
|
|
|
|
<!--==============-->
|
|
|
|
<!-- Light Themes -->
|
|
|
|
<!--=======-======-->
|
|
|
|
<style name="Theme.Base" parent="Theme.AppCompat.Light.NoActionBar">
|
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
2016-04-10 21:48:57 +08:00
|
|
|
<item name="colorAccent">@color/colorAccentLight</item>
|
2016-03-12 21:22:40 +08: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>
|
2016-04-10 21:48:57 +08:00
|
|
|
<item name="android:listSelector">?colorAccent</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
<item name="android:divider">@color/dividerLight</item>
|
2016-11-06 02:28:47 +08:00
|
|
|
<item name="android:listDivider">@drawable/line_divider_light</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2016-05-13 21:45:36 +08:00
|
|
|
<item name="actionBarTheme">@style/Theme.ActionBar.Light</item>
|
2016-06-17 02:52:51 +08:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Material</item>
|
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.Light</item>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="selectable_list_drawable">@drawable/list_item_selector_light</item>
|
2016-05-13 21:45:36 +08:00
|
|
|
<item name="selectable_library_drawable">@drawable/library_item_selector_light</item>
|
2016-05-25 06:09:24 +08:00
|
|
|
<item name="text_color_primary">@color/textColorPrimaryLight</item>
|
2016-06-08 02:36:40 +08:00
|
|
|
<item name="background_card">@color/dialogLight</item>
|
2017-08-31 03:50:19 +08:00
|
|
|
<item name="icon_color">@color/iconColorLight</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi" parent="Theme.Base">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!--=============-->
|
|
|
|
<!-- Dark Themes -->
|
|
|
|
<!--=============-->
|
|
|
|
<style name="Theme.Base.Dark" parent="Theme.AppCompat.NoActionBar">
|
2018-03-11 03:17:26 +08:00
|
|
|
<item name="colorPrimary">@color/colorDarkPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
|
2016-04-10 21:48:57 +08:00
|
|
|
<item name="colorAccent">@color/colorAccentDark</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
<item name="android:textColorPrimary">@color/textColorPrimaryDark</item>
|
|
|
|
<item name="android:textColorSecondary">@color/textColorSecondaryDark</item>
|
|
|
|
<item name="android:textColorHint">@color/textColorHintDark</item>
|
|
|
|
<item name="android:textColorPrimaryInverse">@color/textColorPrimaryLight</item>
|
|
|
|
<item name="android:textColorSecondaryInverse">@color/textColorSecondaryLight</item>
|
|
|
|
<item name="android:textColorHintInverse">@color/textColorHintLight</item>
|
|
|
|
<item name="android:colorBackground">@color/backgroundDark</item>
|
2016-04-10 21:48:57 +08:00
|
|
|
<item name="android:listSelector">?colorAccent</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
<item name="android:divider">@color/dividerDark</item>
|
2016-11-06 02:28:47 +08:00
|
|
|
<item name="android:listDivider">@drawable/line_divider_dark</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<!-- Themes -->
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
<item name="actionBarTheme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat</item>
|
2016-06-17 02:52:51 +08:00
|
|
|
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Material</item>
|
2018-03-15 01:01:30 +08:00
|
|
|
<item name="md_background_color">@color/dialogDark</item>
|
2016-06-17 02:52:51 +08:00
|
|
|
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
|
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="navigation_view_theme">@style/Theme.Widget.NavigationView.Dark</item>
|
|
|
|
<item name="selectable_list_drawable">@drawable/list_item_selector_dark</item>
|
2016-05-13 21:45:36 +08:00
|
|
|
<item name="selectable_library_drawable">@drawable/library_item_selector_dark</item>
|
2016-05-25 06:09:24 +08:00
|
|
|
<item name="text_color_primary">@color/textColorPrimaryDark</item>
|
2016-06-08 02:36:40 +08:00
|
|
|
<item name="background_card">@color/dialogDark</item>
|
2017-08-31 03:50:19 +08:00
|
|
|
<item name="icon_color">@color/iconColorDark</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi.Dark" parent="Theme.Base.Dark">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
2018-10-28 01:10:11 +08:00
|
|
|
<style name="Theme.Tachiyomi.DarkBlue" parent="Theme.Base.Dark">
|
|
|
|
<item name="colorPrimary">@color/colorPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
|
|
|
</style>
|
|
|
|
|
2017-05-07 18:36:25 +08:00
|
|
|
<!--==============-->
|
|
|
|
<!-- Amoled Theme -->
|
|
|
|
<!--==============-->
|
|
|
|
<style name="Theme.Base.Amoled" parent="Theme.Base.Dark">
|
2018-03-15 01:01:30 +08:00
|
|
|
<item name="colorPrimary">@color/colorAmoledPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorAmoledPrimary</item>
|
2017-05-07 18:36:25 +08:00
|
|
|
<item name="android:colorBackground">@color/md_black_1000</item>
|
|
|
|
|
|
|
|
<!-- Custom Attributes-->
|
|
|
|
<item name="selectable_list_drawable">@drawable/list_item_selector_amoled</item>
|
|
|
|
<item name="selectable_library_drawable">@drawable/library_item_selector_amoled</item>
|
2017-10-01 16:44:48 +08:00
|
|
|
<item name="background_card">@color/dialog_amoled</item>
|
2017-05-07 18:36:25 +08:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Tachiyomi.Amoled" parent="Theme.Base.Amoled">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<!--==============-->
|
|
|
|
<!-- Reader Theme -->
|
|
|
|
<!--==============-->
|
2018-09-01 23:12:59 +08:00
|
|
|
<style name="Theme.Base.Reader.Dark" parent="Theme.Base.Dark">
|
2018-03-11 03:17:26 +08:00
|
|
|
<item name="colorPrimary">@color/colorDarkPrimary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/colorDarkPrimaryDark</item>
|
2018-09-01 23:12:59 +08:00
|
|
|
<item name="android:colorBackground">@android:color/black</item>
|
2016-03-12 21:22:40 +08:00
|
|
|
</style>
|
|
|
|
|
2018-09-01 23:12:59 +08:00
|
|
|
<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>
|
|
|
|
|
|
|
|
<style name="Theme.Reader" parent="Theme.Base.Reader.Dark">
|
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.Reader.Light" parent="Theme.Base.Reader.Light">
|
2016-06-27 22:46:31 +08:00
|
|
|
<!-- Attributes specific for SDK 16 to SDK 20 -->
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2016-03-12 21:22:40 +08:00
|
|
|
<!--===============-->
|
|
|
|
<!-- Launch Screen -->
|
|
|
|
<!--===============-->
|
|
|
|
<style name="Theme.BrandedLaunch">
|
|
|
|
<item name="android:windowBackground">@drawable/branded_logo</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2018-09-01 23:12:59 +08:00
|
|
|
</resources>
|