forked from distok/cutthecord
171 lines
2.9 KiB
Markdown
171 lines
2.9 KiB
Markdown
## DisTok CutTheCord: Custom Theme Patch
|
|
|
|
This patch replaces theme with a pitch black theme, similar to [0cord](https://gitlab.com/ao/0cord). However, you're free to design your own theme. A reference for the values you need are provided below.
|
|
|
|
Run `fixsplash.sh <full path of asset_loading.png>` to fix the splash.
|
|
|
|
Self note: Top bar color is set by `setStatusBarColorResourceId`
|
|
|
|
#### Bugs / Side effects
|
|
- Not all colors are replaced (almost all are, though)
|
|
- Status bar color is only changed on chat view (not on settings etc)
|
|
|
|
#### Available and tested on:
|
|
- 8.3.2
|
|
- 8.3.3
|
|
- 8.3.4g
|
|
- 8.3.5g
|
|
- 8.3.6g
|
|
- 8.3.9g
|
|
- 8.4.1g
|
|
- 8.4.2g
|
|
- 8.4.3g
|
|
- 8.4.4g
|
|
- 8.4.5g
|
|
- 8.4.8
|
|
- 8.5.0
|
|
- 8.5.1
|
|
- 8.5.3
|
|
- 8.5.4
|
|
- 8.5.5
|
|
- 8.5.6
|
|
- 8.7.6
|
|
- 8.8.4
|
|
- 8.8.8
|
|
- 8.9.6
|
|
- 8.9.7
|
|
- 8.9.8
|
|
- 8.9.9
|
|
- 9.0.0
|
|
- 9.0.1
|
|
- 9.0.2
|
|
- 9.0.3
|
|
- 9.0.4
|
|
- 9.0.6
|
|
- 9.0.9
|
|
- 9.1.0
|
|
- 9.3.8-SAO-Heathcliff
|
|
- 9.3.9
|
|
- 9.4.0
|
|
- 9.4.2-SA
|
|
- 9.4.3-SA
|
|
- 9.4.5
|
|
- 9.4.6
|
|
- 9.4.7
|
|
- 9.4.8
|
|
- 9.6.3
|
|
- 9.6.4
|
|
- 9.6.5
|
|
- 9.6.6
|
|
- 9.6.7
|
|
- 9.6.8
|
|
- 9.7.0
|
|
- 9.8.0
|
|
- 9.8.4
|
|
- 9.8.6
|
|
- 9.9.1
|
|
- 9.9.2
|
|
- 9.9.3
|
|
- 9.9.4
|
|
- 9.9.6
|
|
- 10.0.6
|
|
- 10.0.7
|
|
- 10.1.1
|
|
- 10.1.2
|
|
- 10.1.3
|
|
- 10.1.5
|
|
- 10.1.6
|
|
- 10.1.9
|
|
- 10.2.0
|
|
- 10.2.1
|
|
- 10.2.2
|
|
- 10.2.3
|
|
- 10.2.4
|
|
- 10.2.5
|
|
- 10.2.6
|
|
- 10.2.9
|
|
- 10.3.1
|
|
- 10.3.2
|
|
- 10.3.3
|
|
- 10.4.0
|
|
- 10.4.1
|
|
- 10.5.1
|
|
- 11.0
|
|
- 11.4
|
|
- 11.5
|
|
- 12.0-alpha1
|
|
- 11.7
|
|
- 12.1
|
|
- 12.2
|
|
- 12.3
|
|
- 13-alpha1
|
|
- 12.5
|
|
- 14-alpha2
|
|
- 14-alpha3
|
|
- 14.0
|
|
- 15-alpha3
|
|
- 15.0
|
|
- 16
|
|
- 17.0
|
|
- 18.0-alpha1
|
|
- 18.0-alpha9
|
|
- 18.0-alpha11
|
|
- 18.0-alpha12
|
|
- 19.0
|
|
- 20-alpha1
|
|
- 21-alpha2-alpha1
|
|
- 16
|
|
- 17.0
|
|
- 18.0-alpha1
|
|
- 18.0-alpha9
|
|
- 18.0-alpha11
|
|
- 18.0-alpha12
|
|
- 19.0
|
|
- 20-alpha1
|
|
- 21-alpha2-alpha4
|
|
- 16
|
|
- 17.0
|
|
- 18.0-alpha1
|
|
- 18.0-alpha9
|
|
- 18.0-alpha11
|
|
- 18.0-alpha12
|
|
- 19.0
|
|
- 20-alpha1
|
|
- 21-alpha2-alpha6
|
|
- 16
|
|
- 17.0
|
|
- 18.0-alpha1
|
|
- 18.0-alpha9
|
|
- 18.0-alpha11
|
|
- 18.0-alpha12
|
|
- 19.0
|
|
- 20-alpha1
|
|
- 21-alpha2-alpha7
|
|
- 16
|
|
- 17.0
|
|
- 18.0-alpha1
|
|
- 18.0-alpha9
|
|
- 18.0-alpha11
|
|
- 18.0-alpha12
|
|
- 19.0
|
|
- 20-alpha1
|
|
- 21-alpha2
|
|
|
|
#### Value reference
|
|
|
|
These are mostly outdated.
|
|
|
|
- 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_500_alpha_60 -> Used for muted channels
|
|
- primary_600 -> chat background, also used by cutthecord for status bar
|
|
- 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, bot icon, mentions
|
|
- 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)
|
|
|