File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 159
159
class =" raised add-new"
160
160
onclick ={add_new }
161
161
aria-label =" add new component"
162
- title =" add new component"
163
- ></ button >
162
+ title =" add new component" >< span class = " icon " ></ span ></ button
163
+ >
164
164
165
165
<div class =" runes" >
166
166
<RunesInfo {runes } />
241
241
position : absolute ;
242
242
left : 0em ;
243
243
top : 0 ;
244
- background : url (. /file.svg ) 50% 50% no-repeat ;
244
+ background : url (icons /file ) 50% 50% no-repeat ;
245
245
background-size : 1em ;
246
246
}
247
247
303
303
.add-new {
304
304
height : 3.2rem ;
305
305
aspect-ratio : 1 ;
306
- background : url (./file-new.svg ) 50% 50% no-repeat ;
307
- background-size : 1em ;
306
+
307
+ .icon {
308
+ background : #000000e0 ;
309
+ mask : url (icons/file-new ) 50% 50% no-repeat ;
310
+ mask-size : 1em ;
311
+
312
+ :root.dark & {
313
+ background : #ccc ;
314
+ }
315
+ }
308
316
}
309
317
310
318
.runes {
You can’t perform that action at this time.
0 commit comments