X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=tools%2Fgen-styles;h=73e2367bd7ba9a0ad1792345a5290f77e511f313;hp=9191e18af29e5244b2f9ead7a654210daa964ab4;hb=3cfb098fc4ac9e6f3f3f4e7e3925ff8c7619d3ba;hpb=6680ab3aec4c8bfb5662e0d2a251f05cb026e035 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