From: Damyan Ivanov Date: Sun, 17 Feb 2019 20:12:30 +0000 (+0200) Subject: declare available themes X-Git-Tag: v0.7~70 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=7fc390cba426710880297bc6790736338f355909;p=mobile-ledger.git declare available themes --- diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 4622e2a9..0221dc13 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -20,15 +20,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1 + 0 + 15 + 30 + 45 + 60 + 75 + 90 + 105 + 120 + 135 + 150 + 165 + 180 + 195 + 210 + 225 + 240 + 255 + 270 + 285 + 300 + 315 + 330 + 345 + \n"; +# } + +# HSL +hslStyleForHue($baseColorHue); +for( my $hue = 0; $hue < 360; $hue += 15 ) { + hslStyleForHue($hue, $baseTheme); +} + +sub hslStyleForHue { + my $hue = shift; + my $base = shift; + + if ($base) { + printf "\n"; +}