diff options
author | Allan Wang <me@allanwang.ca> | 2021-01-12 23:57:16 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-01-12 23:57:16 -0800 |
commit | 31dc27d568d40d37cccb09e31c8a8c8b9cf8f897 (patch) | |
tree | eb54cb834a419167e6e25b9d3702d36fd5594515 /app/src/main | |
parent | 5aec10ce0fe191d78399869074c7e118256848ea (diff) | |
download | frost-31dc27d568d40d37cccb09e31c8a8c8b9cf8f897.tar.gz frost-31dc27d568d40d37cccb09e31c8a8c8b9cf8f897.tar.bz2 frost-31dc27d568d40d37cccb09e31c8a8c8b9cf8f897.zip |
Update messenger theme
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/injectors/ThemeProvider.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/ThemeProvider.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/ThemeProvider.kt index 666a6bc5..142a69e7 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/ThemeProvider.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/ThemeProvider.kt @@ -105,6 +105,7 @@ class ThemeProvider(private val context: Context, private val prefs: Prefs) { content = content .replace("\$T\$", textColor.toRgbaString()) .replace("\$TT\$", textColor.colorToBackground(0.05f).toRgbaString()) + .replace("\$TD\$", textColor.adjustAlpha(0.6f).toRgbaString()) .replace("\$A\$", accentColor.toRgbaString()) .replace("\$AT\$", iconColor.toRgbaString()) .replace("\$B\$", bgColor.toRgbaString()) |