Skip to content

Commit cd50eb9

Browse files
committed
more
1 parent 466044d commit cd50eb9

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed
File renamed without changes.

packages/repl/src/lib/Input/ComponentSelector.svelte

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@
159159
class="raised add-new"
160160
onclick={add_new}
161161
aria-label="add new component"
162-
title="add new component"
163-
></button>
162+
title="add new component"><span class="icon"></span></button
163+
>
164164

165165
<div class="runes">
166166
<RunesInfo {runes} />
@@ -241,7 +241,7 @@
241241
position: absolute;
242242
left: 0em;
243243
top: 0;
244-
background: url(./file.svg) 50% 50% no-repeat;
244+
background: url(icons/file) 50% 50% no-repeat;
245245
background-size: 1em;
246246
}
247247
@@ -303,8 +303,16 @@
303303
.add-new {
304304
height: 3.2rem;
305305
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+
}
308316
}
309317
310318
.runes {

0 commit comments

Comments
 (0)