forked from distok/cutthecord
Add theme patches
This commit is contained in:
parent
ea1dbd646f
commit
3dbda3be81
3 changed files with 160 additions and 1 deletions
|
@ -26,7 +26,7 @@ Automatically patched binaries are available on [distok.a3.pm/cutthecord](https:
|
|||
|
||||
## Building patches
|
||||
|
||||
`diff -crB -x "dist" -x "res" -x "build" CleanFolder PatchedFolder > patchname.patch`
|
||||
`diff -crB -x "dist" -x "res/raw" -x "build" CleanFolder PatchedFolder > patchname.patch`
|
||||
|
||||
## Disclaimer about emojos
|
||||
|
||||
|
|
134
patches/theme/832.diff
Normal file
134
patches/theme/832.diff
Normal file
|
@ -0,0 +1,134 @@
|
|||
diff -crB -x dist -x build com.discord-832-base/res/values/colors.xml com.discord-832/res/values/colors.xml
|
||||
*** com.discord-832-base/res/values/colors.xml 2019-01-19 04:41:50.669762506 +0300
|
||||
--- com.discord-832/res/values/colors.xml 2019-01-20 01:29:57.358553097 +0300
|
||||
***************
|
||||
*** 61,68 ****
|
||||
<color name="common_google_signin_btn_text_light_disabled">#1f000000</color>
|
||||
<color name="common_google_signin_btn_text_light_focused">#90000000</color>
|
||||
<color name="common_google_signin_btn_text_light_pressed">#de000000</color>
|
||||
! <color name="dark_grey_2">#ff36393e</color>
|
||||
! <color name="dark_grey_2_alpha_10">#ff303337</color>
|
||||
<color name="design_bottom_navigation_shadow_color">#14000000</color>
|
||||
<color name="design_default_color_primary">#ff3f51b5</color>
|
||||
<color name="design_default_color_primary_dark">#ff303f9f</color>
|
||||
--- 61,68 ----
|
||||
<color name="common_google_signin_btn_text_light_disabled">#1f000000</color>
|
||||
<color name="common_google_signin_btn_text_light_focused">#90000000</color>
|
||||
<color name="common_google_signin_btn_text_light_pressed">#de000000</color>
|
||||
! <color name="dark_grey_2">#ff000000</color>
|
||||
! <color name="dark_grey_2_alpha_10">#ff000000</color>
|
||||
<color name="design_bottom_navigation_shadow_color">#14000000</color>
|
||||
<color name="design_default_color_primary">#ff3f51b5</color>
|
||||
<color name="design_default_color_primary_dark">#ff303f9f</color>
|
||||
***************
|
||||
*** 98,106 ****
|
||||
<color name="grey_6_alpha_05">#0d4f545c</color>
|
||||
<color name="grey_6_alpha_30">#4d4f545c</color>
|
||||
<color name="grey_6_alpha_60">#994f545c</color>
|
||||
! <color name="grey_account">#ff282b30</color>
|
||||
! <color name="grey_channels">#ff2e3136</color>
|
||||
! <color name="grey_guilds">#ff1e2124</color>
|
||||
<color name="grey_unread">#ff8a8e94</color>
|
||||
<color name="highlighted_text_material_dark">#6680cbc4</color>
|
||||
<color name="highlighted_text_material_light">#66009688</color>
|
||||
--- 98,106 ----
|
||||
<color name="grey_6_alpha_05">#0d4f545c</color>
|
||||
<color name="grey_6_alpha_30">#4d4f545c</color>
|
||||
<color name="grey_6_alpha_60">#994f545c</color>
|
||||
! <color name="grey_account">#ff000000</color>
|
||||
! <color name="grey_channels">#ff000000</color>
|
||||
! <color name="grey_guilds">#ff000000</color>
|
||||
<color name="grey_unread">#ff8a8e94</color>
|
||||
<color name="highlighted_text_material_dark">#6680cbc4</color>
|
||||
<color name="highlighted_text_material_light">#66009688</color>
|
||||
***************
|
||||
*** 109,123 ****
|
||||
<color name="hypesquad_house3">#ff45ddc0</color>
|
||||
<color name="icon_color_light">#ff93a5af</color>
|
||||
<color name="league_of_legends">#ff021f25</color>
|
||||
! <color name="link_100">#fff2fbfe</color>
|
||||
! <color name="link_200">#ffcceffd</color>
|
||||
! <color name="link_300">#ff99dffb</color>
|
||||
! <color name="link_400">#ff33c0f6</color>
|
||||
! <color name="link_500">#ff00b0f4</color>
|
||||
! <color name="link_600">#ff0078a6</color>
|
||||
! <color name="link_700">#ff004662</color>
|
||||
! <color name="link_800">#ff003549</color>
|
||||
! <color name="link_900">#ff00090c</color>
|
||||
<color name="material_blue_grey_800">#ff37474f</color>
|
||||
<color name="material_blue_grey_900">#ff263238</color>
|
||||
<color name="material_blue_grey_950">#ff21272b</color>
|
||||
--- 109,123 ----
|
||||
<color name="hypesquad_house3">#ff45ddc0</color>
|
||||
<color name="icon_color_light">#ff93a5af</color>
|
||||
<color name="league_of_legends">#ff021f25</color>
|
||||
! <color name="link_100">#ff8cf687</color>
|
||||
! <color name="link_200">#ff7df577</color>
|
||||
! <color name="link_300">#ff6ef368</color>
|
||||
! <color name="link_400">#ff5ff258</color>
|
||||
! <color name="link_500">#ff50f148</color>
|
||||
! <color name="link_600">#ff41f038</color>
|
||||
! <color name="link_700">#ff32ef28</color>
|
||||
! <color name="link_800">#ff23ed19</color>
|
||||
! <color name="link_900">#ff1be411</color>
|
||||
<color name="material_blue_grey_800">#ff37474f</color>
|
||||
<color name="material_blue_grey_900">#ff263238</color>
|
||||
<color name="material_blue_grey_950">#ff21272b</color>
|
||||
***************
|
||||
*** 159,176 ****
|
||||
<color name="primary_400_alpha_30">#4d7d8187</color>
|
||||
<color name="primary_400_alpha_60">#997d8187</color>
|
||||
<color name="primary_400_alpha_90">#e67d8187</color>
|
||||
! <color name="primary_500">#ff4f545c</color>
|
||||
! <color name="primary_500_alpha_30">#4d4f545c</color>
|
||||
! <color name="primary_500_alpha_60">#994f545c</color>
|
||||
! <color name="primary_500_alpha_90">#e64f545c</color>
|
||||
! <color name="primary_600">#ff36393f</color>
|
||||
! <color name="primary_600_alpha_30">#4d36393f</color>
|
||||
! <color name="primary_600_alpha_60">#9936393f</color>
|
||||
! <color name="primary_600_alpha_90">#e636393f</color>
|
||||
! <color name="primary_630">#ff2f3136</color>
|
||||
! <color name="primary_630_alpha_30">#4d2f3136</color>
|
||||
! <color name="primary_630_alpha_60">#992f3136</color>
|
||||
! <color name="primary_630_alpha_90">#e62f3136</color>
|
||||
<color name="primary_700">#ff202225</color>
|
||||
<color name="primary_700_alpha_30">#4d202225</color>
|
||||
<color name="primary_700_alpha_60">#99202225</color>
|
||||
--- 159,176 ----
|
||||
<color name="primary_400_alpha_30">#4d7d8187</color>
|
||||
<color name="primary_400_alpha_60">#997d8187</color>
|
||||
<color name="primary_400_alpha_90">#e67d8187</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_90">#e60f0f0f</color>
|
||||
! <color name="primary_600">#ff000000</color>
|
||||
! <color name="primary_600_alpha_30">#4d000000</color>
|
||||
! <color name="primary_600_alpha_60">#99000000</color>
|
||||
! <color name="primary_600_alpha_90">#e6000000</color>
|
||||
! <color name="primary_630">#ff000000</color>
|
||||
! <color name="primary_630_alpha_30">#4d000000</color>
|
||||
! <color name="primary_630_alpha_60">#99000000</color>
|
||||
! <color name="primary_630_alpha_90">#e6000000</color>
|
||||
<color name="primary_700">#ff202225</color>
|
||||
<color name="primary_700_alpha_30">#4d202225</color>
|
||||
<color name="primary_700_alpha_60">#99202225</color>
|
||||
***************
|
||||
*** 191,198 ****
|
||||
<color name="primary_text_default_material_light">#de000000</color>
|
||||
<color name="primary_text_disabled_material_dark">#4dffffff</color>
|
||||
<color name="primary_text_disabled_material_light">#39000000</color>
|
||||
! <color name="purple_brand">#ff738bd7</color>
|
||||
! <color name="purple_brand_alpha_10">#1a738bd7</color>
|
||||
<color name="purple_brand_dark">#ff697ec4</color>
|
||||
<color name="purple_brand_hint">#ffc9d2f0</color>
|
||||
<color name="purple_brand_notification">#ff5161ff</color>
|
||||
--- 191,198 ----
|
||||
<color name="primary_text_default_material_light">#de000000</color>
|
||||
<color name="primary_text_disabled_material_dark">#4dffffff</color>
|
||||
<color name="primary_text_disabled_material_light">#39000000</color>
|
||||
! <color name="purple_brand">#ff0f0f0f</color>
|
||||
! <color name="purple_brand_alpha_10">#1a0f0f0f</color>
|
||||
<color name="purple_brand_dark">#ff697ec4</color>
|
||||
<color name="purple_brand_hint">#ffc9d2f0</color>
|
||||
<color name="purple_brand_notification">#ff5161ff</color>
|
25
patches/theme/README.md
Normal file
25
patches/theme/README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
## DisTok CutTheCord: Theme Patch
|
||||
|
||||
This patch replaces theme with a black theme. However, you're free to design your own theme. A reference for the values you need are provided below.
|
||||
|
||||
#### Bugs / Side effects
|
||||
- Not all colors are replaced
|
||||
|
||||
#### Available and tested on:
|
||||
- 8.3.2
|
||||
|
||||
#### Value reference
|
||||
|
||||
- primary_100 -> button/title color (Friends, User Settings, your name on bottom on sidebar, channel name)
|
||||
- primary_300 -> entry color (names on direct messages), also used on dtag on small user profile
|
||||
- primary_400 -> label color (Direct Messages, "online", your discrim on bottom of sidebar, note field, @/# on channel name bar)
|
||||
- primary_500 -> "Create Instant Invite"
|
||||
- primary_600 -> char background
|
||||
- primary_630 -> sidebar color, bottom bar color (not chat), small user profile bg color, secondary color on many menus like settings
|
||||
- grey_guilds -> guild bar
|
||||
- purple_brand -> blurple, used for things like bottom circle button for message on someone's profile
|
||||
- dark_grey_2 -> bottom chat bar
|
||||
- grey_account -> user sidebar background (user list)
|
||||
- grey_channels -> user sidebar background (channel information)
|
||||
- link_100-900 -> Link colors (pick a color, put to 500, fill in rest with 0to255.com)
|
||||
|
Loading…
Reference in a new issue