From 1907ccd6f7e093413587a1d3897377ba4d335616 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sun, 23 Jun 2024 18:33:35 +0200 Subject: [PATCH] SettingsIcons --- Themes/_res/SettingsIcons.css | 32 ++++++++++++++---- .../_res/svgs/settingsicons/designsystem.png | Bin 0 -> 469 bytes 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 Themes/_res/svgs/settingsicons/designsystem.png diff --git a/Themes/_res/SettingsIcons.css b/Themes/_res/SettingsIcons.css index 478b4293fc..531331bcac 100644 --- a/Themes/_res/SettingsIcons.css +++ b/Themes/_res/SettingsIcons.css @@ -51,6 +51,7 @@ --settingsicons-hotspots: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/hotspots.png); --settingsicons-dismissable: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/dismissable.png); --settingsicons-paymentmodals: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/paymentmodals.png); + --settingsicons-designsystem: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/designsystem.png); --settingsicons-textplayground: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/textplayground.png); --settingsicons-textcomponent: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/textcomponent.png); --settingsicons-profilepreview: url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/svgs/settingsicons/profilepreview.png); @@ -498,9 +499,9 @@ body #app-mount .layer_d4b6c5 ~ .layer_d4b6c5 .sidebar_c25c6d:has(.socialLinks_c .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.themerepo-tab ~ .item_a0:nth-child(52), .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0.themerepo-tab ~ .item_a0:nth-child(53), .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.vc-settings ~ .item_a0:nth-child(52), -#app-mount .sidebar_c25c6d .side_a0 .item_a0[aria-controls="text-playground-tab" i], -#app-mount .standardSidebarView_c25c6d .contentColumn_c25c6d[id="text-playground-tab" i] { - --settingsicons-icon: var(--settingsicons-textplayground); +#app-mount .sidebar_c25c6d .side_a0 .item_a0[aria-controls="design-system-tab" i], +#app-mount .standardSidebarView_c25c6d .contentColumn_c25c6d[id="design-system-tab" i] { + --settingsicons-icon: var(--settingsicons-designsystem); } .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0:nth-child(50), .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0:nth-child(51), @@ -517,9 +518,9 @@ body #app-mount .layer_d4b6c5 ~ .layer_d4b6c5 .sidebar_c25c6d:has(.socialLinks_c .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.themerepo-tab ~ .item_a0:nth-child(53), .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0.themerepo-tab ~ .item_a0:nth-child(54), .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.vc-settings ~ .item_a0:nth-child(53), -#app-mount .sidebar_c25c6d .side_a0 .item_a0[aria-controls="text-component-tab" i], -#app-mount .standardSidebarView_c25c6d .contentColumn_c25c6d[id="text-component-tab" i] { - --settingsicons-icon: var(--settingsicons-textcomponent); +#app-mount .sidebar_c25c6d .side_a0 .item_a0[aria-controls="text-playground-tab" i], +#app-mount .standardSidebarView_c25c6d .contentColumn_c25c6d[id="text-playground-tab" i] { + --settingsicons-icon: var(--settingsicons-textplayground); } .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0:nth-child(51), .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0:nth-child(52), @@ -536,6 +537,25 @@ body #app-mount .layer_d4b6c5 ~ .layer_d4b6c5 .sidebar_c25c6d:has(.socialLinks_c .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.themerepo-tab ~ .item_a0:nth-child(54), .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0.themerepo-tab ~ .item_a0:nth-child(55), .platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.vc-settings ~ .item_a0:nth-child(54), +#app-mount .sidebar_c25c6d .side_a0 .item_a0[aria-controls="text-component-tab" i], +#app-mount .standardSidebarView_c25c6d .contentColumn_c25c6d[id="text-component-tab" i] { + --settingsicons-icon: var(--settingsicons-textcomponent); +} +.sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0:nth-child(52), +.sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0:nth-child(53), +.sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.themerepo-tab ~ .item_a0:nth-child(53), +.sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0.themerepo-tab ~ .item_a0:nth-child(54), +.sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.vc-settings ~ .item_a0:nth-child(53), +.platform-win .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0:nth-child(54), +.platform-win .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0:nth-child(55), +.platform-win .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.themerepo-tab ~ .item_a0:nth-child(55), +.platform-win .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0.themerepo-tab ~ .item_a0:nth-child(56), +.platform-win .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.vc-settings ~ .item_a0:nth-child(55), +.platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0:nth-child(54), +.platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0:nth-child(55), +.platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.themerepo-tab ~ .item_a0:nth-child(55), +.platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.pluginrepo-tab ~ .item_a0.themerepo-tab ~ .item_a0:nth-child(56), +.platform-linux .sidebar_c25c6d:has(.socialLinks_c44e94) .side_a0 .item_a0.vc-settings ~ .item_a0:nth-child(55), #app-mount .sidebar_c25c6d .side_a0 .item_a0[aria-controls="profile-effects-preview-tool-tab" i], #app-mount .standardSidebarView_c25c6d .contentColumn_c25c6d[id="profile-effects-preview-tool-tab" i] { --settingsicons-icon: var(--settingsicons-profilepreview); diff --git a/Themes/_res/svgs/settingsicons/designsystem.png b/Themes/_res/svgs/settingsicons/designsystem.png new file mode 100644 index 0000000000000000000000000000000000000000..342135fa92a352756bb5d985c37f3ad289a06b21 GIT binary patch literal 469 zcmeAS@N?(olHy`uVBq!ia0vp^P9V&|1|%PcFuVX#EX7WqAsj$Z!;#Vf&U>cv7h@-A}f&3S>O>_%)r2R2!t6$HM|;tf|4b!5hcO-X(i=}MX3zs z<>h*rdD+Fui3O>8`9O^3vyTX0bUbo$&yti3vV57k-6t#mZTmh~-85Y9UZ1k;>(uLWWvheh zG$+0OneXhnX6swpSsWPSaJEnn^P`R%G+O@OI2Fr?|gNg;6q8Kwg$xn z4hg(ewB5P-)33jOD$t01e$z-$*-gXm&FU|HF1tf5R$Wd1B-MCNK>5B}O?rIl>7zwg zrn_IS+}1Lq>pB5bp%$wiS+$zopr0N-D?wg3PC literal 0 HcmV?d00001