From 289f3d4a41968b28dcd47070ea59392bcc9f7216 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Thu, 11 Aug 2022 12:05:18 +0200 Subject: [PATCH] =?UTF-8?q?Switch=20discord=20theme=20to=20https://github.?= =?UTF-8?q?com/Dyzean/Tokyo-Night=20which=20gets=20maintained=20by=20someo?= =?UTF-8?q?ne=20else=20=F0=9F=91=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{Nocturnal.theme.css => OLD-theme.css} | 0 .../themes/tokyo-night.theme.css | 136 ++++++++++++++++++ README.md | 10 +- 3 files changed, 139 insertions(+), 7 deletions(-) rename .config/BetterDiscord/themes/{Nocturnal.theme.css => OLD-theme.css} (100%) create mode 100644 .config/BetterDiscord/themes/tokyo-night.theme.css diff --git a/.config/BetterDiscord/themes/Nocturnal.theme.css b/.config/BetterDiscord/themes/OLD-theme.css similarity index 100% rename from .config/BetterDiscord/themes/Nocturnal.theme.css rename to .config/BetterDiscord/themes/OLD-theme.css diff --git a/.config/BetterDiscord/themes/tokyo-night.theme.css b/.config/BetterDiscord/themes/tokyo-night.theme.css new file mode 100644 index 0000000..91ac575 --- /dev/null +++ b/.config/BetterDiscord/themes/tokyo-night.theme.css @@ -0,0 +1,136 @@ +/** + * @name Tokyo Night + * @description Discord Port of Visual Studio Code Theme + * @author Ashtrath + * @version 1.0.0 + * @authorId 2354831939099688962 + */ + +/* DONT TOUCH THIS!!! */ +@import url("https://dyzean.github.io/Tokyo-Night/main.css"); + +/* Read this before editing stuff!!! +* +* > To comment or uncomment a line you need to put those "/" and "*" characters as you can see at the beginning and ending of my comments. +* (You don't need to put a * at each line like I do, it's just for readability). See more here : https://developer.mozilla.org/en-US/docs/Web/CSS/Comments +* +* > You can play with the values and see how it goes, don't delete "px" after the value if you don't have knowledges in CSS. +* +* > To change the colors, replace the HEX code with the one you picked here : https://htmlcolorcodes.com +*/ + +/* Optional Addons */ +@import url("https://goose-nest.github.io/GT-RevertRebrand/RevertRebrand.theme.css"); +@import url("https://nyri4.github.io/Discolored/main.css"); + +/* Mac Titlebar, Delete the line below if you want the normal titlebar */ +.withFrame-haYltI { margin: 0; height: 24px; } .typeWindows-1za-n7 { flex-direction: row; margin-left: 3px !important; } .withFrame-haYltI .winButton-iRh8-Z > svg { display: none; } .withFrame-haYltI .winButton-iRh8-Z:hover { background-color: var(--background-teritary); } .withFrame-haYltI .winButton-iRh8-Z { pointer-events: none; margin-left: -4px; top: 0; } .withFrame-haYltI .winButton-iRh8-Z::after { content: ""; padding: 7px; border-radius: 50px; pointer-events: fill; transition-duration: 200ms; } .withFrame-haYltI .winButtonClose-1HsbF-::after { background-color: #e92a2ade !important; margin-top: 0px; } .withFrame-haYltI .winButtonMinMax-PBQ2gm:nth-child(3)::after { background-color: #f7bc1bde !important; margin-top: 0px; } .withFrame-haYltI .winButtonMinMax-PBQ2gm:nth-child(4):after { background-color: #12db33de !important; margin-top: 0px; } .typeWindows-1za-n7 > div:hover::after { transform: scale(1.1); } + +/* ---- Discord Variables ---- */ +.theme-dark { /* Dark Mode */ + + /* Header Color */ + --header-primary: #fff; + --header-secondary: #b9bbbe; + + /* Text Color */ + --text-normal: #dcddde; + --text-muted: #72767d; + --interactive-normal: #6f738e; + --interactive-hover: #a6aac5; + --interactive-active: #aeb4cf; + --interactive-muted: #484a57; + + /* Background Color */ + --background-primary: #1a1b26; + --background-secondary: #171722; + --background-secondary-alt: #13131a; + --background-tertiary: #16161e; + --background-tertiary-alt: #13131a; + --background-accent: #434461; + --background-floating: #161620; + --background-modifier-hover: #212331c0; + --background-modifier-active: #282a3680; + --background-modifier-selected: #24263171; + --background-modifier-accent: #21212c; + --background-mentioned: #252836; + --border-mentioned: #474c64; + --background-mentioned-hover: #2f3344; + --accent-color: #365aaa; + + /* Folder Color */ + --folder-color: #272a36d0; + --folder-color-light: #2f3342d0; + + /* Input Box Color */ + --input-box-bg: #14141b; + --input-box-border: #0f0f14; + --input-box-border-focus: #1b1c26; + + /* Scrollbars Color */ + --scrollbar-thin-thumb: transparent; + --scrollbar-thin-track: transparent; + --scrollbar-auto-thumb: #2b2b46af; + --scrollbar-auto-thumb-hover: #27273d85; + --scrollbar-auto-track: transparent; + --scrollbar-auto-scrollbar-color-thumb: var(--scrollbar-auto-thumb); + --scrollbar-auto-scrollbar-color-track: var(--scrollbar-auto-track); + + /* Chat Box Color */ + --channeltextarea-background: var(--background-secondary); + --channeltextarea-background-hover: var(--background-tertiary); +} + +.theme-light { /* Light Mode */ + + /* Header Color */ + --header-primary: #1c1c1d; + --header-secondary: #4f5660; + + /* Text Color */ + --text-normal: #2e3338; + --text-muted: #747f8d; + --interactive-normal: #4c505e; + --interactive-hover: #404350; + --interactive-active: #373a44; + --interactive-muted: #77797c; + + /* Background Color */ + --background-primary: #d5d6db; + --background-secondary: #cecfd4; + --background-secondary-alt: #b6b7bd; + --background-tertiary: #c5c6cc; + --background-tertiary-alt: #bbbbc2; + --background-accent: #9ca3bb; + --background-floating: #c2c2c9; + --background-mentioned: #c4c7da; + --background-modifier-hover: #2c2a2a25; + --background-modifier-active: #5a525229; + --background-modifier-selected: #555e693d; + --background-modifier-accent: #06060714; + --border-mentioned: #a9afcf; + --background-mentioned-hover: #cfd2e9; + --accent-color: #365aaa; + + /* Folder Color */ + --folder-color: #a7a6a6d0; + --folder-color-light: #afafafd0; + + /* Input Box Color */ + --input-box-bg: #c2c2c7; + --input-box-border: #b3b4b8; + --input-box-border-focus: #959699; + + /* Scrollbars Color */ + --scrollbar-thin-thumb: transparent; + --scrollbar-thin-track: transparent; + --scrollbar-auto-thumb: #a0a0a0af; + --scrollbar-auto-thumb-hover: #77777785; + --scrollbar-auto-track: transparent; + --scrollbar-auto-scrollbar-color-thumb: var(--scrollbar-auto-thumb); + --scrollbar-auto-scrollbar-color-track: var(--scrollbar-auto-track); + + /* Chat Box Color */ + --channeltextarea-background: var(--background-secondary); + --channeltextarea-background-hover: var(--background-tertiary); +} diff --git a/README.md b/README.md index ca87411..a42de86 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Although replacing your icon theme is not required, this theme goes well with th The GTK theme was made by modifying the Material Black theme -The discord theme was made by modifying the Nocturnal theme +The included Discord theme is pulled from here Tokyo Night ## Dependencies @@ -19,10 +19,7 @@ Theming - VS code Tokyo Night theme Optional Utils -- st: The terminal we are using in our configs. Requires patches to get it good, but pre-patched versions can be found on github . urxvt can be used as an alternative and is themed using the included config files. - powerline: Status bar for Bash. For example, it shows you what Git repo you are in -- gvim: Contains vim with clipboard support and more -- vim-airline: Status bar for vim - kava, neofetch, lolcat, cowsay, wisdom-mod, bash-pipes, cbonsai: important stuff - bpytop: resource monitor - nm-applet: manage your (wireless) connections and has a tray icon @@ -66,7 +63,7 @@ When using Sway as window manager - Polybar: Theme and config for the status bar when using I3 with modules n shit enabled - Spicetify: Contains theme for modifying Spotify - Sway: Example sway config with auto starting applications, borders and gaps settings, etc - - Polybar: Theme and config for the status bar when using Sway + - Waybar: Theme and config for the status bar when using Sway - Wofi: Actually contains an example config and theme for Rofi and Wofi, although we are using Rofi in the configs - /etc/logid.conf: Optional example configuration for the Logitech MX Master mouse, using gestures to call certain key combinations set in the I3/Sway config @@ -80,7 +77,6 @@ When using Sway as window manager ### Configuration - GTK theme: If certain colours aren't to your liking, you can `` grep -rl "old_string" . | xargs sed -i 's/old_string/new_string/g' `` to replace specific colour codes quickly. If you go this route you might want to do this to the source, since the original theme has more different colours. - Spotify: Manually edit ./config/spicetify/Themes/Base/color.ini -- Discord: There is an online editor to edit all the themes - Polybar comes bundled with various modules. Check out their wiki for more info. Also check out the readme of polybar-themes if you are using I3. - Picom can be be configured for more or less transparency or different kinds of blur. The included config uses dual-kawase blur which goes over an image as background @@ -88,7 +84,7 @@ When using Sway as window manager ### Copying files All the files go into your home directory, except for: - /etc/logid.conf -- /usr/share/themes/UltimateBlack-0.1 +- /usr/share/themes/TokyoNight If using polybar-themes, install it from the original source first to get all their dependencies and fonts. Then you can overwrite their files with the included ones.