forked from distok/cutthecord
Ave Ozkal
c8c7520853
Had to rewrite spoilerimg related parts of supplemental as they moved okhttp3 code to discord's own codebase. However, one benefit of this for us is that it now shows SPOILER_ while you're uploading too.
86 lines
2 KiB
Markdown
86 lines
2 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
|
|
|
|
#### 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)
|
|
|