fix: @use rules must be written before any other rules.

This commit is contained in:
huzibaca 2024-11-06 09:48:31 +08:00
parent 8a6ce0f0db
commit 97a030c22e
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302

View File

@ -1,3 +1,7 @@
@use "./layout.scss";
@use "./page.scss";
@use "./font.scss";
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
@ -43,10 +47,6 @@ body {
overflow: hidden;
}
@use "./layout.scss";
@use "./page.scss";
@use "./font.scss";
// @media (prefers-color-scheme: dark) {
// :root {
// background-color: rgba(18, 18, 18, 1);