This commit is contained in:
Mirco Wittrien 2020-09-26 19:29:07 +02:00
parent 4f419ce351
commit 5a06f86365
2 changed files with 12 additions and 12 deletions

View File

@ -1074,7 +1074,7 @@ module.exports = (_ => {
BDFDB.DOMUtils.removeClass(icon, BDFDB.disCN.noticeicon); BDFDB.DOMUtils.removeClass(icon, BDFDB.disCN.noticeicon);
notice.insertBefore(icon, noticeMessage); notice.insertBefore(icon, noticeMessage);
} }
if (options.btn || options.button) notice.appendChild(BDFDB.DOMUtils.create(`<button class="${BDFDB.disCNS.noticebutton + BDFDB.disCN.titlesize14}">${options.btn || options.button}</button>`)); if (options.btn || options.button) notice.appendChild(BDFDB.DOMUtils.create(`<button class="${BDFDB.disCN.noticebutton}">${options.btn || options.button}</button>`));
if (options.id) notice.id = options.id.split(" ").join(""); if (options.id) notice.id = options.id.split(" ").join("");
if (options.selector) BDFDB.DOMUtils.addClass(notice, options.selector); if (options.selector) BDFDB.DOMUtils.addClass(notice, options.selector);
if (options.css) BDFDB.DOMUtils.appendLocalStyle("BDFDBcustomNotificationBar" + id, options.css); if (options.css) BDFDB.DOMUtils.appendLocalStyle("BDFDBcustomNotificationBar" + id, options.css);

View File

@ -2001,32 +2001,32 @@
"nitrostore": ["NitroStore", "applicationStore"], "nitrostore": ["NitroStore", "applicationStore"],
"nochannel": ["ChatWindow", "noChannel"], "nochannel": ["ChatWindow", "noChannel"],
"notice": ["Notice", "notice"], "notice": ["Notice", "notice"],
"noticebrand": ["Notice", ["noticeBrand", "colorBrand"]], "noticebrand": ["Notice", "colorBrand"],
"noticebutton": ["Notice", "button"], "noticebutton": ["Notice", "button"],
"noticecustom": ["Notice", "colorCustom"], "noticecustom": ["Notice", "colorCustom"],
"noticedanger": ["Notice", ["noticeDanger", "colorDanger"]], "noticedanger": ["Notice", "colorDanger"],
"noticedark": ["Notice", "colorDark"], "noticedark": ["Notice", "colorDark"],
"noticedefault": ["Notice", ["noticeDefault", "colorDefault"]], "noticedefault": ["Notice", "colorDefault"],
"noticedownload": ["Notice", ["noticeDownload", "colorDownload"]], "noticedownload": ["Notice", "colorDownload"],
"noticedismiss": ["Notice", ["dismiss", "closeButton"]], "noticedismiss": ["Notice", "closeButton"],
"noticeicon": ["NoticePlatform", "icon"], "noticeicon": ["NoticePlatform", "icon"],
"noticeiconandroid": ["NoticePlatform", "iconAndroid"], "noticeiconandroid": ["NoticePlatform", "iconAndroid"],
"noticeiconapple": ["NoticePlatform", "iconApple"], "noticeiconapple": ["NoticePlatform", "iconApple"],
"noticeiconwindows": ["NoticePlatform", "iconWindows"], "noticeiconwindows": ["NoticePlatform", "iconWindows"],
"noticeinfo": ["Notice", ["noticeInfo", "colorInfo"]], "noticeinfo": ["Notice", "colorInfo"],
"noticeneutral": ["Notice", "colorNeutral"], "noticeneutral": ["Notice", "colorNeutral"],
"noticenotification": ["Notice", ["noticeNotification", "colorNotification"]], "noticenotification": ["Notice", "colorNotification"],
"noticeplatformicon": ["NoticePlatform", "platformIcon"], "noticeplatformicon": ["NoticePlatform", "platformIcon"],
"noticepremium": ["Notice", ["noticePremium", "colorPremium"]], "noticepremium": ["Notice", "colorPremium"],
"noticepremiumaction": ["NoticePlatform", "premiumAction"], "noticepremiumaction": ["NoticePlatform", "premiumAction"],
"noticepremiumicon": ["NoticePlatform", "premiumIcon"], "noticepremiumicon": ["NoticePlatform", "premiumIcon"],
"noticepremiumlogo": ["NoticePlatform", "premiumLogo"], "noticepremiumlogo": ["NoticePlatform", "premiumLogo"],
"noticepremiumtext": ["NoticePlatform", "premiumText"], "noticepremiumtext": ["NoticePlatform", "premiumText"],
"noticepremiumtier1": ["Notice", "noticePremiumTier1"], "noticepremiumtier1": ["Notice", "noticePremiumTier1"],
"noticepremiumtier2": ["Notice", "noticePremiumTier2"], "noticepremiumtier2": ["Notice", "noticePremiumTier2"],
"noticespotify": ["Notice", ["noticeSpotify", "colorSpotify"]], "noticespotify": ["Notice", "colorSpotify"],
"noticestreamer": ["Notice", ["noticeStreamerMode", "colorStreamerMode"]], "noticestreamer": ["Notice", "colorStreamerMode"],
"noticesuccess": ["Notice", ["noticeSuccess", "colorSuccess"]], "noticesuccess": ["Notice", "colorSuccess"],
"noticetextlink": ["NoticePlatform", "textLink"], "noticetextlink": ["NoticePlatform", "textLink"],
"noticewrapper": ["BDFDB", "noticeWrapper"], "noticewrapper": ["BDFDB", "noticeWrapper"],
"note": ["SettingsItems", "note"], "note": ["SettingsItems", "note"],