This commit is contained in:
Mirco Wittrien 2021-06-10 20:58:41 +02:00
parent f89a092584
commit 3fe6005737
3222 changed files with 352 additions and 282 deletions

View File

@ -7869,10 +7869,6 @@ module.exports = (_ => {
};
InternalBDFDB._processUserInfoNode = function (user, wrapper) {
if (!user || !wrapper) return;
LibraryModules.ImageEditUtils.getPrimaryColorForAvatar(BDFDB.UserUtils.getAvatar(user.id)).then(color => {
const rgb = BDFDB.ColorUtils.convert(color, "RGB");
if (rgb) wrapper.style.setProperty("--user-banner-color", rgb, "important");
});
if (InternalData.UserBackgrounds[user.id]) for (let property in InternalData.UserBackgrounds[user.id]) wrapper.style.setProperty(property, InternalData.UserBackgrounds[user.id][property], "important");
};
InternalBDFDB.processMessageHeader = function (e) {

View File

@ -1310,12 +1310,12 @@
"UploadModal": {"props": ["uploadModal", "bgScale"]},
"UserBadges": {"props": ["profileBadgeStaff", "profileBadgePremium"]},
"UserInfo": {"props": ["userInfo", "discordTag"]},
"UserBanner": {"props": ["popoutBanner", "popoutBannerPremium"]},
"UserPopout": {"props": ["userPopout", "rolesList"]},
"UserPopoutBanner": {"props": ["profileBanner", "profileBannerPremium"]},
"UserPopoutHeader": {"props": ["headerNormal", "avatarPositionNormal"]},
"UserPopoutInfo": {"props": ["headerTop", "profileBadges"]},
"UserProfile": {"props": ["root", "tabBarContainer"]},
"UserProfileHeader": {"props": ["headerInfo", "additionalActionsIcon"]},
"UserProfileHeader": {"props": ["header", "additionalActionsIcon"]},
"UserProfileInfoSection": {"props": ["userInfoSection", "connectedAccounts"]},
"UserProfileList": {"props": ["listAvatar", "listRow"]},
"UserSettingsAppearancePreview": {"props": ["preview", "firstMessage"]},
@ -2991,6 +2991,11 @@
"userbadges": ["UserBadges", "container"],
"userbadgescolored": ["UserBadges", "colored"],
"userbadgespopout": ["UserPopoutInfo", "profileBadges"],
"userbanner": ["UserBanner", "banner"],
"userbannerpopout": ["UserBanner", "popoutBanner"],
"userbannerpopoutpremium": ["UserBanner", "popoutBannerPremium"],
"userbannerprofile": ["UserBanner", "profileBanner"],
"userbannerprofilepremium": ["UserBanner", "profileBannerPremium"],
"userinfo": ["UserInfo", "userInfo"],
"userinfoavatar": ["UserInfo", "avatar"],
"userinfodate": ["BDFDB", "userInfoDate"],
@ -3013,9 +3018,6 @@
"userpopoutavatarwrappernonuserbot": ["UserPopoutHeader", "avatarWrapperNonUserBot"],
"userpopoutavatarwrapper": ["UserPopoutHeader", "avatarWrapper"],
"userpopoutavatarwrappernormal": ["UserPopoutHeader", "avatarWrapperNormal"],
"userpopoutbanner": ["UserPopoutBanner", "banner"],
"userpopoutbannernormal": ["UserPopoutBanner", "profileBanner"],
"userpopoutbannerpremium": ["UserPopoutBanner", "profileBannerPremium"],
"userpopoutbody": ["UserPopout", "body"],
"userpopoutbodyinnerwrapper": ["UserPopout", "bodyInnerWrapper"],
"userpopoutbodytitle": ["UserPopout", "bodyTitle"],

View File

@ -1,4 +1,4 @@
<html class="theme-dark platform-win">
<html class="theme-dark platform-win" style="font-size: 100%; --saturation-factor: 1;">
<head>
<style>.iframe-mode, .iframe-mode > *, .iframe-mode > * > *, .iframe-mode > * *, .iframe-mode * {-webkit-app-region: no-drag !important;}@font-face {font-family: Whitney;font-weight: 300;src: url(https://mwittrien.github.io/_res/fonts/Whitney300.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 400;src: url(https://mwittrien.github.io/_res/fonts/Whitney400.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 500;src: url(https://mwittrien.github.io/_res/fonts/Whitney500.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 600;src: url(https://mwittrien.github.io/_res/fonts/Whitney600.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 700;src: url(https://mwittrien.github.io/_res/fonts/Whitney700.woff) format("woff");}</style>
<script type="text/javascript" src="https://unpkg.com/react@16/umd/react.development.js"></script>
@ -2361,7 +2361,7 @@
<div class="REPLACE_CLASS_animationcontainerleft REPLACE_CLASS_animationcontainertranslate REPLACE_CLASS_animationcontainerrender">
<div aria-label="DevilBro" class="REPLACE_CLASS_userpopout" role="dialog" tabindex="-1" aria-modal="true" style="width: 300px;" data-user-id="278543574059057154">
<div class="REPLACE_CLASS_userpopoutheadernormal">
<div class="REPLACE_CLASS_userpopoutbannernormal" style="background-color: rgb(250, 166, 26);"></div>
<div class="REPLACE_CLASS_userbanner REPLACE_CLASS_userbannerpopout" style="background-color: hsl(0, calc(var(--saturation-factor, 1) * 81.6%), 59.6%);"></div>
<div class="REPLACE_CLASS_userpopoutheadertop">
<div class="REPLACE_CLASS_userbadges REPLACE_CLASS_userbadgespopout REPLACE_CLASS_userbadgescolored"></div>
<div class="REPLACE_CLASS_userpopoutheadertext">

View File

@ -22,11 +22,13 @@
}
.theme-dark, .theme-light {
--text-link: rgb(var(--linkcolor));
--text-link-low-saturation: rgb(var(--linkcolor));
--info-help-background: rgba(var(--linkcolor),.1);
--info-help-foreground: rgb(var(--linkcolor));
--info-help-text: #fff;
--focus-primary: rgb(var(--linkcolor));
--control-brand-foreground: rgb(var(--accentcolor)) !important;
--control-brand-foreground-new: rgb(var(--accentcolor)) !important;
--brand-experiment-100: #fdfdfd !important;
--brand-experiment-130: #f2f2f2 !important;
--brand-experiment-160: #ebebeb !important;
@ -2044,16 +2046,12 @@ a.metadataName-14STf- {
background-color: rgb(114, 118, 125) !important;
transition: background-color .1s ease-out;
} /* switch checked */
.container-3auIfb[style*="background-color: rgb(67, 181, 129)"],
.container-3auIfb[style*="background-color: rgb(59, 165, 92)"],
.container-3auIfb[style*="background-color: rgb(88, 101, 242)"],
.container-3auIfb[style*="background-color: rgb(114, 137, 218)"] {
.container-3auIfb[style*="background-color: hsl(139, "],
.container-3auIfb[style*="background-color: hsl(227, "] {
background-color: rgba(var(--accentcolor), 0.8) !important;
}
.container-3auIfb[style*="background-color: rgb(67, 181, 129)"]:hover,
.container-3auIfb[style*="background-color: rgb(59, 165, 92)"]:hover,
.container-3auIfb[style*="background-color: rgb(88, 101, 242)"]:hover,
.container-3auIfb[style*="background-color: rgb(114, 137, 218)"]:hover {
.container-3auIfb[style*="background-color: hsl(139, "]:hover,
.container-3auIfb[style*="background-color: hsl(227, "]:hover {
background: var(--accentcolor-hover) !important;
}
#app-mount .container-3auIfb:active {
@ -2062,10 +2060,8 @@ a.metadataName-14STf- {
.container-3auIfb path[fill] {
fill: rgb(114, 118, 125) !important;
}
.container-3auIfb[style*="background-color: rgb(67, 181, 129)"] path[fill],
.container-3auIfb[style*="background-color: rgb(59, 165, 92)"] path[fill],
.container-3auIfb[style*="background-color: rgb(88, 101, 242)"] path[fill],
.container-3auIfb[style*="background-color: rgb(114, 137, 218)"] path[fill],
.container-3auIfb[style*="background-color: hsl(139, "] path[fill],
.container-3auIfb[style*="background-color: hsl(227, "] path[fill],
.container-3auIfb:active path[fill] {
fill: rgb(var(--accentcolor)) !important;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Some files were not shown because too many files have changed in this diff Show More