customtheme: Fix muted channel names being very hard to see

This commit is contained in:
ave 2019-10-08 02:37:34 +03:00
parent 10ea5a53c5
commit 9f5058ed0c
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
2 changed files with 6 additions and 8 deletions

View file

@ -1,6 +1,8 @@
Only in com.discord-968: build
Only in com.discord-968: dist
diff -crB com.discord-968-base/res/values/colors.xml com.discord-968/res/values/colors.xml
*** com.discord-968-base/res/values/colors.xml 2019-10-08 02:17:17.500407428 +0300
--- com.discord-968/res/values/colors.xml 2019-10-08 02:25:54.986989532 +0300
--- com.discord-968/res/values/colors.xml 2019-10-08 02:36:50.527287192 +0300
***************
*** 50,56 ****
<color name="cardview_shadow_start_color">#37000000</color>
@ -117,7 +119,7 @@ diff -crB com.discord-968-base/res/values/colors.xml com.discord-968/res/values/
<color name="primary_400_alpha_60">#9972767d</color>
! <color name="primary_500">#ff0f0f0f</color>
! <color name="primary_500_alpha_30">#4d0f0f0f</color>
! <color name="primary_500_alpha_60">#990f0f0f</color>
! <color name="primary_500_alpha_60">#99404040</color>
<color name="primary_560">#ff40444b</color>
! <color name="primary_600">#ff000000</color>
! <color name="primary_600_alpha_60">#99000000</color>
@ -168,10 +170,9 @@ diff -crB com.discord-968-base/res/values/colors.xml com.discord-968/res/values/
<color name="tooltip_background_light">#e6ffffff</color>
<color name="transparent">@android:color/transparent</color>
<color name="twitch">#ff593695</color>
Only in com.discord-968/res/values: colors.xml.orig
diff -crB com.discord-968-base/res/values/styles.xml com.discord-968/res/values/styles.xml
*** com.discord-968-base/res/values/styles.xml 2019-10-08 02:17:17.290406231 +0300
--- com.discord-968/res/values/styles.xml 2019-10-08 02:25:54.986989532 +0300
--- com.discord-968/res/values/styles.xml 2019-10-08 02:26:41.200587211 +0300
***************
*** 114,120 ****
<item name="colorPrimary">@color/primary_600</item>
@ -269,7 +270,7 @@ diff -crB com.discord-968-base/res/values/styles.xml com.discord-968/res/values/
<item name="buttonBarPositiveButtonStyle">@style/UiKit.Button.Red.Fit</item>
diff -crB com.discord-968-base/smali/com/discord/app/AppActivity$d.smali com.discord-968/smali/com/discord/app/AppActivity$d.smali
*** com.discord-968-base/smali/com/discord/app/AppActivity$d.smali 2019-10-08 02:17:18.620413812 +0300
--- com.discord-968/smali/com/discord/app/AppActivity$d.smali 2019-10-08 02:26:12.777091368 +0300
--- com.discord-968/smali/com/discord/app/AppActivity$d.smali 2019-10-08 02:26:41.200587211 +0300
***************
*** 113,119 ****
@ -287,6 +288,4 @@ diff -crB com.discord-968-base/smali/com/discord/app/AppActivity$d.smali com.dis
invoke-static {v0, v1}, Lcom/discord/utilities/color/ColorCompat;->setStatusBarColorResourceId(Landroid/app/Activity;I)V
Only in com.discord-968/smali/com/discord/app: AppActivity$d.smali.orig
Only in com.discord-968/smali/com/discord/app: AppActivity$d.smali.rej

View file

@ -8,7 +8,6 @@ Self note: Top bar color is set by `setStatusBarColorResourceId`
#### Bugs / Side effects
- Not all colors are replaced (almost all are, though)
- Muted channel names aren't visible
- Status bar color is only changed on chat view (not on settings etc)
#### Available and tested on: