summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-05-24 13:49:57 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-05-24 13:50:27 -0700
commita6afdffbbd261e54a5eaeb7bc2d6a5a0d1b5f91a (patch)
tree7da8e90a94d15ad348d036e02b43f88b42d0a4c4 /res
parentdb28a992a9eb52f02f565f0185d4a30ee8fed24e (diff)
downloadpackages_apps_Trebuchet-a6afdffbbd261e54a5eaeb7bc2d6a5a0d1b5f91a.tar.gz
packages_apps_Trebuchet-a6afdffbbd261e54a5eaeb7bc2d6a5a0d1b5f91a.tar.bz2
packages_apps_Trebuchet-a6afdffbbd261e54a5eaeb7bc2d6a5a0d1b5f91a.zip
Adding support for dark text on dark theme
Bug: 80253867 Change-Id: Ib81a2fe884f68cd2dd4af1e573bd8c836f374f16
Diffstat (limited to 'res')
-rw-r--r--res/values/styles.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 631626f44..2b760f349 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -45,7 +45,7 @@
<style name="LauncherTheme" parent="@style/BaseLauncherThemeWithCustomAttrs"></style>
- <style name="LauncherThemeDarkText" parent="@style/LauncherTheme">
+ <style name="LauncherTheme.DarkText" parent="@style/LauncherTheme">
<item name="workspaceTextColor">#FF212121</item>
<item name="workspaceShadowColor">@android:color/transparent</item>
<item name="workspaceAmbientShadowColor">@android:color/transparent</item>
@@ -70,6 +70,15 @@
<item name="isMainColorDark">true</item>
</style>
+ <style name="LauncherThemeDark.DarKText" parent="@style/LauncherThemeDark">
+ <item name="workspaceTextColor">#FF212121</item>
+ <item name="workspaceShadowColor">@android:color/transparent</item>
+ <item name="workspaceAmbientShadowColor">@android:color/transparent</item>
+ <item name="workspaceKeyShadowColor">@android:color/transparent</item>
+ <item name="isWorkspaceDarkText">true</item>
+ <item name="workspaceStatusBarScrim">@null</item>
+ </style>
+
<!--
Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper.
Various foreground colors are overridden to be workspaceTextColor so that they are properly