This commit is contained in:
Mirco Wittrien 2022-12-11 12:51:52 +01:00
parent 82bc62e781
commit 4631c8041d
7 changed files with 14 additions and 22 deletions

View File

@ -1612,7 +1612,7 @@ input[REPLACE_CLASS_input][REPLACE_CLASS_inputerror] {
color: #fff;
}
[REPLACE_CLASS_toastdanger] [REPLACE_CLASS_toastbg] {
background-color: var(--bdfdb-red);
background-color: var(--status-danger);
}
[REPLACE_CLASS_toastdanger] [REPLACE_CLASS_toastinner] {
color: #fff;
@ -1630,7 +1630,7 @@ input[REPLACE_CLASS_input][REPLACE_CLASS_inputerror] {
color: #fff;
}
[REPLACE_CLASS_toastwarning] [REPLACE_CLASS_toastbg] {
background-color: var(--bdfdb-yellow);
background-color: var(--status-warning);
}
[REPLACE_CLASS_toastwarning] [REPLACE_CLASS_toastinner] {
color: #fff;

View File

@ -2,7 +2,7 @@
* @name PersonalPins
* @author DevilBro
* @authorId 278543574059057154
* @version 2.1.4
* @version 2.1.5
* @description Allows you to locally pin Messages
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -395,7 +395,7 @@ module.exports = (_ => {
visibility: visible;
}
${BDFDB.dotCN._personalpinsmessagetag + BDFDB.notCN._personalpinsmessagetagadd}:hover {
background-color: var(--bdfdb-red) !important;
background-color: ${BDFDB.DiscordConstants.ColorVariables["status-danger"]} !important;
}
${BDFDB.dotCN._personalpinsmessagetagadd} {
font-size: 16px;

View File

@ -2,7 +2,7 @@
* @name PluginRepo
* @author DevilBro
* @authorId 278543574059057154
* @version 2.4.3
* @version 2.4.4
* @description Allows you to download all Plugins from BD's Website within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -72,12 +72,12 @@ module.exports = (_ => {
};
const buttonData = {
INSTALLED: {
backgroundColor: "var(--bdfdb-green)",
backgroundColor: BDFDB.DiscordConstants.ColorVariables["status-positive"],
icon: "CHECKMARK",
text: "installed"
},
OUTDATED: {
backgroundColor: "var(--bdfdb-red)",
backgroundColor: BDFDB.DiscordConstants.ColorVariables["status-danger"],
icon: "CLOSE",
text: "outdated"
},

View File

@ -2,7 +2,7 @@
* @name ThemeRepo
* @author DevilBro
* @authorId 278543574059057154
* @version 2.4.6
* @version 2.4.7
* @description Allows you to download all Themes from BD's Website within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -73,12 +73,12 @@ module.exports = (_ => {
};
const buttonData = {
INSTALLED: {
backgroundColor: "var(--bdfdb-green)",
backgroundColor: BDFDB.DiscordConstants.ColorVariables["status-positive"],
icon: "CHECKMARK",
text: "installed"
},
OUTDATED: {
backgroundColor: "var(--bdfdb-red)",
backgroundColor: BDFDB.DiscordConstants.ColorVariables["status-danger"],
icon: "CLOSE",
text: "outdated"
},

View File

@ -2,7 +2,7 @@
* @name Translator
* @author DevilBro
* @authorId 278543574059057154
* @version 2.4.7
* @version 2.4.8
* @description Allows you to translate Messages and your outgoing Messages within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -135,7 +135,7 @@ module.exports = (_ => {
titleChildren: direction == languageTypes.OUTPUT && [{
text: _ => isChannelSpecific ? _this.labels.language_selection_channel : isGuildSpecific ? _this.labels.language_selection_server : _this.labels.language_selection_global,
name: isChannelSpecific || isGuildSpecific ? BDFDB.LibraryComponents.SvgIcon.Names.LOCK_CLOSED : BDFDB.LibraryComponents.SvgIcon.Names.LOCK_OPEN,
color: isChannelSpecific ? "var(--bdfdb-red)" : isGuildSpecific ? "var(--bdfdb-yellow)" : null,
color: isChannelSpecific ? BDFDB.DiscordConstants.ColorVariables["status-danger"] : isGuildSpecific ? BDFDB.DiscordConstants.ColorVariables["status-warning"] : null,
onClick: _ => {
if (channelLanguages[this.props.channelId] && channelLanguages[this.props.channelId][place]) {
isChannelSpecific = false;
@ -210,7 +210,7 @@ module.exports = (_ => {
nativeClass: true,
width: 20,
height: 20,
color: "var(--bdfdb-red)",
color: BDFDB.DiscordConstants.ColorVariables["status-danger"],
name: BDFDB.LibraryComponents.SvgIcon.Names.WARNING
})
}),
@ -405,7 +405,7 @@ module.exports = (_ => {
this.css = `
${BDFDB.dotCN._translatortranslatebutton + BDFDB.dotCNS._translatortranslating + BDFDB.dotCN.textareaicon} {
color: var(--bdfdb-red) !important;
color: ${BDFDB.DiscordConstants.ColorVariables["status-danger"]} !important;
}
${BDFDB.dotCN._translatorconfigbutton} {
margin: 2px 3px 0 6px;

View File

@ -43,10 +43,6 @@
--backdropposition: center;
--backdropsize: cover;
--backdropblur: unset;
--bdfdb-green: rgb(var(--successcolor));
--bdfdb-yellow: rgb(var(--warningcolor));
--bdfdb-red: rgb(var(--dangercolor));
}
.theme-light, .theme-dark, .theme-amoled {

View File

@ -22,10 +22,6 @@
--backgroundsecondaryalt: 41,43,47;
--backgroundtertiary: 32,34,37;
--backgroundfloating: 24,25,28;
--bdfdb-green: rgb(var(--successcolor));
--bdfdb-yellow: rgb(var(--warningcolor));
--bdfdb-red: rgb(var(--dangercolor));
}
.theme-light:not(.userProfileOuterThemed-3EfHmv),