Skip to content

Commit 7872464

Browse files
committed
flip order of html defs in base
1 parent f120c19 commit 7872464

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/base.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
--accent: #fa986b;
1515
}
1616

17+
html[data-theme="dark"] {
18+
--background: rgb(52, 51, 58);
19+
--accent-background: rgb(81, 79, 90);
20+
--text: #d8d8d8;
21+
--text-light: #ffffff;
22+
}
23+
1724
html {
1825
font-family: var(--sans-font);
1926
scroll-behavior: smooth;
@@ -22,13 +29,6 @@ html {
2229
background: var(--background);
2330
}
2431

25-
html[data-theme="dark"] {
26-
--background: rgb(52, 51, 58);
27-
--accent-background: rgb(81, 79, 90);
28-
--text: #d8d8d8;
29-
--text-light: #ffffff;
30-
}
31-
3232
html.theme-switch,
3333
html.theme-switch *,
3434
html.theme-switch *:before,

0 commit comments

Comments
 (0)