This commit is contained in:
Mirco Wittrien 2023-12-20 07:44:30 +01:00
parent 528100e3f1
commit af3f0b03a9
2 changed files with 5 additions and 29 deletions

View File

@ -2,7 +2,7 @@
* @name BDFDB
* @author DevilBro
* @authorId 278543574059057154
* @version 3.5.6
* @version 3.5.7
* @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, 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);
},

View File

@ -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;
}