Skip to content

Commit c8ab86b

Browse files
committed
more
1 parent 419a35a commit c8ab86b

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

apps/svelte.dev/src/routes/(authed)/playground/[id]/AppControls.svelte

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,15 @@
272272
273273
&.login {
274274
width: auto;
275-
background-image: url($lib/icons/user-light.svg);
276-
background-position: 0.4rem 50%;
277-
padding: 0 0.4rem 0 2.8rem;
278-
279-
:root.dark & {
280-
background-image: url($lib/icons/user-dark.svg);
275+
padding: 0 0.4rem;
276+
277+
&::before {
278+
content: '';
279+
width: 1.8rem;
280+
height: 1.8rem;
281+
margin: 0 0.5rem 0 0;
282+
background: currentColor;
283+
mask: url(icons/user) no-repeat 50% 50%;
281284
}
282285
}
283286
}
File renamed without changes.

0 commit comments

Comments
 (0)