File tree Expand file tree Collapse file tree 3 files changed +18
-12
lines changed
apps/svelte.dev/src/lib/icons
packages/site-kit/src/lib Expand file tree Collapse file tree 3 files changed +18
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 495
495
}
496
496
497
497
&::after {
498
- background : url ( $lib/icons/chevron.svg ) 50 % 50 % no-repeat ;
499
- background-size : 2 rem ;
500
- rotate : 0 deg ;
501
- transition : rotate 0.2 s ;
498
+ background : #666 ;
499
+ mask : url ( icons/chevron ) 50 % 50 % no-repeat ;
500
+ mask-size : 2 rem ;
501
+ rotate : -90 deg ;
502
502
transition : rotate 0.2s ;
503
503
top : 0.2rem ;
504
504
right : 0.8rem ;
505
505
}
506
506
507
+ :root .dark &::after {
508
+ background : #d4d4d4 ;
509
+ }
510
+
507
511
&:has (summary :active )::after {
508
512
top : 0.3rem ;
509
513
right : 0.7rem ;
536
540
537
541
&[open ] {
538
542
&::after {
539
- rotate: 180 deg ;
543
+ rotate: 90 deg ;
540
544
}
541
545
542
546
& > summary {
Original file line number Diff line number Diff line change 98
98
top : calc (50% - 1rem );
99
99
width : 2rem ;
100
100
height : 2rem ;
101
- background : url ($lib/icons/chevron.svg );
102
- background-size : contain ;
103
- rotate : 0deg ;
101
+ background : #666 ;
102
+ mask : url (icons/chevron );
103
+ mask-size : contain ;
104
+ rotate : -90deg ;
104
105
transition : rotate 0.2s ;
105
106
}
106
107
108
+ :root .dark &::after {
109
+ background : #d4d4d4 ;
110
+ }
111
+
107
112
[open ] &::after {
108
- rotate : 180 deg ;
113
+ rotate : 90 deg ;
109
114
}
110
115
111
116
span :not (:last-child )::after {
You can’t perform that action at this time.
0 commit comments