X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=tools%2Fgen-styles;h=73e2367bd7ba9a0ad1792345a5290f77e511f313;hb=4dd0fcfca16c147321f63be846de279c37bfffda;hp=9191e18af29e5244b2f9ead7a654210daa964ab4;hpb=6680ab3aec4c8bfb5662e0d2a251f05cb026e035;p=mobile-ledger-staging.git
diff --git a/tools/gen-styles b/tools/gen-styles
index 9191e18a..73e2367b 100644
--- a/tools/gen-styles
+++ b/tools/gen-styles
@@ -138,7 +138,7 @@ for (my $s = 0.50; $s < 0.90; $s += 0.001) {
warn sprintf( 's%1.3f, l%1.3f -> %s',
@$best );
-my $baseTheme = "AppTheme.NoActionBar";
+my $baseTheme = "AppTheme";
use constant STEP_DEGREES => 5;
@@ -152,7 +152,6 @@ use constant STEP_DEGREES => 5;
# hsvHex($hue/360.0, 0.86, 0.55);
# printf " - #%s
\n",
# hsvHex(($hue-4)/360.0, 0.72, 0.82);
-# printf " - #ffffffff
\n";
# printf " - #28%s
\n",
# hsvHex($hue/360.0, 0.65, 0.83);
# printf " - #28%s
\n",
@@ -166,7 +165,6 @@ use constant STEP_DEGREES => 5;
sub outputThemes {
my $out = shift;
my $baseIndent = shift;
- $out->print(hslStyleForHue($baseColorHue, undef, $baseIndent));
for( my $hue = 0; $hue < 360; $hue += STEP_DEGREES ) {
$out->print("\n");
$out->print(hslStyleForHue($hue, $baseTheme, $baseIndent));
@@ -211,9 +209,9 @@ sub hslStyleForHue {
else {
$result .= sprintf "$baseIndent