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 131131 height : 1rem ;
132132 top : 0.1rem ;
133133 margin-right : 0.5rem ;
134- background : #676778 ;
134+ background : currentColor ;
135135 mask : url (icons/file ) 50% 50% no-repeat ;
136136 mask-size : 100% ;
137137 }
138-
139- :root .dark &::before {
140- background : #d4d4d4 ;
141- }
142138 }
143139
144140 .desktop {
Original file line number Diff line number Diff line change 305305 aspect-ratio : 1 ;
306306
307307 .icon {
308- background : #000000e0 ;
308+ background : currentColor ;
309309 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 ;
315311 }
316312 }
317313
Original file line number Diff line number Diff line change 7676 width : 1.8rem ;
7777 height : 1.8rem ;
7878 z-index : 9999 ;
79- background : #ccc ;
79+ background : var ( --sk-fg-4 ) ;
8080 mask : url (icons/runes-off ) no-repeat 50% 50% ;
8181 mask-size : contain ;
8282
83- :root.dark &:not(.active ) {
84- background : #777 ;
85- }
86-
8783 &.active {
8884 background : var (--sk-fg-accent );
8985 mask-image : url (icons/runes-on );
Original file line number Diff line number Diff line change 229229 height : 100% ;
230230 left : 0 ;
231231 top : 0 ;
232- background : #000000e0 ;
232+ background : currentColor ;
233233 mask : no-repeat 50% 50% / 1.6rem 1.6rem ;
234234 transition : opacity 0.2s ;
235235 transition-delay : 0.6s ;
236236 }
237237
238- :root .dark &::before ,
239- :root .dark &::after {
240- background : #ccc ;
241- }
242-
243238 &::before {
244239 mask-image : url (icons/copy-to-clipboard );
245240 }
335330 a .permalink {
336331 position : absolute !important ;
337332 display : block ;
338- background : #000000e0 ;
333+ background : var ( --sk-fg-1 ) ;
339334 mask : url (icons/hash ) 50% 50% no-repeat ;
340335 mask-size : 2.4rem 2.4rem ;
341336 width : 2.6rem ;
347342 scale : 0.8 ;
348343 }
349344
350- :root .dark & {
351- background : #ccc ;
352- }
353-
354345 @media (min-width : 768px ) {
355346 left: 1.6rem;
356347 opacity: 0;
Original file line number Diff line number Diff line change 136136 top : 0 ;
137137 left : 0 ;
138138 height : 100% ;
139- background : #000000e0 ;
139+ background : currentColor ;
140140 mask : url (icons/document ) no-repeat 50% 50% ;
141141 mask-size : 2rem ;
142142 }
145145 mask-image : url (icons/hash );
146146 }
147147
148- :root .dark & {
149- &::before {
150- background : #ccc ;
151- }
152- }
153-
154148 &:hover {
155149 --background : var (--sk-bg-3 );
156150 text-decoration : none ;
You can’t perform that action at this time.
0 commit comments