File tree 1 file changed +29
-3
lines changed
1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change 8
8
--notice-enable-height-adjust : true;
9
9
--notice-icon-join : transparent;
10
10
--notice-icon-welcome : url ("https://discord.com/assets/7f809e89e310c87b2e3f.svg" );
11
+
12
+ --notice-text-heading : "" ;
13
+ --notice-text-join : "" ;
14
+ }
15
+
16
+
17
+ html {
18
+ & : is ([lang = "en-GB" ]),
19
+ & : is ([lang = "en-US" ]) {
20
+ --notice-text-heading : "Notice" !important ;
21
+ --notice-text-join : "Join Server" !important ;
22
+ }
23
+ & : is ([lang = "de" ]) {
24
+ --notice-text-heading : "Hinweis" !important ;
25
+ --notice-text-join : "Server beitreten" !important ;
26
+ }
27
+
28
+ & : is ([lang = "es-ES" ]) {
29
+ --notice-text-heading : "Aviso" !important ;
30
+ --notice-text-join : "Unirse al servidor" !important ;
31
+ }
32
+
33
+ & : is ([lang = "fr" ]) {
34
+ --notice-text-heading : "Avis" !important ;
35
+ --notice-text-join : "Rejoindre le serveur" !important ;
36
+ }
11
37
}
12
38
13
39
.base_a4d4d9 : has (.notice_be03aa ) {
82
108
text-align : left;
83
109
84
110
& : before {
85
- content : "Notice" ;
111
+ content : var ( --notice-text-heading ) ;
86
112
font-family : var (--font-primary );
87
113
font-size : 16px ;
88
114
font-weight : 600 ;
136
162
137
163
& : not (: has ([aria-label = "Loading" ])): before {
138
164
align-items : center;
139
- content : "Join Server" ;
165
+ content : var ( --notice-text-join ) ;
140
166
display : flex;
141
167
font-family : var (--font-primary );
142
168
font-size : 14px ;
220
246
}
221
247
}
222
248
}
223
- }
249
+ }
You can’t perform that action at this time.
0 commit comments