From 3dbda3be81d457cec6afb8f4eec6e8afe9a5bc2b Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Sun, 20 Jan 2019 01:33:40 +0300 Subject: [PATCH] Add theme patches --- README.md | 2 +- patches/theme/832.diff | 134 ++++++++++++++++++++++++++++++++++++++++ patches/theme/README.md | 25 ++++++++ 3 files changed, 160 insertions(+), 1 deletion(-) create mode 100644 patches/theme/832.diff create mode 100644 patches/theme/README.md diff --git a/README.md b/README.md index 2f425f3b97..766773c4a0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/patches/theme/832.diff b/patches/theme/832.diff new file mode 100644 index 0000000000..4aee8052ef --- /dev/null +++ b/patches/theme/832.diff @@ -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 **** + #1f000000 + #90000000 + #de000000 +! #ff36393e +! #ff303337 + #14000000 + #ff3f51b5 + #ff303f9f +--- 61,68 ---- + #1f000000 + #90000000 + #de000000 +! #ff000000 +! #ff000000 + #14000000 + #ff3f51b5 + #ff303f9f +*************** +*** 98,106 **** + #0d4f545c + #4d4f545c + #994f545c +! #ff282b30 +! #ff2e3136 +! #ff1e2124 + #ff8a8e94 + #6680cbc4 + #66009688 +--- 98,106 ---- + #0d4f545c + #4d4f545c + #994f545c +! #ff000000 +! #ff000000 +! #ff000000 + #ff8a8e94 + #6680cbc4 + #66009688 +*************** +*** 109,123 **** + #ff45ddc0 + #ff93a5af + #ff021f25 +! #fff2fbfe +! #ffcceffd +! #ff99dffb +! #ff33c0f6 +! #ff00b0f4 +! #ff0078a6 +! #ff004662 +! #ff003549 +! #ff00090c + #ff37474f + #ff263238 + #ff21272b +--- 109,123 ---- + #ff45ddc0 + #ff93a5af + #ff021f25 +! #ff8cf687 +! #ff7df577 +! #ff6ef368 +! #ff5ff258 +! #ff50f148 +! #ff41f038 +! #ff32ef28 +! #ff23ed19 +! #ff1be411 + #ff37474f + #ff263238 + #ff21272b +*************** +*** 159,176 **** + #4d7d8187 + #997d8187 + #e67d8187 +! #ff4f545c +! #4d4f545c +! #994f545c +! #e64f545c +! #ff36393f +! #4d36393f +! #9936393f +! #e636393f +! #ff2f3136 +! #4d2f3136 +! #992f3136 +! #e62f3136 + #ff202225 + #4d202225 + #99202225 +--- 159,176 ---- + #4d7d8187 + #997d8187 + #e67d8187 +! #ff0f0f0f +! #4d0f0f0f +! #990f0f0f +! #e60f0f0f +! #ff000000 +! #4d000000 +! #99000000 +! #e6000000 +! #ff000000 +! #4d000000 +! #99000000 +! #e6000000 + #ff202225 + #4d202225 + #99202225 +*************** +*** 191,198 **** + #de000000 + #4dffffff + #39000000 +! #ff738bd7 +! #1a738bd7 + #ff697ec4 + #ffc9d2f0 + #ff5161ff +--- 191,198 ---- + #de000000 + #4dffffff + #39000000 +! #ff0f0f0f +! #1a0f0f0f + #ff697ec4 + #ffc9d2f0 + #ff5161ff diff --git a/patches/theme/README.md b/patches/theme/README.md new file mode 100644 index 0000000000..52da7b2356 --- /dev/null +++ b/patches/theme/README.md @@ -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) +