Skip to content

Commit 8beab03

Browse files
committed
Fixed Discord profile customization
1 parent f15a736 commit 8beab03

24 files changed

+96
-69
lines changed

src/core/_root.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
*/
6262
--window-padding: 20px; /* Spacing around the Discord window | DEFAULT: 20px */
6363
--window-roundness: 10px; /* Roundness of Discord | DEFAULT: 10px */
64-
--scrollbar-colour: rgba(255, 255, 255, 0.05); /* DEFAULT: rgba(255,255,255,0.05) */
64+
--scrollbar-colour: rgb(255, 255, 255, 0.05); /* DEFAULT: rgb(255,255,255,0.05) */
6565
--link-colour: #00b0f4; /* DEFAULT: #00b0f4 */
6666

6767
/*

src/theme/_vars.scss

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
:root {
22
// Frosted Glass variables
3-
--version: 'Frosted Glass 2.0.14';
3+
--version: 'Frosted Glass 2.0.15';
44

55
--TB-top: calc(var(--server-container) + var(--window-padding));
66
--TB-tr-roundness: var(--window-roundness);
77
--TB-position-top: var(--TB-top, var(--window-padding));
88
--TB-position-right: var(--window-padding);
9-
--tint: rgba(var(--tint-colour), var(--tint-brightness));
10-
--white-half: rgba(255, 255, 255, 0.025);
11-
--white: rgba(255, 255, 255, 0.05);
12-
--white-double: rgba(255, 255, 255, 0.1);
13-
--white-triple: rgba(255, 255, 255, 0.15);
9+
--tint: rgb(var(--tint-colour), var(--tint-brightness));
10+
--white-half: rgb(255, 255, 255, 0.025);
11+
--white: rgb(255, 255, 255, 0.05);
12+
--white-double: rgb(255, 255, 255, 0.1);
13+
--white-triple: rgb(255, 255, 255, 0.15);
1414
--gradient: linear-gradient(var(--gradient-direction), rgb(var(--gradient-primary)), rgb(var(--gradient-secondary)));
15-
--gradient-20: linear-gradient(var(--gradient-direction), rgba(var(--gradient-primary), 0.2), rgba(var(--gradient-secondary), 0.2));
16-
--gradient-50: linear-gradient(var(--gradient-direction), rgba(var(--gradient-primary), 0.5), rgba(var(--gradient-secondary), 0.5));
17-
--gradient-90: linear-gradient(var(--gradient-direction), rgba(var(--gradient-primary), 0.9), rgba(var(--gradient-secondary), 0.9));
15+
--gradient-20: linear-gradient(var(--gradient-direction), rgb(var(--gradient-primary), 0.2), rgb(var(--gradient-secondary), 0.2));
16+
--gradient-50: linear-gradient(var(--gradient-direction), rgb(var(--gradient-primary), 0.5), rgb(var(--gradient-secondary), 0.5));
17+
--gradient-90: linear-gradient(var(--gradient-direction), rgb(var(--gradient-primary), 0.9), rgb(var(--gradient-secondary), 0.9));
1818
--text-shadow: 1;
1919
--chat-embed: var(--background-secondary);
2020

@@ -50,36 +50,36 @@
5050
--interactive-active: #fff;
5151
--interactive-muted: #777;
5252
--background-primary: transparent;
53-
--background-secondary: rgba(0, 0, 0, 0.3);
53+
--background-secondary: rgb(0, 0, 0, 0.3);
5454
--background-secondary-alt: transparent;
5555
--background-tertiary: transparent;
5656
--background-accent: #4f545c;
5757
--background-floating: transparent;
5858
--background-mobile-primary: #36393f;
5959
--background-mobile-secondary: #2f3136;
60-
--background-modifier-hover: rgba(255, 255, 255, 0.05);
61-
--background-modifier-active: rgba(255, 255, 255, 0.07);
62-
--background-modifier-selected: rgba(255, 255, 255, 0.1);
63-
--background-modifier-accent: rgba(255, 255, 255, 0.1);
64-
--background-mentioned: rgba(250, 166, 26, 0.05);
65-
--background-mentioned-hover: rgba(250, 166, 26, 0.08);
66-
--background-message-hover: rgba(4, 4, 5, 0.07);
67-
--elevation-stroke: 0 0 0 1px rgba(4, 4, 5, 0.15);
68-
--elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), 0 2px 0 rgba(4, 4, 5, 0.05);
69-
--elevation-medium: 0 4px 4px rgba(0, 0, 0, 0.16);
70-
--elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24);
60+
--background-modifier-hover: rgb(255, 255, 255, 0.05);
61+
--background-modifier-active: rgb(255, 255, 255, 0.07);
62+
--background-modifier-selected: rgb(255, 255, 255, 0.1);
63+
--background-modifier-accent: rgb(255, 255, 255, 0.1);
64+
--background-mentioned: rgb(250, 166, 26, 0.05);
65+
--background-mentioned-hover: rgb(250, 166, 26, 0.08);
66+
--background-message-hover: rgb(4, 4, 5, 0.07);
67+
--elevation-stroke: 0 0 0 1px rgb(4, 4, 5, 0.15);
68+
--elevation-low: 0 1px 0 rgb(4, 4, 5, 0.2), 0 1.5px 0 rgb(6, 6, 7, 0.05), 0 2px 0 rgb(4, 4, 5, 0.05);
69+
--elevation-medium: 0 4px 4px rgb(0, 0, 0, 0.16);
70+
--elevation-high: 0 8px 16px rgb(0, 0, 0, 0.24);
7171
--logo-primary: #fff;
72-
--guild-header-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
73-
--channeltextarea-background: rgba(255, 255, 255, 0.05);
72+
--guild-header-text-shadow: 0 1px 1px rgb(0, 0, 0, 0.4);
73+
--channeltextarea-background: rgb(255, 255, 255, 0.05);
7474
--activity-card-background: #202225;
7575
--textbox-markdown-syntax: #8e9297;
76-
--deprecated-card-bg: rgba(0, 0, 0, 0.3);
77-
--deprecated-card-editable-bg: rgba(0, 0, 0, 0.3);
76+
--deprecated-card-bg: rgb(0, 0, 0, 0.3);
77+
--deprecated-card-editable-bg: rgb(0, 0, 0, 0.3);
7878
--deprecated-store-bg: #36393f;
7979
--deprecated-quickswitcher-input-background: var(--channeltextarea-background);
80-
--deprecated-quickswitcher-input-placeholder: rgba(255, 255, 255, 0.5);
81-
--deprecated-text-input-bg: rgba(0, 0, 0, 0.1);
82-
--deprecated-text-input-border: rgba(0, 0, 0, 0.3);
80+
--deprecated-quickswitcher-input-placeholder: rgb(255, 255, 255, 0.5);
81+
--deprecated-text-input-bg: rgb(0, 0, 0, 0.1);
82+
--deprecated-text-input-border: rgb(0, 0, 0, 0.3);
8383
--deprecated-text-input-border-hover: #040405;
8484
--deprecated-text-input-border-disabled: #202225;
8585
--deprecated-text-input-prefix: #dcddde;

src/theme/app/_app.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
position: absolute;
1515
height: 5px;
1616
width: 100%;
17-
background: linear-gradient(rgba(0, 0, 0, 0.2), transparent);
17+
background: linear-gradient(rgb(0, 0, 0, 0.2), transparent);
1818
z-index: 1;
1919
top: 48px;
2020
pointer-events: none;
@@ -50,5 +50,5 @@
5050
padding: 10px 0;
5151
box-sizing: border-box;
5252
background: rgb(var(--discord-blurple), 0.7);
53-
text-shadow: 0 2px 3px rgba(0, 0, 0, var(--text-shadow));
53+
text-shadow: 0 2px 3px rgb(0, 0, 0, var(--text-shadow));
5454
}

src/theme/app/_background.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
.modalRoot-1Kx4Hb,
3838
.container-3JTnYm.thin-1ybCId.scrollerBase-_bVAAt,
3939
.popoutContainer-2wbmiM,
40-
.root-1gCeng:not(.modal-3Crloo),
40+
.userProfileModalOuter-1FYL8T,
4141
.container-2O1UgZ,
4242
.container-18GwIk,
4343
.popout-TdhJ6Z {
@@ -51,7 +51,7 @@
5151
background-size: var(--fb-popout-modal-size, cover);
5252
background-attachment: var(--popout-modal-attachment, fixed);
5353
background-repeat: var(--popout-modal-repeat, no-repeat);
54-
box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, var(--overlay-brightness, var(--popout-modal-brightness)));
54+
box-shadow: inset 0 0 0 100vmax rgb(0, 0, 0, var(--overlay-brightness, var(--popout-modal-brightness)));
5555
height: calc(100% + var(--fb-popout-modal-blur) * 5);
5656
width: calc(100% + var(--fb-popout-modal-blur) * 5);
5757
top: calc(var(--fb-popout-modal-blur) / -1 * 2.5);

src/theme/app/_inputs.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
.actionRed-gYn8D3,
2020
.colorRed-1TFJan {
21-
background: rgba(var(--discord-red), 0.5);
21+
background: rgb(var(--discord-red), 0.5);
2222
border: none;
2323
color: #fff;
2424
transition: 0.2s ease;
@@ -28,7 +28,7 @@
2828
}
2929
}
3030
.lookFilled-1Gx00P.colorGreen-29iAKY {
31-
background: rgba(var(--discord-green), 0.4);
31+
background: rgb(var(--discord-green), 0.4);
3232
transition: 0.2s ease;
3333
&:active,
3434
&:hover {
@@ -53,7 +53,7 @@
5353
opacity: 1;
5454
}
5555
.lookOutlined-3sRXeN.colorBrand-3pXr91 {
56-
background: rgba(var(--discord-blurple), 0.3);
56+
background: rgb(var(--discord-blurple), 0.3);
5757
border: transparent;
5858
transition: 0.2s ease;
5959
color: #fff;
@@ -69,11 +69,11 @@
6969
border-color: transparent;
7070
color: var(--text-normal);
7171
&::placeholder {
72-
color: rgba(255, 255, 255, 0.5);
72+
color: rgb(255, 255, 255, 0.5);
7373
}
7474
}
7575
.bd-search::placeholder {
76-
color: rgba(255, 255, 255, 0.5);
76+
color: rgb(255, 255, 255, 0.5);
7777
}
7878
// Radio buttons
7979
.item-26Dhrx {
@@ -132,7 +132,7 @@
132132
border-color: transparent;
133133
}
134134
[class*='css'][class*='placeholder'] {
135-
color: rgba(255, 255, 255, 0.5);
135+
color: rgb(255, 255, 255, 0.5);
136136
opacity: 1;
137137
}
138138
// Range

src/theme/app/_notices.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
height: 48px;
2727
}
2828
.noticeStreamerMode-2TSQpg {
29-
background: rgba(var(--discord-twitch), 0.6);
29+
background: rgb(var(--discord-twitch), 0.6);
3030
}
3131
}

src/theme/chat/_call.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
}
1111
.controlButton-2PMNom.leaveButton-2YnTyt {
12-
background: rgba(var(--discord-red), 0.5);
12+
background: rgb(var(--discord-red), 0.5);
1313
&:hover {
1414
background: rgb(var(--discord-red));
1515
}

src/theme/chat/_container.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
content: none;
44
}
55
.chat-2ZfjoI {
6-
background: rgba(0, 0, 0, var(--middle-brightness));
6+
background: rgb(0, 0, 0, var(--middle-brightness));
77
}
88
.messages-3amgkR {
99
background-color: transparent;
10-
text-shadow: 0 2px 5px rgba(0, 0, 0, var(--text-shadow));
10+
text-shadow: 0 2px 5px rgb(0, 0, 0, var(--text-shadow));
1111
}
1212
.newMessagesBar-1hF-9G {
1313
background: var(--gradient);
1414
opacity: 1;
15-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
15+
box-shadow: 0 2px 5px rgb(0, 0, 0, 0.5);
1616
}
1717
.jumpToPresentBar-1cEnH0 {
1818
border-radius: 8px;

src/theme/guilds/_container.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#app-mount .guilds-2JjMmN {
22
background-color: transparent;
33
.scrollerBase-_bVAAt {
4-
background-color: rgba(0, 0, 0, var(--serverlist-brightness));
4+
background-color: rgb(0, 0, 0, var(--serverlist-brightness));
55
&::-webkit-scrollbar {
66
display: none;
77
}

src/theme/members/_container.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#app-mount {
22
.container-2o3qEW {
3-
background-color: rgba(0, 0, 0, var(--right-brightness));
3+
background-color: rgb(0, 0, 0, var(--right-brightness));
44
}
55
.members-3WRCEx {
66
background: transparent;

0 commit comments

Comments
 (0)