File tree Expand file tree Collapse file tree 5 files changed +7
-34
lines changed
apps/svelte.dev/src/routes/tutorial/[...slug] Expand file tree Collapse file tree 5 files changed +7
-34
lines changed Original file line number Diff line number Diff line change 131
131
height : 1rem ;
132
132
top : 0.1rem ;
133
133
margin-right : 0.5rem ;
134
- background : #676778 ;
134
+ background : currentColor ;
135
135
mask : url (icons/file ) 50% 50% no-repeat ;
136
136
mask-size : 100% ;
137
137
}
138
-
139
- :root .dark &::before {
140
- background : #d4d4d4 ;
141
- }
142
138
}
143
139
144
140
.desktop {
Original file line number Diff line number Diff line change 305
305
aspect-ratio : 1 ;
306
306
307
307
.icon {
308
- background : #000000e0 ;
308
+ background : currentColor ;
309
309
mask : url (icons/file-new ) 50% 50% no-repeat ;
310
- mask-size : 1em ;
311
-
312
- :root.dark & {
313
- background : #ccc ;
314
- }
310
+ mask-size : 1.2em ;
315
311
}
316
312
}
317
313
Original file line number Diff line number Diff line change 76
76
width : 1.8rem ;
77
77
height : 1.8rem ;
78
78
z-index : 9999 ;
79
- background : #ccc ;
79
+ background : var ( --sk-fg-4 ) ;
80
80
mask : url (icons/runes-off ) no-repeat 50% 50% ;
81
81
mask-size : contain ;
82
82
83
- :root.dark &:not(.active ) {
84
- background : #777 ;
85
- }
86
-
87
83
&.active {
88
84
background : var (--sk-fg-accent );
89
85
mask-image : url (icons/runes-on );
Original file line number Diff line number Diff line change 229
229
height : 100% ;
230
230
left : 0 ;
231
231
top : 0 ;
232
- background : #000000e0 ;
232
+ background : currentColor ;
233
233
mask : no-repeat 50% 50% / 1.6rem 1.6rem ;
234
234
transition : opacity 0.2s ;
235
235
transition-delay : 0.6s ;
236
236
}
237
237
238
- :root .dark &::before ,
239
- :root .dark &::after {
240
- background : #ccc ;
241
- }
242
-
243
238
&::before {
244
239
mask-image : url (icons/copy-to-clipboard );
245
240
}
335
330
a .permalink {
336
331
position : absolute !important ;
337
332
display : block ;
338
- background : #000000e0 ;
333
+ background : var ( --sk-fg-1 ) ;
339
334
mask : url (icons/hash ) 50% 50% no-repeat ;
340
335
mask-size : 2.4rem 2.4rem ;
341
336
width : 2.6rem ;
347
342
scale : 0.8 ;
348
343
}
349
344
350
- :root .dark & {
351
- background : #ccc ;
352
- }
353
-
354
345
@media (min-width : 768px ) {
355
346
left: 1.6rem;
356
347
opacity: 0;
Original file line number Diff line number Diff line change 136
136
top : 0 ;
137
137
left : 0 ;
138
138
height : 100% ;
139
- background : #000000e0 ;
139
+ background : currentColor ;
140
140
mask : url (icons/document ) no-repeat 50% 50% ;
141
141
mask-size : 2rem ;
142
142
}
145
145
mask-image : url (icons/hash );
146
146
}
147
147
148
- :root .dark & {
149
- &::before {
150
- background : #ccc ;
151
- }
152
- }
153
-
154
148
&:hover {
155
149
--background : var (--sk-bg-3 );
156
150
text-decoration : none ;
You can’t perform that action at this time.
0 commit comments