diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 70eb3d84e1..14ad4f447e 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 3.5.7 + * @version 3.5.6 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -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, props.value && BDFDB.disCN.switchchecked, mini && BDFDB.disCN.switchmini), + className: BDFDB.DOMUtils.formatClassName(props.className, BDFDB.disCN.switch, mini && BDFDB.disCN.switchmini, "default-colors"), onMouseDown: _ => { return !props.disabled && state[1](true); }, diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 4bda934a0f..cc0b9df4b4 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -2071,10 +2071,26 @@ a.metadataDownload__6b32d { background-color: rgb(114, 118, 125) !important; transition: background-color .1s ease-out; } /* switch checked */ -.container__871ba.checked__6bdb0 { +.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, "] { background-color: rgba(var(--accentcolor_v), 0.8) !important; } -.container__871ba.checked__6bdb0:hover { +.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 { background: var(--accentcolor-hover) !important; } #app-mount .container__871ba:active { @@ -2083,7 +2099,15 @@ a.metadataDownload__6b32d { .container__871ba path[fill] { fill: rgb(114, 118, 125) !important; } -.container__871ba.checked__6bdb0 path[fill], +.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:active path[fill] { fill: rgb(var(--accentcolor_v)) !important; }