]> git.ktnx.net Git - mobile-ledger.git/commitdiff
use opaque base text color
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 20 Feb 2020 17:59:59 +0000 (19:59 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 20 Feb 2020 18:01:14 +0000 (20:01 +0200)
the transparency needs to be manipulated in another place, which would
require mangling with alpha, which (the docs say) has performance
implications

the new color is what the old one would appear on a white background

app/src/main/res/values/styles.xml
tools/gen-styles

index f9be6d321ae9775ace916f3832668ae853679e7d..9defca00a7829d7b3ab880a96feb3d4d79b12f5c 100644 (file)
@@ -35,7 +35,7 @@
     <style name="AppTheme.NoActionBar">
         <item name="windowActionBar">false</item>
         <item name="windowNoTitle">true</item>
-        <item name="textColor">#8a000000</item>
+        <item name="textColor">#757575</item>
         <item name="colorPrimary">#935ff2</item>
         <item name="colorPrimaryTransparent">#00935ff2</item>
         <item name="colorAccent">#5f14e9</item>
index 60b01a6325a7cd849135051c0c9894fba4986694..0012d5d52921b190123fa36ae409d7a7ec782e27 100644 (file)
@@ -206,7 +206,7 @@ sub hslStyleForHue {
                         $baseTheme;
                 $result .= "$indent<item name=\"windowActionBar\">false</item>\n";
                 $result .= "$indent<item name=\"windowNoTitle\">true</item>\n";
-                $result .= "$indent<item name=\"textColor\">#8a000000</item>\n";
+                $result .= "$indent<item name=\"textColor\">#757575</item>\n";
         }
         my $S = 0.845;
         $result .= sprintf "$indent<item name=\"colorPrimary\">#%s</item>\n",