migrate to Matherial DayNight themes
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 19 May 2020 20:06:47 +0000 (23:06 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Tue, 19 May 2020 20:06:47 +0000 (23:06 +0300)
app/src/main/res/values/styles.xml
tools/gen-styles

index 64b7f91..8f33044 100644 (file)
     <!-- Base application theme. -->
     <!-- base hue: 261.2245° -->
     <!-- target primary color: #935FF2 -->
-    <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
+    <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
         <item name="colorPrimary">#935FF2</item>
+        <item name="colorPrimaryTransparent">#00935FF2</item>
         <item name="colorOnPrimary">?android:attr/colorBackground</item>
+        <item name="colorPrimaryDark">#653BD0</item>
         <item name="colorAccent">#653BD0</item>
         <item name="drawer_background">?android:attr/popupBackground</item>
         <item name="table_row_dark_bg">#286c33d4</item>
@@ -32,6 +34,7 @@
         <item name="windowNoTitle">true</item>
         <item name="textColor">#757575</item>
         <item name="errorTextColor">@color/errorTextColor</item>
+        <item name="colorOnSecondary">?android:attr/colorBackground</item>
     </style>
 
     <!-- theme list start -->
@@ -40,6 +43,7 @@
         <item name="colorPrimary">#d41212</item>
         <item name="colorPrimaryTransparent">#00d41212</item>
         <item name="colorAccent">#a90e0e</item>
+        <item name="colorPrimaryDark">#a90e0e</item>
         <item name="table_row_dark_bg">#fde7e7</item>
         <item name="table_row_light_bg">#fef6f6</item>
     </style>
@@ -48,6 +52,7 @@
         <item name="colorPrimary">#d22212</item>
         <item name="colorPrimaryTransparent">#00d22212</item>
         <item name="colorAccent">#a81b0e</item>
+        <item name="colorPrimaryDark">#a81b0e</item>
         <item name="table_row_dark_bg">#fde9e7</item>
         <item name="table_row_light_bg">#fef6f6</item>
     </style>
@@ -56,6 +61,7 @@
         <item name="colorPrimary">#d03111</item>
         <item name="colorPrimaryTransparent">#00d03111</item>
         <item name="colorAccent">#a6270e</item>
+        <item name="colorPrimaryDark">#a6270e</item>
         <item name="table_row_dark_bg">#fdebe7</item>
         <item name="table_row_light_bg">#fef7f6</item>
     </style>
@@ -64,6 +70,7 @@
         <item name="colorPrimary">#ce4011</item>
         <item name="colorPrimaryTransparent">#00ce4011</item>
         <item name="colorAccent">#a5340e</item>
+        <item name="colorPrimaryDark">#a5340e</item>
         <item name="table_row_dark_bg">#fdede7</item>
         <item name="table_row_light_bg">#fef8f6</item>
     </style>
@@ -72,6 +79,7 @@
         <item name="colorPrimary">#cc4f11</item>
         <item name="colorPrimaryTransparent">#00cc4f11</item>
         <item name="colorAccent">#a3400e</item>
+        <item name="colorPrimaryDark">#a3400e</item>
         <item name="table_row_dark_bg">#fdefe7</item>
         <item name="table_row_light_bg">#fef8f6</item>
     </style>
@@ -80,6 +88,7 @@
         <item name="colorPrimary">#ca5e11</item>
         <item name="colorPrimaryTransparent">#00ca5e11</item>
         <item name="colorAccent">#a24b0e</item>
+        <item name="colorPrimaryDark">#a24b0e</item>
         <item name="table_row_dark_bg">#fdf0e7</item>
         <item name="table_row_light_bg">#fef9f6</item>
     </style>
@@ -88,6 +97,7 @@
         <item name="colorPrimary">#c86c11</item>
         <item name="colorPrimaryTransparent">#00c86c11</item>
         <item name="colorAccent">#a0570d</item>
+        <item name="colorPrimaryDark">#a0570d</item>
         <item name="table_row_dark_bg">#fdf2e7</item>
         <item name="table_row_light_bg">#fefaf6</item>
     </style>
         <item name="colorPrimary">#c67a11</item>
         <item name="colorPrimaryTransparent">#00c67a11</item>
         <item name="colorAccent">#9e620d</item>
+        <item name="colorPrimaryDark">#9e620d</item>
         <item name="table_row_dark_bg">#fdf4e7</item>
         <item name="table_row_light_bg">#fefbf6</item>
     </style>
         <item name="colorPrimary">#c48810</item>
         <item name="colorPrimaryTransparent">#00c48810</item>
         <item name="colorAccent">#9d6d0d</item>
+        <item name="colorPrimaryDark">#9d6d0d</item>
         <item name="table_row_dark_bg">#fdf6e7</item>
         <item name="table_row_light_bg">#fefbf6</item>
     </style>
         <item name="colorPrimary">#c29610</item>
         <item name="colorPrimaryTransparent">#00c29610</item>
         <item name="colorAccent">#9b780d</item>
+        <item name="colorPrimaryDark">#9b780d</item>
         <item name="table_row_dark_bg">#fdf8e7</item>
         <item name="table_row_light_bg">#fefcf6</item>
     </style>
         <item name="colorPrimary">#c0a310</item>
         <item name="colorPrimaryTransparent">#00c0a310</item>
         <item name="colorAccent">#9a820d</item>
+        <item name="colorPrimaryDark">#9a820d</item>
         <item name="table_row_dark_bg">#fdf9e7</item>
         <item name="table_row_light_bg">#fefdf6</item>
     </style>
         <item name="colorPrimary">#beb010</item>
         <item name="colorPrimaryTransparent">#00beb010</item>
         <item name="colorAccent">#988d0d</item>
+        <item name="colorPrimaryDark">#988d0d</item>
         <item name="table_row_dark_bg">#fdfbe7</item>
         <item name="table_row_light_bg">#fefdf6</item>
     </style>
         <item name="colorPrimary">#bcbc10</item>
         <item name="colorPrimaryTransparent">#00bcbc10</item>
         <item name="colorAccent">#97970d</item>
+        <item name="colorPrimaryDark">#97970d</item>
         <item name="table_row_dark_bg">#fdfde7</item>
         <item name="table_row_light_bg">#fefef6</item>
     </style>
         <item name="colorPrimary">#aebc10</item>
         <item name="colorPrimaryTransparent">#00aebc10</item>
         <item name="colorAccent">#8b970d</item>
+        <item name="colorPrimaryDark">#8b970d</item>
         <item name="table_row_dark_bg">#fbfde7</item>
         <item name="table_row_light_bg">#fdfef6</item>
     </style>
         <item name="colorPrimary">#9fbc10</item>
         <item name="colorPrimaryTransparent">#009fbc10</item>
         <item name="colorAccent">#80970d</item>
+        <item name="colorPrimaryDark">#80970d</item>
         <item name="table_row_dark_bg">#f9fde7</item>
         <item name="table_row_light_bg">#fdfef6</item>
     </style>
         <item name="colorPrimary">#91bc10</item>
         <item name="colorPrimaryTransparent">#0091bc10</item>
         <item name="colorAccent">#74970d</item>
+        <item name="colorPrimaryDark">#74970d</item>
         <item name="table_row_dark_bg">#f8fde7</item>
         <item name="table_row_light_bg">#fcfef6</item>
     </style>
         <item name="colorPrimary">#83bc10</item>
         <item name="colorPrimaryTransparent">#0083bc10</item>
         <item name="colorAccent">#69970d</item>
+        <item name="colorPrimaryDark">#69970d</item>
         <item name="table_row_dark_bg">#f6fde7</item>
         <item name="table_row_light_bg">#fbfef6</item>
     </style>
         <item name="colorPrimary">#74bc10</item>
         <item name="colorPrimaryTransparent">#0074bc10</item>
         <item name="colorAccent">#5d970d</item>
+        <item name="colorPrimaryDark">#5d970d</item>
         <item name="table_row_dark_bg">#f4fde7</item>
         <item name="table_row_light_bg">#fbfef6</item>
     </style>
         <item name="colorPrimary">#66bc10</item>
         <item name="colorPrimaryTransparent">#0066bc10</item>
         <item name="colorAccent">#52970d</item>
+        <item name="colorPrimaryDark">#52970d</item>
         <item name="table_row_dark_bg">#f2fde7</item>
         <item name="table_row_light_bg">#fafef6</item>
     </style>
         <item name="colorPrimary">#58bc10</item>
         <item name="colorPrimaryTransparent">#0058bc10</item>
         <item name="colorAccent">#46970d</item>
+        <item name="colorPrimaryDark">#46970d</item>
         <item name="table_row_dark_bg">#f0fde7</item>
         <item name="table_row_light_bg">#f9fef6</item>
     </style>
         <item name="colorPrimary">#49bc10</item>
         <item name="colorPrimaryTransparent">#0049bc10</item>
         <item name="colorAccent">#3b970d</item>
+        <item name="colorPrimaryDark">#3b970d</item>
         <item name="table_row_dark_bg">#effde7</item>
         <item name="table_row_light_bg">#f8fef6</item>
     </style>
         <item name="colorPrimary">#3bbc10</item>
         <item name="colorPrimaryTransparent">#003bbc10</item>
         <item name="colorAccent">#2f970d</item>
+        <item name="colorPrimaryDark">#2f970d</item>
         <item name="table_row_dark_bg">#edfde7</item>
         <item name="table_row_light_bg">#f8fef6</item>
     </style>
         <item name="colorPrimary">#2dbc10</item>
         <item name="colorPrimaryTransparent">#002dbc10</item>
         <item name="colorAccent">#24970d</item>
+        <item name="colorPrimaryDark">#24970d</item>
         <item name="table_row_dark_bg">#ebfde7</item>
         <item name="table_row_light_bg">#f7fef6</item>
     </style>
         <item name="colorPrimary">#1ebc10</item>
         <item name="colorPrimaryTransparent">#001ebc10</item>
         <item name="colorAccent">#18970d</item>
+        <item name="colorPrimaryDark">#18970d</item>
         <item name="table_row_dark_bg">#e9fde7</item>
         <item name="table_row_light_bg">#f6fef6</item>
     </style>
         <item name="colorPrimary">#10bc10</item>
         <item name="colorPrimaryTransparent">#0010bc10</item>
         <item name="colorAccent">#0d970d</item>
+        <item name="colorPrimaryDark">#0d970d</item>
         <item name="table_row_dark_bg">#e7fde7</item>
         <item name="table_row_light_bg">#f6fef6</item>
     </style>
         <item name="colorPrimary">#10bc1e</item>
         <item name="colorPrimaryTransparent">#0010bc1e</item>
         <item name="colorAccent">#0d9718</item>
+        <item name="colorPrimaryDark">#0d9718</item>
         <item name="table_row_dark_bg">#e7fde9</item>
         <item name="table_row_light_bg">#f6fef6</item>
     </style>
         <item name="colorPrimary">#10bc2d</item>
         <item name="colorPrimaryTransparent">#0010bc2d</item>
         <item name="colorAccent">#0d9724</item>
+        <item name="colorPrimaryDark">#0d9724</item>
         <item name="table_row_dark_bg">#e7fdeb</item>
         <item name="table_row_light_bg">#f6fef7</item>
     </style>
         <item name="colorPrimary">#10bc3b</item>
         <item name="colorPrimaryTransparent">#0010bc3b</item>
         <item name="colorAccent">#0d972f</item>
+        <item name="colorPrimaryDark">#0d972f</item>
         <item name="table_row_dark_bg">#e7fded</item>
         <item name="table_row_light_bg">#f6fef8</item>
     </style>
         <item name="colorPrimary">#10bc49</item>
         <item name="colorPrimaryTransparent">#0010bc49</item>
         <item name="colorAccent">#0d973b</item>
+        <item name="colorPrimaryDark">#0d973b</item>
         <item name="table_row_dark_bg">#e7fdef</item>
         <item name="table_row_light_bg">#f6fef8</item>
     </style>
         <item name="colorPrimary">#10bc58</item>
         <item name="colorPrimaryTransparent">#0010bc58</item>
         <item name="colorAccent">#0d9746</item>
+        <item name="colorPrimaryDark">#0d9746</item>
         <item name="table_row_dark_bg">#e7fdf0</item>
         <item name="table_row_light_bg">#f6fef9</item>
     </style>
         <item name="colorPrimary">#10bc66</item>
         <item name="colorPrimaryTransparent">#0010bc66</item>
         <item name="colorAccent">#0d9752</item>
+        <item name="colorPrimaryDark">#0d9752</item>
         <item name="table_row_dark_bg">#e7fdf2</item>
         <item name="table_row_light_bg">#f6fefa</item>
     </style>
         <item name="colorPrimary">#10bc74</item>
         <item name="colorPrimaryTransparent">#0010bc74</item>
         <item name="colorAccent">#0d975d</item>
+        <item name="colorPrimaryDark">#0d975d</item>
         <item name="table_row_dark_bg">#e7fdf4</item>
         <item name="table_row_light_bg">#f6fefb</item>
     </style>
         <item name="colorPrimary">#10bc83</item>
         <item name="colorPrimaryTransparent">#0010bc83</item>
         <item name="colorAccent">#0d9769</item>
+        <item name="colorPrimaryDark">#0d9769</item>
         <item name="table_row_dark_bg">#e7fdf6</item>
         <item name="table_row_light_bg">#f6fefb</item>
     </style>
         <item name="colorPrimary">#10bc91</item>
         <item name="colorPrimaryTransparent">#0010bc91</item>
         <item name="colorAccent">#0d9774</item>
+        <item name="colorPrimaryDark">#0d9774</item>
         <item name="table_row_dark_bg">#e7fdf8</item>
         <item name="table_row_light_bg">#f6fefc</item>
     </style>
         <item name="colorPrimary">#10bc9f</item>
         <item name="colorPrimaryTransparent">#0010bc9f</item>
         <item name="colorAccent">#0d9780</item>
+        <item name="colorPrimaryDark">#0d9780</item>
         <item name="table_row_dark_bg">#e7fdf9</item>
         <item name="table_row_light_bg">#f6fefd</item>
     </style>
         <item name="colorPrimary">#10bcae</item>
         <item name="colorPrimaryTransparent">#0010bcae</item>
         <item name="colorAccent">#0d978b</item>
+        <item name="colorPrimaryDark">#0d978b</item>
         <item name="table_row_dark_bg">#e7fdfb</item>
         <item name="table_row_light_bg">#f6fefd</item>
     </style>
         <item name="colorPrimary">#10bcbc</item>
         <item name="colorPrimaryTransparent">#0010bcbc</item>
         <item name="colorAccent">#0d9797</item>
+        <item name="colorPrimaryDark">#0d9797</item>
         <item name="table_row_dark_bg">#e7fdfd</item>
         <item name="table_row_light_bg">#f6fefe</item>
     </style>
         <item name="colorPrimary">#11baca</item>
         <item name="colorPrimaryTransparent">#0011baca</item>
         <item name="colorAccent">#0e95a2</item>
+        <item name="colorPrimaryDark">#0e95a2</item>
         <item name="table_row_dark_bg">#e7fbfd</item>
         <item name="table_row_light_bg">#f6fdfe</item>
     </style>
         <item name="colorPrimary">#12b7d8</item>
         <item name="colorPrimaryTransparent">#0012b7d8</item>
         <item name="colorAccent">#0e92ad</item>
+        <item name="colorPrimaryDark">#0e92ad</item>
         <item name="table_row_dark_bg">#e7f9fd</item>
         <item name="table_row_light_bg">#f6fdfe</item>
     </style>
         <item name="colorPrimary">#13b1e5</item>
         <item name="colorPrimaryTransparent">#0013b1e5</item>
         <item name="colorAccent">#0f8db7</item>
+        <item name="colorPrimaryDark">#0f8db7</item>
         <item name="table_row_dark_bg">#e7f8fd</item>
         <item name="table_row_light_bg">#f6fcfe</item>
     </style>
         <item name="colorPrimary">#1ca6ec</item>
         <item name="colorPrimaryTransparent">#001ca6ec</item>
         <item name="colorAccent">#1087c2</item>
+        <item name="colorPrimaryDark">#1087c2</item>
         <item name="table_row_dark_bg">#e7f6fd</item>
         <item name="table_row_light_bg">#f6fbfe</item>
     </style>
         <item name="colorPrimary">#299bed</item>
         <item name="colorPrimaryTransparent">#00299bed</item>
         <item name="colorAccent">#117fcd</item>
+        <item name="colorPrimaryDark">#117fcd</item>
         <item name="table_row_dark_bg">#e7f4fd</item>
         <item name="table_row_light_bg">#f6fbfe</item>
     </style>
         <item name="colorPrimary">#3793ee</item>
         <item name="colorPrimaryTransparent">#003793ee</item>
         <item name="colorAccent">#1275d8</item>
+        <item name="colorPrimaryDark">#1275d8</item>
         <item name="table_row_dark_bg">#e7f2fd</item>
         <item name="table_row_light_bg">#f6fafe</item>
     </style>
         <item name="colorPrimary">#458cef</item>
         <item name="colorPrimaryTransparent">#00458cef</item>
         <item name="colorAccent">#136ae3</item>
+        <item name="colorPrimaryDark">#136ae3</item>
         <item name="table_row_dark_bg">#e7f0fd</item>
         <item name="table_row_light_bg">#f6f9fe</item>
     </style>
         <item name="colorPrimary">#5287f1</item>
         <item name="colorPrimaryTransparent">#005287f1</item>
         <item name="colorAccent">#175eec</item>
+        <item name="colorPrimaryDark">#175eec</item>
         <item name="table_row_dark_bg">#e7effd</item>
         <item name="table_row_light_bg">#f6f8fe</item>
     </style>
         <item name="colorPrimary">#6085f2</item>
         <item name="colorPrimaryTransparent">#006085f2</item>
         <item name="colorAccent">#2255ec</item>
+        <item name="colorPrimaryDark">#2255ec</item>
         <item name="table_row_dark_bg">#e7edfd</item>
         <item name="table_row_light_bg">#f6f8fe</item>
     </style>
         <item name="colorPrimary">#6e84f3</item>
         <item name="colorPrimaryTransparent">#006e84f3</item>
         <item name="colorAccent">#2d4ded</item>
+        <item name="colorPrimaryDark">#2d4ded</item>
         <item name="table_row_dark_bg">#e7ebfd</item>
         <item name="table_row_light_bg">#f6f7fe</item>
     </style>
         <item name="colorPrimary">#7c86f4</item>
         <item name="colorPrimaryTransparent">#007c86f4</item>
         <item name="colorAccent">#3847ee</item>
+        <item name="colorPrimaryDark">#3847ee</item>
         <item name="table_row_dark_bg">#e7e9fd</item>
         <item name="table_row_light_bg">#f6f6fe</item>
     </style>
         <item name="colorPrimary">#8989f5</item>
         <item name="colorPrimaryTransparent">#008989f5</item>
         <item name="colorAccent">#4343ef</item>
+        <item name="colorPrimaryDark">#4343ef</item>
         <item name="table_row_dark_bg">#e7e7fd</item>
         <item name="table_row_light_bg">#f6f6fe</item>
     </style>
         <item name="colorPrimary">#8980f4</item>
         <item name="colorPrimaryTransparent">#008980f4</item>
         <item name="colorAccent">#4a3bef</item>
+        <item name="colorPrimaryDark">#4a3bef</item>
         <item name="table_row_dark_bg">#e9e7fd</item>
         <item name="table_row_light_bg">#f6f6fe</item>
     </style>
         <item name="colorPrimary">#8b76f3</item>
         <item name="colorPrimaryTransparent">#008b76f3</item>
         <item name="colorAccent">#5233ee</item>
+        <item name="colorPrimaryDark">#5233ee</item>
         <item name="table_row_dark_bg">#ebe7fd</item>
         <item name="table_row_light_bg">#f7f6fe</item>
     </style>
         <item name="colorPrimary">#8e6cf3</item>
         <item name="colorPrimaryTransparent">#008e6cf3</item>
         <item name="colorAccent">#5c2bed</item>
+        <item name="colorPrimaryDark">#5c2bed</item>
         <item name="table_row_dark_bg">#ede7fd</item>
         <item name="table_row_light_bg">#f8f6fe</item>
     </style>
         <item name="colorPrimary">#9262f2</item>
         <item name="colorPrimaryTransparent">#009262f2</item>
         <item name="colorAccent">#6623ed</item>
+        <item name="colorPrimaryDark">#6623ed</item>
         <item name="table_row_dark_bg">#efe7fd</item>
         <item name="table_row_light_bg">#f8f6fe</item>
     </style>
         <item name="colorPrimary">#9858f1</item>
         <item name="colorPrimaryTransparent">#009858f1</item>
         <item name="colorAccent">#721cec</item>
+        <item name="colorPrimaryDark">#721cec</item>
         <item name="table_row_dark_bg">#f0e7fd</item>
         <item name="table_row_light_bg">#f9f6fe</item>
     </style>
         <item name="colorPrimary">#9f4ff0</item>
         <item name="colorPrimaryTransparent">#009f4ff0</item>
         <item name="colorAccent">#8014eb</item>
+        <item name="colorPrimaryDark">#8014eb</item>
         <item name="table_row_dark_bg">#f2e7fd</item>
         <item name="table_row_light_bg">#faf6fe</item>
     </style>
         <item name="colorPrimary">#a845ef</item>
         <item name="colorPrimaryTransparent">#00a845ef</item>
         <item name="colorAccent">#8d13e3</item>
+        <item name="colorPrimaryDark">#8d13e3</item>
         <item name="table_row_dark_bg">#f4e7fd</item>
         <item name="table_row_light_bg">#fbf6fe</item>
     </style>
         <item name="colorPrimary">#b33bef</item>
         <item name="colorPrimaryTransparent">#00b33bef</item>
         <item name="colorAccent">#9912dc</item>
+        <item name="colorPrimaryDark">#9912dc</item>
         <item name="table_row_dark_bg">#f6e7fd</item>
         <item name="table_row_light_bg">#fbf6fe</item>
     </style>
         <item name="colorPrimary">#bf31ee</item>
         <item name="colorPrimaryTransparent">#00bf31ee</item>
         <item name="colorAccent">#a312d4</item>
+        <item name="colorPrimaryDark">#a312d4</item>
         <item name="table_row_dark_bg">#f8e7fd</item>
         <item name="table_row_light_bg">#fcf6fe</item>
     </style>
         <item name="colorPrimary">#cc27ed</item>
         <item name="colorPrimaryTransparent">#00cc27ed</item>
         <item name="colorAccent">#ad11cc</item>
+        <item name="colorPrimaryDark">#ad11cc</item>
         <item name="table_row_dark_bg">#f9e7fd</item>
         <item name="table_row_light_bg">#fdf6fe</item>
     </style>
         <item name="colorPrimary">#db1eec</item>
         <item name="colorPrimaryTransparent">#00db1eec</item>
         <item name="colorAccent">#b510c4</item>
+        <item name="colorPrimaryDark">#b510c4</item>
         <item name="table_row_dark_bg">#fbe7fd</item>
         <item name="table_row_light_bg">#fdf6fe</item>
     </style>
         <item name="colorPrimary">#eb14eb</item>
         <item name="colorPrimaryTransparent">#00eb14eb</item>
         <item name="colorAccent">#bc10bc</item>
+        <item name="colorPrimaryDark">#bc10bc</item>
         <item name="table_row_dark_bg">#fde7fd</item>
         <item name="table_row_light_bg">#fef6fe</item>
     </style>
         <item name="colorPrimary">#e914d7</item>
         <item name="colorPrimaryTransparent">#00e914d7</item>
         <item name="colorAccent">#bb10ac</item>
+        <item name="colorPrimaryDark">#bb10ac</item>
         <item name="table_row_dark_bg">#fde7fb</item>
         <item name="table_row_light_bg">#fef6fd</item>
     </style>
         <item name="colorPrimary">#e713c4</item>
         <item name="colorPrimaryTransparent">#00e713c4</item>
         <item name="colorAccent">#b9109d</item>
+        <item name="colorPrimaryDark">#b9109d</item>
         <item name="table_row_dark_bg">#fde7f9</item>
         <item name="table_row_light_bg">#fef6fd</item>
     </style>
         <item name="colorPrimary">#e513b1</item>
         <item name="colorPrimaryTransparent">#00e513b1</item>
         <item name="colorAccent">#b70f8d</item>
+        <item name="colorPrimaryDark">#b70f8d</item>
         <item name="table_row_dark_bg">#fde7f8</item>
         <item name="table_row_light_bg">#fef6fc</item>
     </style>
         <item name="colorPrimary">#e3139e</item>
         <item name="colorPrimaryTransparent">#00e3139e</item>
         <item name="colorAccent">#b60f7e</item>
+        <item name="colorPrimaryDark">#b60f7e</item>
         <item name="table_row_dark_bg">#fde7f6</item>
         <item name="table_row_light_bg">#fef6fb</item>
     </style>
         <item name="colorPrimary">#e1138b</item>
         <item name="colorPrimaryTransparent">#00e1138b</item>
         <item name="colorAccent">#b40f70</item>
+        <item name="colorPrimaryDark">#b40f70</item>
         <item name="table_row_dark_bg">#fde7f4</item>
         <item name="table_row_light_bg">#fef6fb</item>
     </style>
         <item name="colorPrimary">#df1379</item>
         <item name="colorPrimaryTransparent">#00df1379</item>
         <item name="colorAccent">#b30f61</item>
+        <item name="colorPrimaryDark">#b30f61</item>
         <item name="table_row_dark_bg">#fde7f2</item>
         <item name="table_row_light_bg">#fef6fa</item>
     </style>
         <item name="colorPrimary">#de1367</item>
         <item name="colorPrimaryTransparent">#00de1367</item>
         <item name="colorAccent">#b10f53</item>
+        <item name="colorPrimaryDark">#b10f53</item>
         <item name="table_row_dark_bg">#fde7f0</item>
         <item name="table_row_light_bg">#fef6f9</item>
     </style>
         <item name="colorPrimary">#dc1255</item>
         <item name="colorPrimaryTransparent">#00dc1255</item>
         <item name="colorAccent">#b00f44</item>
+        <item name="colorPrimaryDark">#b00f44</item>
         <item name="table_row_dark_bg">#fde7ef</item>
         <item name="table_row_light_bg">#fef6f8</item>
     </style>
         <item name="colorPrimary">#da1244</item>
         <item name="colorPrimaryTransparent">#00da1244</item>
         <item name="colorAccent">#ae0f36</item>
+        <item name="colorPrimaryDark">#ae0f36</item>
         <item name="table_row_dark_bg">#fde7ed</item>
         <item name="table_row_light_bg">#fef6f8</item>
     </style>
         <item name="colorPrimary">#d81233</item>
         <item name="colorPrimaryTransparent">#00d81233</item>
         <item name="colorAccent">#ad0e29</item>
+        <item name="colorPrimaryDark">#ad0e29</item>
         <item name="table_row_dark_bg">#fde7eb</item>
         <item name="table_row_light_bg">#fef6f7</item>
     </style>
         <item name="colorPrimary">#d61222</item>
         <item name="colorPrimaryTransparent">#00d61222</item>
         <item name="colorAccent">#ab0e1b</item>
+        <item name="colorPrimaryDark">#ab0e1b</item>
         <item name="table_row_dark_bg">#fde7e9</item>
         <item name="table_row_light_bg">#fef6f6</item>
     </style>
index 0b8759c..73e2367 100644 (file)
@@ -209,9 +209,9 @@ sub hslStyleForHue {
         else {
                 $result .= sprintf "$baseIndent<style name=\"%s\">\n",
                         $baseTheme;
-                $result .= "$indent<item name=\"windowActionBar\">false</item>\n";
-                $result .= "$indent<item name=\"windowNoTitle\">true</item>\n";
-                $result .= "$indent<item name=\"textColor\">#757575</item>\n";
+#                $result .= "$indent<item name=\"windowActionBar\">false</item>\n";
+#                $result .= "$indent<item name=\"windowNoTitle\">true</item>\n";
+#                $result .= "$indent<item name=\"textColor\">#757575</item>\n";
         }
         my $S = 0.845;
         $result .= sprintf "$indent<item name=\"colorPrimary\">#%s</item>\n",
@@ -220,6 +220,8 @@ sub hslStyleForHue {
                 hslHex($hue, $S, $l1);
         $result .= sprintf "$indent<item name=\"colorAccent\">#%s</item>\n",
                 hslHex($hue, $S, $l2);
+        $result .= sprintf "$indent<item name=\"colorPrimaryDark\">#%s</item>\n",
+                hslHex($hue, $S, $l2);
         $result .= sprintf "$indent<item name=\"table_row_dark_bg\">#%s</item>\n",
                 hslHex($hue, $S, $l3);
         $result .= sprintf "$indent<item name=\"table_row_light_bg\">#%s</item>\n",