From 83921659ceca614806a42c5ea58e052c18ba0052 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Wed, 20 Dec 2023 07:53:12 +0100 Subject: [PATCH] stuff --- Library/0BDFDB.plugin.js | 2 +- Themes/BlurpleRecolor/BlurpleRecolor.css | 30 +++--------------------- 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 14ad4f447e..5cbab9e4b6 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -7426,7 +7426,7 @@ module.exports = (_ => { let mini = props.size == Internal.LibraryComponents.Switch.Sizes.MINI; return BDFDB.ReactUtils.createElement(Internal.LibraryComponents.Animations.animated.div, { - className: BDFDB.DOMUtils.formatClassName(props.className, BDFDB.disCN.switch, mini && BDFDB.disCN.switchmini, "default-colors"), + className: BDFDB.DOMUtils.formatClassName(props.className, BDFDB.disCN.switch, props.value && BDFDB.disCN.switchchecked, mini && BDFDB.disCN.switchmini), onMouseDown: _ => { return !props.disabled && state[1](true); }, diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index cc0b9df4b4..4bda934a0f 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -2071,26 +2071,10 @@ a.metadataDownload__6b32d { background-color: rgb(114, 118, 125) !important; transition: background-color .1s ease-out; } /* switch checked */ -.container__871ba[style*="background-color: var(--green-"], -.container__871ba[style*="background-color: rgb(35, "], -.container__871ba[style*="background-color: rgb(51, "], -.container__871ba[style*="background-color: rgb(59, "], -.container__871ba[style*="background-color: rgb(88, "], -.container__871ba[style*="background-color: hsl(145, "], -.container__871ba[style*="background-color: hsl(139, "], -.container__871ba[style*="background-color: hsl(227, "], -.container__871ba[style*="background-color: hsl(235, "] { +.container__871ba.checked__6bdb0 { background-color: rgba(var(--accentcolor_v), 0.8) !important; } -.container__871ba[style*="background-color: var(--green-"]:hover, -.container__871ba[style*="background-color: rgb(35, "]:hover, -.container__871ba[style*="background-color: rgb(51, "]:hover, -.container__871ba[style*="background-color: rgb(59, "]:hover, -.container__871ba[style*="background-color: rgb(88, "]:hover, -.container__871ba[style*="background-color: hsl(145, "]:hover, -.container__871ba[style*="background-color: hsl(139, "]:hover, -.container__871ba[style*="background-color: hsl(227, "]:hover, -.container__871ba[style*="background-color: hsl(235, "]:hover { +.container__871ba.checked__6bdb0:hover { background: var(--accentcolor-hover) !important; } #app-mount .container__871ba:active { @@ -2099,15 +2083,7 @@ a.metadataDownload__6b32d { .container__871ba path[fill] { fill: rgb(114, 118, 125) !important; } -.container__871ba[style*="background-color: var(--green-"] path[fill], -.container__871ba[style*="background-color: rgb(35, "] path[fill], -.container__871ba[style*="background-color: rgb(51, "] path[fill], -.container__871ba[style*="background-color: rgb(59, "] path[fill], -.container__871ba[style*="background-color: rgb(88, "] path[fill], -.container__871ba[style*="background-color: hsl(145, "] path[fill], -.container__871ba[style*="background-color: hsl(139, "] path[fill], -.container__871ba[style*="background-color: hsl(227, "] path[fill], -.container__871ba[style*="background-color: hsl(235, "] path[fill], +.container__871ba.checked__6bdb0 path[fill], .container__871ba:active path[fill] { fill: rgb(var(--accentcolor_v)) !important; }