Skip to content

Commit 0dea02a

Browse files
committed
more
1 parent c63342a commit 0dea02a

File tree

5 files changed

+7
-34
lines changed

5 files changed

+7
-34
lines changed

apps/svelte.dev/src/routes/tutorial/[...slug]/Sidebar.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,10 @@
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 {

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,13 +305,9 @@
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

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,10 @@
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);

packages/site-kit/src/lib/components/Text.svelte

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -229,17 +229,12 @@
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
}
@@ -335,7 +330,7 @@
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;
@@ -347,10 +342,6 @@
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;

packages/site-kit/src/lib/search/SearchResultList.svelte

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
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
}
@@ -145,12 +145,6 @@
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;

0 commit comments

Comments
 (0)