From 7fc390cba426710880297bc6790736338f355909 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 17 Feb 2019 22:12:30 +0200 Subject: [PATCH] declare available themes --- app/src/main/res/values/styles.xml | 212 ++++++++++++++++++++++++++++- tools/gen-styles | 166 ++++++++++++++++++++++ 2 files changed, 375 insertions(+), 3 deletions(-) create mode 100644 tools/gen-styles 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"; +} -- 2.39.5