Skip to content

Commit 826457a

Browse files
authored
Update sidebar-notice
Added notice background variable
1 parent cf4b7e6 commit 826457a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

discord/sidebar-notice/import.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
--notice-margin-left: 0px;
66
--notice-margin-right: auto;
77

8+
--notice-background: var(--background-secondary);
89
--notice-enable-height-adjust: true;
910
--notice-icon-join: transparent;
1011
--notice-icon-welcome: url("https://discord.com/assets/7f809e89e310c87b2e3f.svg");
@@ -53,7 +54,7 @@ html {
5354

5455
>div.notice_be03aa {
5556
align-content: space-between;
56-
background: var(--background-secondary);
57+
background: var(--notice-background);
5758
border-bottom: 1px solid var(--background-secondary);
5859
border-radius: 0;
5960
bottom: var(--notice-margin-bottom);
@@ -123,7 +124,7 @@ html {
123124
}
124125

125126
&:after {
126-
background: linear-gradient(158deg, transparent 0%, var(--background-secondary) 80%), linear-gradient(5deg, transparent 60%, var(--background-secondary) 90%), linear-gradient(74deg, transparent 3%, var(--background-secondary) 85%), var(--notice-icon);
127+
background: linear-gradient(158deg, transparent 0%, var(--notice-background) 80%), linear-gradient(5deg, transparent 60%, var(--notice-background) 90%), linear-gradient(74deg, transparent 3%, var(--notice-background) 85%), var(--notice-icon);
127128
background-position: top center;
128129
background-repeat: no-repeat;
129130
content: "";

0 commit comments

Comments
 (0)