cutthecord/patches/customtheme/README.md
2020-01-11 15:51:19 +00:00

96 lines
2.1 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
#### 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_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)