Skip to content

Commit 7d7157f

Browse files
author
Rich Harris
committed
dark mode
1 parent c487f95 commit 7d7157f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

content/tutorial/03-advanced-svelte/09-special-elements/01-svelte-self/app-a/src/lib/Folder.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
padding: 0 0 0 1.5em;
3232
background: url(/tutorial/icons/folder.svg) 0 0.1em no-repeat;
3333
background-size: 1em 1em;
34-
color: #222;
34+
color: var(--fg-1);
3535
font-weight: bold;
3636
cursor: pointer;
3737
border: none;
@@ -46,7 +46,7 @@
4646
padding: 0.2em 0 0 0.5em;
4747
margin: 0 0 0 0.5em;
4848
list-style: none;
49-
border-left: 1px solid #eee;
49+
border-left: 1px solid rgba(128, 128, 128, 0.4);
5050
}
5151
5252
li {

content/tutorial/03-advanced-svelte/09-special-elements/01-svelte-self/app-b/src/lib/Folder.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
padding: 0 0 0 1.5em;
3232
background: url(/tutorial/icons/folder.svg) 0 0.1em no-repeat;
3333
background-size: 1em 1em;
34-
color: #222;
34+
color: var(--fg-1);
3535
font-weight: bold;
3636
cursor: pointer;
3737
border: none;
@@ -46,7 +46,7 @@
4646
padding: 0.2em 0 0 0.5em;
4747
margin: 0 0 0 0.5em;
4848
list-style: none;
49-
border-left: 1px solid #eee;
49+
border-left: 1px solid rgba(128, 128, 128, 0.4);
5050
}
5151
5252
li {

0 commit comments

Comments
 (0)