stuff
This commit is contained in:
parent
4f419ce351
commit
5a06f86365
|
@ -1074,7 +1074,7 @@ module.exports = (_ => {
|
|||
BDFDB.DOMUtils.removeClass(icon, BDFDB.disCN.noticeicon);
|
||||
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.selector) BDFDB.DOMUtils.addClass(notice, options.selector);
|
||||
if (options.css) BDFDB.DOMUtils.appendLocalStyle("BDFDBcustomNotificationBar" + id, options.css);
|
||||
|
|
|
@ -2001,32 +2001,32 @@
|
|||
"nitrostore": ["NitroStore", "applicationStore"],
|
||||
"nochannel": ["ChatWindow", "noChannel"],
|
||||
"notice": ["Notice", "notice"],
|
||||
"noticebrand": ["Notice", ["noticeBrand", "colorBrand"]],
|
||||
"noticebrand": ["Notice", "colorBrand"],
|
||||
"noticebutton": ["Notice", "button"],
|
||||
"noticecustom": ["Notice", "colorCustom"],
|
||||
"noticedanger": ["Notice", ["noticeDanger", "colorDanger"]],
|
||||
"noticedanger": ["Notice", "colorDanger"],
|
||||
"noticedark": ["Notice", "colorDark"],
|
||||
"noticedefault": ["Notice", ["noticeDefault", "colorDefault"]],
|
||||
"noticedownload": ["Notice", ["noticeDownload", "colorDownload"]],
|
||||
"noticedismiss": ["Notice", ["dismiss", "closeButton"]],
|
||||
"noticedefault": ["Notice", "colorDefault"],
|
||||
"noticedownload": ["Notice", "colorDownload"],
|
||||
"noticedismiss": ["Notice", "closeButton"],
|
||||
"noticeicon": ["NoticePlatform", "icon"],
|
||||
"noticeiconandroid": ["NoticePlatform", "iconAndroid"],
|
||||
"noticeiconapple": ["NoticePlatform", "iconApple"],
|
||||
"noticeiconwindows": ["NoticePlatform", "iconWindows"],
|
||||
"noticeinfo": ["Notice", ["noticeInfo", "colorInfo"]],
|
||||
"noticeinfo": ["Notice", "colorInfo"],
|
||||
"noticeneutral": ["Notice", "colorNeutral"],
|
||||
"noticenotification": ["Notice", ["noticeNotification", "colorNotification"]],
|
||||
"noticenotification": ["Notice", "colorNotification"],
|
||||
"noticeplatformicon": ["NoticePlatform", "platformIcon"],
|
||||
"noticepremium": ["Notice", ["noticePremium", "colorPremium"]],
|
||||
"noticepremium": ["Notice", "colorPremium"],
|
||||
"noticepremiumaction": ["NoticePlatform", "premiumAction"],
|
||||
"noticepremiumicon": ["NoticePlatform", "premiumIcon"],
|
||||
"noticepremiumlogo": ["NoticePlatform", "premiumLogo"],
|
||||
"noticepremiumtext": ["NoticePlatform", "premiumText"],
|
||||
"noticepremiumtier1": ["Notice", "noticePremiumTier1"],
|
||||
"noticepremiumtier2": ["Notice", "noticePremiumTier2"],
|
||||
"noticespotify": ["Notice", ["noticeSpotify", "colorSpotify"]],
|
||||
"noticestreamer": ["Notice", ["noticeStreamerMode", "colorStreamerMode"]],
|
||||
"noticesuccess": ["Notice", ["noticeSuccess", "colorSuccess"]],
|
||||
"noticespotify": ["Notice", "colorSpotify"],
|
||||
"noticestreamer": ["Notice", "colorStreamerMode"],
|
||||
"noticesuccess": ["Notice", "colorSuccess"],
|
||||
"noticetextlink": ["NoticePlatform", "textLink"],
|
||||
"noticewrapper": ["BDFDB", "noticeWrapper"],
|
||||
"note": ["SettingsItems", "note"],
|
||||
|
|
Loading…
Reference in New Issue