diff --git a/generate-themes.pl b/generate-themes.pl index 08d45621..38359a27 100644 --- a/generate-themes.pl +++ b/generate-themes.pl @@ -7,23 +7,23 @@ use constant THEMES_LIST => './res/values-v21/themes-list.xml'; my $THEMES = [ { _name => 'standard', - light => { colorAccent => '#ff3e677a', colorPrimary => '#ff37474f', colorPrimaryDark => '#ff263238', _bg => '#fff0f0f0' }, - dark => { colorAccent => '#ff3e677a', colorPrimary => '#ff37474f', colorPrimaryDark => '#ff263238', _bg => '#ff2a2a2a' }, + light => { colorAccent => '#ff3e677a', colorPrimary => '#ff37474f', colorPrimaryDark => '#ff263238', controlsNormal=>'@color/material_grey_900', _bg => '#fff0f0f0' }, + dark => { colorAccent => '#ff3e677a', colorPrimary => '#ff37474f', colorPrimaryDark => '#ff263238', controlsNormal=>'@color/material_grey_300', _bg => '#ff2a2a2a' }, }, { _name => 'greyish', - light => { colorAccent => '#ff212121', colorPrimary => '#ff212121', colorPrimaryDark => '#ff090909', _bg => '#fff0f0f0' }, - dark => { colorAccent => '#ffececec', colorPrimary => '#ff212121', colorPrimaryDark => '#ff090909', _bg => '#ff2a2a2a' }, + light => { colorAccent => '#ff000000', colorPrimary => '#ff212121', colorPrimaryDark => '#ff090909', controlsNormal=>'@color/material_grey_600', _bg => '#fff0f0f0' }, + dark => { colorAccent => '#ffffffff', colorPrimary => '#ff212121', colorPrimaryDark => '#ff090909', controlsNormal=>'@color/material_grey_600', _bg => '#ff2a2a2a' }, }, { _name => 'orange', - light => { colorAccent => '#FFF57F17', colorPrimary => '#FFE65100', colorPrimaryDark => '#FFBF360C', _bg => '#fff0f0f0' }, - dark => { colorAccent => '#FFF57F17', colorPrimary => '#FFE65100', colorPrimaryDark => '#FFBF360C', _bg => '#ff2a2a2a' }, + light => { colorAccent => '#FFF57F17', colorPrimary => '#FFE65100', colorPrimaryDark => '#FFBF360C', controlsNormal=>'@color/material_grey_900', _bg => '#fff0f0f0' }, + dark => { colorAccent => '#FFF57F17', colorPrimary => '#FFE65100', colorPrimaryDark => '#FFBF360C', controlsNormal=>'@color/material_grey_300', _bg => '#ff2a2a2a' }, }, { _name => 'blue', - light => { colorAccent => '#FF03A9F4', colorPrimary => '#FF0277BD', colorPrimaryDark => '#FF01579B', _bg => '#fff0f0f0' }, - dark => { colorAccent => '#FF03A9F4', colorPrimary => '#FF0277BD', colorPrimaryDark => '#FF01579B', _bg => '#ff2a2a2a' }, + 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' }, }, ]; @@ -117,7 +117,7 @@ my $DATA = << "EOF"; \@color/material_grey_300 $this->{light}->{colorPrimary} $this->{light}->{colorAccent} - \@color/material_grey_900 + $this->{light}->{controlsNormal} $this->{light}->{colorAccent} $this->{light}->{colorAccent} $this->{light}->{colorPrimary} @@ -139,7 +139,7 @@ my $DATA = << "EOF"; @@ -151,7 +151,7 @@ my $DATA = << "EOF"; \@color/material_grey_700 $this->{dark}->{colorPrimary} $this->{dark}->{colorAccent} - \@color/material_grey_300 + $this->{dark}->{controlsNormal} $this->{dark}->{colorAccent} $this->{dark}->{colorAccent} $this->{dark}->{colorPrimary} @@ -173,7 +173,7 @@ my $DATA = << "EOF"; diff --git a/res/values-v21/theme-greyish.xml b/res/values-v21/theme-greyish.xml index 273e1600..dd3637b3 100644 --- a/res/values-v21/theme-greyish.xml +++ b/res/values-v21/theme-greyish.xml @@ -24,10 +24,10 @@ @color/material_grey_400 @color/material_grey_300 #ff212121 - #ff212121 - @color/material_grey_900 - #ff212121 - #ff212121 + #ff000000 + @color/material_grey_600 + #ff000000 + #ff000000 #ff212121 #ff090909 @@ -47,8 +47,8 @@ @@ -58,10 +58,10 @@ @color/material_grey_900 @color/material_grey_700 #ff212121 - #ffececec - @color/material_grey_300 - #ffececec - #ffececec + #ffffffff + @color/material_grey_600 + #ffffffff + #ffffffff #ff212121 #ff090909 @@ -81,8 +81,8 @@ diff --git a/res/values-v21/themes-list.xml b/res/values-v21/themes-list.xml index 5d2a3bc1..3f0bc6f0 100644 --- a/res/values-v21/themes-list.xml +++ b/res/values-v21/themes-list.xml @@ -1,28 +1,6 @@ - - @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/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/Library @style/Dark.Library @@ -34,6 +12,17 @@ @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 @@ -56,6 +45,17 @@ @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