mirror of https://github.com/tasks/tasks
Configure theme and colors separately
parent
1643ca397c
commit
9d918950bb
@ -1,5 +0,0 @@
|
||||
<View xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/toolbar_separator"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/toolbarSeparatorHeight"
|
||||
android:background="?attr/asToolbarSeparator" />
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="BaseBlack" parent="DarkOverride">
|
||||
<item name="android:windowBackground">@android:color/black</item>
|
||||
<item name="asContentBackground">@android:color/black</item>
|
||||
</style>
|
||||
</resources>
|
@ -1,51 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Black" parent="DarkOverride">
|
||||
<style name="Black">
|
||||
<item name="colorPrimary">@color/black_primary</item>
|
||||
<item name="colorPrimaryDark">@color/black_primary_dark</item>
|
||||
<item name="colorAccent">@color/red_500</item>
|
||||
|
||||
<item name="popup_theme">@style/ThemeOverlay.AppCompat</item>
|
||||
|
||||
<item name="android:windowBackground">@android:color/black</item>
|
||||
<item name="drawer_background">@color/drawer_background_dark</item>
|
||||
<item name="drawer_background_selected">@color/drawer_background_selected_dark</item>
|
||||
<item name="toolbarSeparatorHeight">1px</item>
|
||||
<item name="asToolbarSeparator">@android:color/white</item>
|
||||
<item name="asSeparator">?attr/asToolbarSeparator</item>
|
||||
<item name="android:actionModeBackground">@color/black_primary</item>
|
||||
<item name="asContentBackground">@android:color/black</item>
|
||||
<item name="asTextColor">@android:color/white</item>
|
||||
<item name="asTextColorHint">@android:color/darker_gray</item>
|
||||
<item name="asTextColorInverse">@android:color/black</item>
|
||||
<item name="icon_tint">@android:color/white</item>
|
||||
<item name="task_edit_divider">@color/task_edit_divider</item>
|
||||
<item name="asDueDateColor">#c3c3c3</item>
|
||||
|
||||
<item name="asEditTextBackground">@null</item>
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
|
||||
<item name="asDueDateCompletedColor">#ff777777</item>
|
||||
<item name="separatorHeight">1px</item>
|
||||
<item name="asSeparatorBackground">#888888</item>
|
||||
|
||||
<item name="asDetailsColor">#6666aa</item>
|
||||
<item name="asListDividerColor">#dddddd</item>
|
||||
<item name="asThemeTextColor">@color/dark_blue_theme_color</item>
|
||||
<item name="android:spinnerItemStyle">@style/SpinnerNoPadding</item>
|
||||
<item name="alertDialogTheme">@style/BlackDialog</item>
|
||||
</style>
|
||||
|
||||
<style name="BlackDialog" parent="DialogBaseDark">
|
||||
<item name="colorPrimary">@color/black_primary</item>
|
||||
<item name="colorPrimaryDark">@color/black_primary_dark</item>
|
||||
<item name="colorAccent">@color/red_a400</item>
|
||||
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
||||
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
||||
<item name="asThemeTextColor">@color/dark_blue_theme_color</item>
|
||||
<item name="asTextColor">@android:color/white</item>
|
||||
<item name="asListDividerColor">#dddddd</item>
|
||||
<item name="icon_tint">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
@ -1,17 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="Brown" parent="LightOverride">
|
||||
<style name="Brown">
|
||||
<item name="colorPrimary">@color/brown_500</item>
|
||||
<item name="colorPrimaryDark">@color/brown_700</item>
|
||||
<item name="colorAccent">@color/red_a400</item>
|
||||
<item name="alertDialogTheme">@style/BrownDialog</item>
|
||||
</style>
|
||||
|
||||
<style name="BrownDialog" parent="LightDialogBase">
|
||||
<item name="colorPrimary">@color/brown_500</item>
|
||||
<item name="colorPrimaryDark">@color/brown_700</item>
|
||||
<item name="colorAccent">@color/red_a400</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
@ -1,17 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="Grey" parent="LightOverride">
|
||||
<style name="Grey">
|
||||
<item name="colorPrimary">@color/grey_500</item>
|
||||
<item name="colorPrimaryDark">@color/grey_700</item>
|
||||
<item name="colorAccent">@color/amber_a400</item>
|
||||
<item name="alertDialogTheme">@style/GreyDialog</item>
|
||||
</style>
|
||||
|
||||
<style name="GreyDialog" parent="LightDialogBase">
|
||||
<item name="colorPrimary">@color/grey_500</item>
|
||||
<item name="colorPrimaryDark">@color/grey_700</item>
|
||||
<item name="colorAccent">@color/amber_a400</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue