From da4e2c2420c25592f67a63e1dad5311b3bc83303 Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Wed, 21 Jun 2017 20:35:37 +0200 Subject: [PATCH] add red theme --- generate-themes.pl | 5 ++ res/values-v21/theme-red.xml | 88 +++++++++++++++++++++++ res/values-v21/themes-list.xml | 124 ++++++++++++++++++--------------- 3 files changed, 162 insertions(+), 55 deletions(-) create mode 100644 res/values-v21/theme-red.xml diff --git a/generate-themes.pl b/generate-themes.pl index 38359a27..834ac3d4 100644 --- a/generate-themes.pl +++ b/generate-themes.pl @@ -25,6 +25,11 @@ my $THEMES = [ light => { colorAccent => '#FF03A9F4', colorPrimary => '#FF0277BD', colorPrimaryDark => '#FF01579B', controlsNormal=>'@color/material_grey_900', _bg => '#fff0f0f0' }, dark => { colorAccent => '#FF03A9F4', colorPrimary => '#FF0277BD', colorPrimaryDark => '#FF01579B', controlsNormal=>'@color/material_grey_300', _bg => '#ff2a2a2a' }, }, + { + _name => 'red', + light => { colorAccent => '#ffd50000', colorPrimary => '#ffc62828', colorPrimaryDark => '#ffb71c1c', controlsNormal=>'@color/material_grey_900', _bg => '#fff0f0f0' }, + dark => { colorAccent => '#ffd50000', colorPrimary => '#ffc62828', colorPrimaryDark => '#ffb71c1c', controlsNormal=>'@color/material_grey_300', _bg => '#ff2a2a2a' }, + }, ]; diff --git a/res/values-v21/theme-red.xml b/res/values-v21/theme-red.xml new file mode 100644 index 00000000..2cf39768 --- /dev/null +++ b/res/values-v21/theme-red.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/values-v21/themes-list.xml b/res/values-v21/themes-list.xml index 3f0bc6f0..5b696452 100644 --- a/res/values-v21/themes-list.xml +++ b/res/values-v21/themes-list.xml @@ -1,61 +1,6 @@ - - @style/Library - @style/Dark.Library - @style/Greyish.Library - @style/Greyish.Dark.Library - @style/Orange.Library - @style/Orange.Dark.Library - @style/Blue.Library - @style/Blue.Dark.Library - - - - @style/BackActionBar - @style/Dark.BackActionBar - @style/Greyish.BackActionBar - @style/Greyish.Dark.BackActionBar - @style/Orange.BackActionBar - @style/Orange.Dark.BackActionBar - @style/Blue.BackActionBar - @style/Blue.Dark.BackActionBar - - - - @style/PopupDialog - @style/Dark.PopupDialog - @style/Greyish.PopupDialog - @style/Greyish.Dark.PopupDialog - @style/Orange.PopupDialog - @style/Orange.Dark.PopupDialog - @style/Blue.PopupDialog - @style/Blue.Dark.PopupDialog - - - - @style/Playback - @style/Dark.Playback - @style/Greyish.Playback - @style/Greyish.Dark.Playback - @style/Orange.Playback - @style/Orange.Dark.Playback - @style/Blue.Playback - @style/Blue.Dark.Playback - - - - @style/VanillaBase - @style/Dark.VanillaBase - @style/Greyish.VanillaBase - @style/Greyish.Dark.VanillaBase - @style/Orange.VanillaBase - @style/Orange.Dark.VanillaBase - @style/Blue.VanillaBase - @style/Blue.Dark.VanillaBase - - Standard Dark.Standard @@ -65,6 +10,8 @@ Dark.Orange Blue Dark.Blue + Red + Dark.Red @@ -76,6 +23,73 @@ 5,#FFBF360C,#ff2a2a2a,#FFE65100 6,#FF01579B,#fff0f0f0,#FF0277BD 7,#FF01579B,#ff2a2a2a,#FF0277BD + 8,#ffb71c1c,#fff0f0f0,#ffc62828 + 9,#ffb71c1c,#ff2a2a2a,#ffc62828 + + @style/BackActionBar + @style/Dark.BackActionBar + @style/Greyish.BackActionBar + @style/Greyish.Dark.BackActionBar + @style/Orange.BackActionBar + @style/Orange.Dark.BackActionBar + @style/Blue.BackActionBar + @style/Blue.Dark.BackActionBar + @style/Red.BackActionBar + @style/Red.Dark.BackActionBar + + + + @style/Playback + @style/Dark.Playback + @style/Greyish.Playback + @style/Greyish.Dark.Playback + @style/Orange.Playback + @style/Orange.Dark.Playback + @style/Blue.Playback + @style/Blue.Dark.Playback + @style/Red.Playback + @style/Red.Dark.Playback + + + + @style/VanillaBase + @style/Dark.VanillaBase + @style/Greyish.VanillaBase + @style/Greyish.Dark.VanillaBase + @style/Orange.VanillaBase + @style/Orange.Dark.VanillaBase + @style/Blue.VanillaBase + @style/Blue.Dark.VanillaBase + @style/Red.VanillaBase + @style/Red.Dark.VanillaBase + + + + @style/PopupDialog + @style/Dark.PopupDialog + @style/Greyish.PopupDialog + @style/Greyish.Dark.PopupDialog + @style/Orange.PopupDialog + @style/Orange.Dark.PopupDialog + @style/Blue.PopupDialog + @style/Blue.Dark.PopupDialog + @style/Red.PopupDialog + @style/Red.Dark.PopupDialog + + + + @style/Library + @style/Dark.Library + @style/Greyish.Library + @style/Greyish.Dark.Library + @style/Orange.Library + @style/Orange.Dark.Library + @style/Blue.Library + @style/Blue.Dark.Library + @style/Red.Library + @style/Red.Dark.Library + +