From de30d57ff19807825fe91940727b9e2e69a7f968 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 11 Jun 2021 12:11:07 +0200 Subject: [PATCH] stuff --- Library/_res/BDFDB.raw.css | 2 +- Themes/BlurpleRecolor/BlurpleRecolor.css | 47 ++++++------------------ 2 files changed, 13 insertions(+), 36 deletions(-) diff --git a/Library/_res/BDFDB.raw.css b/Library/_res/BDFDB.raw.css index eeb049e6be..b1dd98d23e 100644 --- a/Library/_res/BDFDB.raw.css +++ b/Library/_res/BDFDB.raw.css @@ -1,7 +1,7 @@ @import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/SupporterBadge.css); :root { - --bdfdb-blurple: var(--brand-experiment, hsl(235, calc(var(--saturation-factor, 1)*85.6%), 64.7%)); + --bdfdb-blurple: var(--brand-experiment, hsl(235, calc(var(--saturation-factor, 1) * 85.6%), 64.7%)); --bdfdb-green: hsl(139, calc(var(--saturation-factor, 1) * 47.3%), 43.9%); --bdfdb-yellow: hsl(38, calc(var(--saturation-factor, 1) * 95.7%), 54.1%); --bdfdb-red: hsl(359, calc(var(--saturation-factor, 1) * 82.6%), 59.4%); diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index f21f480214..9c18f736dc 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -145,50 +145,38 @@ background-color: rgb(var(--accentcolor)); } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 1"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 1"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 1"] { background-color: rgba(var(--accentcolor), 1) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.9"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.9"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.9"] { background-color: rgba(var(--accentcolor), 0.9) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.8"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.8"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.8"] { background-color: rgba(var(--accentcolor), 0.8) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.7"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.7"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.7"] { background-color: rgba(var(--accentcolor), 0.7) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.6"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.6"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.6"] { background-color: rgba(var(--accentcolor), 0.6) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.5"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.5"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.5"] { background-color: rgba(var(--accentcolor), 0.5) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.4"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.4"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.4"] { background-color: rgba(var(--accentcolor), 0.4) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.3"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.3"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.3"] { background-color: rgba(var(--accentcolor), 0.3) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.2"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.2"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.2"] { background-color: rgba(var(--accentcolor), 0.2) !important; } -.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.1"], -.folderIconWrapper-1_bOZe[style*="background-color: rgba(114, 137, 218, 0.1"] { +.folderIconWrapper-1_bOZe[style*="background-color: rgba(88, 101, 242, 0.1"] { background-color: rgba(var(--accentcolor), 0.1) !important; } .folderIconWrapper-1_bOZe svg[style^="color: rgb(88, 101, 242)"], -.folderIconWrapper-1_bOZe svg[style*=" color: rgb(88, 101, 242)"], -.folderIconWrapper-1_bOZe svg[style^="color: rgb(114, 137, 218)"], -.folderIconWrapper-1_bOZe svg[style*=" color: rgb(114, 137, 218)"] { +.folderIconWrapper-1_bOZe svg[style*=" color: rgb(88, 101, 242)"] { color: rgb(var(--accentcolor)) !important; } @@ -264,49 +252,37 @@ .backgroundFlash-24qWLN { background-color: var(--message-background-flash) !important; } -.backgroundFlash-24qWLN[style*="background-color: rgb(88, 101, 242)"], -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 1"], .backgroundFlash-24qWLN[style*="background-color: rgb(114, 137, 218)"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 1"] { --message-background-flash: rgba(var(--accentcolor), 1); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.9"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.9"] { --message-background-flash: rgba(var(--accentcolor), 0.9); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.8"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.8"] { --message-background-flash: rgba(var(--accentcolor), 0.8); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.7"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.7"] { --message-background-flash: rgba(var(--accentcolor), 0.7); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.6"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.6"] { --message-background-flash: rgba(var(--accentcolor), 0.6); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.5"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.5"] { --message-background-flash: rgba(var(--accentcolor), 0.5); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.4"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.4"] { --message-background-flash: rgba(var(--accentcolor), 0.4); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.3"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.3"] { --message-background-flash: rgba(var(--accentcolor), 0.3); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.2"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.2"] { --message-background-flash: rgba(var(--accentcolor), 0.2); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.1"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.1"] { --message-background-flash: rgba(var(--accentcolor), 0.1); } -.backgroundFlash-24qWLN[style*="background-color: rgba(88, 101, 242, 0.0"], .backgroundFlash-24qWLN[style*="background-color: rgba(114, 137, 218, 0.0"] { --message-background-flash: rgba(var(--accentcolor), 0); } @@ -1888,6 +1864,7 @@ a.metadataName-14STf- { /* ---- 11.2. USERPOPOUT ---- */ .banner-2QYc2d[style*="background-color: hsl(235, "], +.banner-2QYc2d[style*="background-color: hsl(237, "], .banner-2QYc2d[style*="background-color: rgb(114, 137, 218)"] { background-color: rgb(var(--accentcolor)) !important; }