From adba06fcfc0892b3dcfec7e5f36d5ba72e90398d Mon Sep 17 00:00:00 2001 From: ewin Date: Sat, 14 Mar 2026 13:10:42 -0400 Subject: [PATCH] add discord custom CSS --- .../BetterDiscord/data/stable/custom.css | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 discord/.config/BetterDiscord/data/stable/custom.css diff --git a/discord/.config/BetterDiscord/data/stable/custom.css b/discord/.config/BetterDiscord/data/stable/custom.css new file mode 100644 index 0000000..608128e --- /dev/null +++ b/discord/.config/BetterDiscord/data/stable/custom.css @@ -0,0 +1,71 @@ +body { + --font-primary: 'Open Sans', system-ui, ui-sans-serif, sans-serif; + --font-code: 'Comic Code Ligatures', ui-monospace, monospace; + --font-display: var(--font-primary); + --font-headline: var(--font-primary); +} + +/* shadowrealm the floating discovery button */ +nav[class*="guilds"] [class*="scroller"] + [class*="footer"] { display: none !important } + +/* make bot tags say "bot" again instead of "app" */ +/* [class*="botText"] { + font-size: 0 !important; +} +[class*="botText"]::after { + content: "BOT"; + font-size: .625rem !important; + line-height: inherit !important; + vertical-align: top; +} */ + +/* remove sticker autocomplete */ +[class*="emojiStickersDivider"], +[class*="emojiStickersDivider"] ~ * { + display: none !important; +} + +/* #region visual refresh: remove non-native titlebar for linux */ + +/* + * setting this variable to 0 causes the grid area where the top bar lives to + * have a height of 0, causing it to just kinda not render. .shortBar_c38106 is + * the selector used in th + */ +.visual-refresh, .c38106a3f0c3ca76-bar, .bar_c38106 {--custom-app-top-bar-height: 0} + +/* just hide everything that's in the bar, fuck it */ +:is(.c38106a3f0c3ca76-bar, .bar_c38106) > * {display: none} + +/* #endregion */ + +/* revert font-weight garbage */ +@media (-webkit-max-device-pixel-ratio: 1) { + .theme-light .labelSelected__9ef94 {font-weight:400} + .theme-light .description__7af71 {font-weight:400} + .theme-light .filename_e129cd {font-weight:400} + .theme-light .markup_a7e664 {font-weight:400} + .theme-light .username_d30d99 {font-weight:500} + .theme-light .embedProvider_cfa718 {font-weight:400} + .theme-light .embedAuthorName_a1274b {font-weight:400} + .theme-light .embedDescription__33443 {font-weight:400} + .theme-light .embedFooterText_dc937f {font-weight:400} + .theme-light .embedFieldName_d42d0c {font-weight:500} + .theme-light .embedFieldValue__53d47 {font-weight:300} + .theme-light .ephemeralMessage__6a8ba {font-weight:400} + .theme-light .content__72fdc {font-weight:400} + .theme-light .content__72fdc a {font-weight:500} + .theme-light .timestamp_c6898e {font-weight:400} + .theme-light .operations__07224 {font-weight:400} + + /* desktop refresh */ + .theme-light .markup__75297, + .theme-light .filename__0ccae, + .theme-light .textArea__74017, + .theme-light .labelSelected_ddd181, + .theme-light .description_ddd181 {font-weight:400 !important} + .theme-light ::-moz-placeholder {font-weight: 400 !important} + .theme-light { + --font-weight-semibold-1x-light-theme:500; + } +}