This commit is contained in:
Mirco Wittrien 2023-02-22 15:34:45 +01:00
parent ccb2d7852b
commit 4991457df6
11 changed files with 27 additions and 27 deletions

View File

@ -2,7 +2,7 @@
* @name BDFDB * @name BDFDB
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 3.0.7 * @version 3.0.8
* @description Required Library for DevilBro's Plugins * @description Required Library for DevilBro's Plugins
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -2943,13 +2943,13 @@ module.exports = (_ => {
if (!Internal.DiscordConstants.Colors) return null; if (!Internal.DiscordConstants.Colors) return null;
status = typeof status == "string" ? status.toLowerCase() : null; status = typeof status == "string" ? status.toLowerCase() : null;
switch (status) { switch (status) {
case "online": return useColor ? Internal.DiscordConstants.Colors.STATUS_GREEN_600 : "var(--status-positive)"; case "online": return useColor ? Internal.DiscordConstants.Colors._GREEN_600 : "var(--status-positive)";
case "idle": return useColor ? Internal.DiscordConstants.Colors.STATUS_YELLOW : "var(--status-warning)"; case "idle": return useColor ? Internal.DiscordConstants.Colors._YELLOW : "var(--status-warning)";
case "dnd": return useColor ? Internal.DiscordConstants.Colors.STATUS_RED : "var(--status-danger)"; case "dnd": return useColor ? Internal.DiscordConstants.Colors._RED : "var(--status-danger)";
case "playing": return useColor ? Internal.DiscordConstants.Colors.BRAND : "var(--bdfdb-blurple)"; case "playing": return useColor ? Internal.DiscordConstants.Colors.BRAND : "var(--bdfdb-blurple)";
case "listening": return Internal.DiscordConstants.Colors.SPOTIFY; case "listening": return Internal.DiscordConstants.Colors.SPOTIFY;
case "streaming": return Internal.DiscordConstants.Colors.TWITCH; case "streaming": return Internal.DiscordConstants.Colors.TWITCH;
default: return Internal.DiscordConstants.Colors.STATUS_GREY; default: return Internal.DiscordConstants.Colors._GREY;
} }
}; };
BDFDB.UserUtils.getActivity = function (id = BDFDB.UserUtils.me.id) { BDFDB.UserUtils.getActivity = function (id = BDFDB.UserUtils.me.id) {

View File

@ -57,7 +57,7 @@
"ChannelTextAreaTypes": ["CREATE_FORUM_POST", "PROFILE_BIO_INPUT", "FORUM_CHANNEL_GUIDELINES"], "ChannelTextAreaTypes": ["CREATE_FORUM_POST", "PROFILE_BIO_INPUT", "FORUM_CHANNEL_GUIDELINES"],
"ChannelTypes": ["GUILD_TEXT", "GUILD_STORE", "DM"], "ChannelTypes": ["GUILD_TEXT", "GUILD_STORE", "DM"],
"ChannelTypeGroups": ["GUILD_TEXTUAL", "GUILD_VOCAL", "ALL_DMS"], "ChannelTypeGroups": ["GUILD_TEXTUAL", "GUILD_VOCAL", "ALL_DMS"],
"Colors": ["SPOTIFY", "STATUS_RED"], "Colors": ["SPOTIFY", "RED_100", "BLUE"],
"ColorVariables": ["status-danger", "background-primary"], "ColorVariables": ["status-danger", "background-primary"],
"ComponentActions": ["INSERT_TEXT", "TEXTAREA_FOCUS"], "ComponentActions": ["INSERT_TEXT", "TEXTAREA_FOCUS"],
"EmojiSprites": ["DiversityPerRow", "PickerPerRow"], "EmojiSprites": ["DiversityPerRow", "PickerPerRow"],
@ -251,7 +251,7 @@
"LibraryComponents": { "LibraryComponents": {
"Anchor": {"strings": ["anchorUnderlineOnHover", "noreferrer noopener"]}, "Anchor": {"strings": ["anchorUnderlineOnHover", "noreferrer noopener"]},
"Animations": {"props": ["Controller", "Spring"]}, "Animations": {"props": ["Controller", "Spring"]},
"AppReferencePositionLayer": {"strings": ["\"onMount\"", "\"onUnmount\""]}, "AppReferencePositionLayer": {"strings": [".LayerProvider,", ".LayerContainer,", ".layerContext,"], "funcStrings": [",{children:(", "({ref:"]},
"Avatars": {"strings": ["\"statusColor\"", "ONLINE", "isMobile"], "exported": false, "value": "exports", "map": { "Avatars": {"strings": ["\"statusColor\"", "ONLINE", "isMobile"], "exported": false, "value": "exports", "map": {
"AnimatedAvatar": ["compare"], "AnimatedAvatar": ["compare"],
"Avatar": ["statusColor"], "Avatar": ["statusColor"],

View File

@ -2,7 +2,7 @@
* @name ChatFilter * @name ChatFilter
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 3.5.7 * @version 3.5.8
* @description Allows you to censor Words or block complete Messages/Statuses * @description Allows you to censor Words or block complete Messages/Statuses
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -98,7 +98,7 @@ module.exports = (_ => {
this.css = ` this.css = `
${BDFDB.dotCN._chatfilterblocked} { ${BDFDB.dotCN._chatfilterblocked} {
color: ${BDFDB.DiscordConstants.Colors.STATUS_RED} !important; color: ${BDFDB.DiscordConstants.Colors.RED} !important;
} }
${BDFDB.dotCN.messagerepliedmessagecontentclickable}:hover ${BDFDB.dotCN._chatfilterblocked} { ${BDFDB.dotCN.messagerepliedmessagecontentclickable}:hover ${BDFDB.dotCN._chatfilterblocked} {
filter: saturate(2); filter: saturate(2);

View File

@ -2,7 +2,7 @@
* @name CustomStatusPresets * @name CustomStatusPresets
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 1.1.4 * @version 1.1.5
* @description Allows you to save Custom Statuses as Quick Select * @description Allows you to save Custom Statuses as Quick Select
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -292,7 +292,7 @@ module.exports = (_ => {
flex: 0 0 auto; flex: 0 0 auto;
} }
${BDFDB.dotCN._customstatuspresetssortdivider} { ${BDFDB.dotCN._customstatuspresetssortdivider} {
background: ${BDFDB.DiscordConstants.Colors.STATUS_GREEN}; background: ${BDFDB.DiscordConstants.Colors.GREEN};
height: 2px; height: 2px;
margin: 0 26px 8px 0; margin: 0 26px 8px 0;
} }

View File

@ -2,7 +2,7 @@
* @name DisplayServersAsChannels * @name DisplayServersAsChannels
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 1.6.4 * @version 1.6.5
* @description Displays Servers in a similar way as Channels * @description Displays Servers in a similar way as Channels
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -221,7 +221,7 @@ module.exports = (_ => {
}), }),
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.GuildBadge, { BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.GuildBadge, {
size: this.settings.amounts.serverElementHeight * 0.5, size: this.settings.amounts.serverElementHeight * 0.5,
badgeColor: BDFDB.DiscordConstants.Colors.STATUS_GREY, badgeColor: BDFDB.DiscordConstants.Colors.GREY,
tooltipColor: BDFDB.LibraryComponents.TooltipContainer.Colors.BLACK, tooltipColor: BDFDB.LibraryComponents.TooltipContainer.Colors.BLACK,
tooltipPosition: BDFDB.LibraryComponents.TooltipContainer.Positions.RIGHT, tooltipPosition: BDFDB.LibraryComponents.TooltipContainer.Positions.RIGHT,
guild: e.instance.props.guild guild: e.instance.props.guild
@ -399,7 +399,7 @@ module.exports = (_ => {
${BDFDB.dotCNS.themedark + BDFDB.dotCNS._displayserversaschannelsstyled + BDFDB.dotCNS.guildswrapper + BDFDB.dotCN.guildsscroller}::-webkit-scrollbar-thumb, ${BDFDB.dotCNS.themedark + BDFDB.dotCNS._displayserversaschannelsstyled + BDFDB.dotCNS.guildswrapper + BDFDB.dotCN.guildsscroller}::-webkit-scrollbar-thumb,
${BDFDB.dotCNS._displayserversaschannelsstyled + BDFDB.dotCN.guildswrapper + BDFDB.dotCNS.themedark + BDFDB.dotCN.guildsscroller}::-webkit-scrollbar-thumb { ${BDFDB.dotCNS._displayserversaschannelsstyled + BDFDB.dotCN.guildswrapper + BDFDB.dotCNS.themedark + BDFDB.dotCN.guildsscroller}::-webkit-scrollbar-thumb {
background-color: ${BDFDB.DiscordConstants.Colors.PRIMARY_DARK_800}; background-color: ${BDFDB.DiscordConstants.Colors.PRIMARY_800};
} }
${BDFDB.dotCNS._displayserversaschannelsstyled + BDFDB.dotCNS.guildswrapper + BDFDB.dotCN.guildouter} { ${BDFDB.dotCNS._displayserversaschannelsstyled + BDFDB.dotCNS.guildswrapper + BDFDB.dotCN.guildouter} {

View File

@ -2,7 +2,7 @@
* @name PluginRepo * @name PluginRepo
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 2.4.5 * @version 2.4.6
* @description Allows you to download all Plugins from BD's Website within Discord * @description Allows you to download all Plugins from BD's Website within Discord
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -370,7 +370,7 @@ module.exports = (_ => {
style: { style: {
borderRadius: 3, borderRadius: 3,
textTransform: "uppercase", textTransform: "uppercase",
background: BDFDB.DiscordConstants.Colors.STATUS_YELLOW background: BDFDB.DiscordConstants.Colors.YELLOW
}, },
text: BDFDB.LanguageUtils.LanguageStrings.NEW text: BDFDB.LanguageUtils.LanguageStrings.NEW
}) })

View File

@ -2,7 +2,7 @@
* @name ServerFolders * @name ServerFolders
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 7.1.1 * @version 7.1.2
* @description Changes Discord's Folders, Servers open in a new Container, also adds extra Features to more easily organize, customize and manage your Folders * @description Changes Discord's Folders, Servers open in a new Container, also adds extra Features to more easily organize, customize and manage your Folders
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -737,7 +737,7 @@ module.exports = (_ => {
e.returnvalue, e.returnvalue,
BDFDB.ReactUtils.createElement(FolderGuildContentComponent, { BDFDB.ReactUtils.createElement(FolderGuildContentComponent, {
isAppFullscreen: BDFDB.LibraryStores.ChannelRTCStore.isFullscreenInContext(), isAppFullscreen: BDFDB.LibraryStores.ChannelRTCStore.isFullscreenInContext(),
themeOverride: BDFDB.LibraryStores.AccessibilityStore.darkSidebar themeOverride: BDFDB.LibraryStores.ThemeStore.darkSidebar
}, true) }, true)
].flat(10); ].flat(10);
} }

View File

@ -2,7 +2,7 @@
* @name ShowConnections * @name ShowConnections
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 1.1.6 * @version 1.1.7
* @description Shows the connected Accounts of a User in the UserPopout * @description Shows the connected Accounts of a User in the UserPopout
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -121,12 +121,12 @@ module.exports = (_ => {
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FlowerStar, { children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.FlowerStar, {
className: BDFDB.disCN._showconnectionsverifiedbadge, className: BDFDB.disCN._showconnectionsverifiedbadge,
size: "50%", size: "50%",
color: isLightTheme ? BDFDB.DiscordConstants.Colors.STATUS_GREY_200 : BDFDB.DiscordConstants.Colors.PRIMARY_DARK, color: isLightTheme ? BDFDB.DiscordConstants.Colors.PRIMARY_200 : BDFDB.DiscordConstants.Colors.PRIMARY,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, { children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
name: BDFDB.LibraryComponents.SvgIcon.Names.CHECKMARK, name: BDFDB.LibraryComponents.SvgIcon.Names.CHECKMARK,
width: "70%", width: "70%",
height: "70%", height: "70%",
color: isLightTheme ? BDFDB.DiscordConstants.Colors.STATUS_GREY_500 : BDFDB.DiscordConstants.Colors.WHITE color: isLightTheme ? BDFDB.DiscordConstants.Colors.PRIMARY_500 : BDFDB.DiscordConstants.Colors.WHITE
}) })
}) })
}) })

View File

@ -2,7 +2,7 @@
* @name ThemeRepo * @name ThemeRepo
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 2.4.8 * @version 2.4.9
* @description Allows you to download all Themes from BD's Website within Discord * @description Allows you to download all Themes from BD's Website within Discord
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -522,7 +522,7 @@ module.exports = (_ => {
style: { style: {
borderRadius: 3, borderRadius: 3,
textTransform: "uppercase", textTransform: "uppercase",
background: BDFDB.DiscordConstants.Colors.STATUS_YELLOW background: BDFDB.DiscordConstants.Colors.YELLOW
}, },
text: BDFDB.LanguageUtils.LanguageStrings.NEW text: BDFDB.LanguageUtils.LanguageStrings.NEW
}) })

View File

@ -2,7 +2,7 @@
* @name TimedLightDarkMode * @name TimedLightDarkMode
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 1.1.5 * @version 1.1.6
* @description Adds a Time Slider to the Appearance Settings * @description Adds a Time Slider to the Appearance Settings
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -116,7 +116,7 @@ module.exports = (_ => {
label: `${BDFDB.LanguageUtils.LanguageStrings.THEME} Timer`, label: `${BDFDB.LanguageUtils.LanguageStrings.THEME} Timer`,
tag: BDFDB.LibraryComponents.FormComponents.FormTags.H5, tag: BDFDB.LibraryComponents.FormComponents.FormTags.H5,
childProps: { childProps: {
checkedColor: BDFDB.DiscordConstants.Colors.STATUS_GREEN_600 checkedColor: BDFDB.DiscordConstants.Colors.GREEN_600
}, },
onChange: (value, instance) => { onChange: (value, instance) => {
this.startInterval(); this.startInterval();

View File

@ -2,7 +2,7 @@
* @name TopRoleEverywhere * @name TopRoleEverywhere
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 3.1.1 * @version 3.1.2
* @description Adds the highest Role of a User as a Tag * @description Adds the highest Role of a User as a Tag
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -222,7 +222,7 @@ module.exports = (_ => {
createTag (role, type, config = {}) { createTag (role, type, config = {}) {
if (this.settings.general.useOtherStyle) { if (this.settings.general.useOtherStyle) {
let tagColor = BDFDB.ColorUtils.convert(role.colorString || BDFDB.DiscordConstants.Colors.PRIMARY_DARK_500, "RGB") let tagColor = BDFDB.ColorUtils.convert(role.colorString || BDFDB.DiscordConstants.Colors.PRIMARY_500, "RGB")
let isBright = role.colorString && BDFDB.ColorUtils.isBright(tagColor); let isBright = role.colorString && BDFDB.ColorUtils.isBright(tagColor);
tagColor = isBright ? (this.settings.general.useBlackFont ? tagColor : BDFDB.ColorUtils.change(tagColor, -0.3)) : tagColor; tagColor = isBright ? (this.settings.general.useBlackFont ? tagColor : BDFDB.ColorUtils.change(tagColor, -0.3)) : tagColor;
return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.BotTag, { return BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.BotTag, {