Skip to content

Commit

Permalink
fix: dark mode not shown without class
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed Jan 28, 2024
1 parent bc6cd32 commit ae65cea
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 11 additions & 9 deletions src/global/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,17 @@
}

@media (prefers-color-scheme: dark) {
--surface: #1f2433;
--primary: #253151;
--accent: #dfddd7;
--on-accent: #223360;
--on: #f7faff;
--on-alt: #c0c0ca;
--success: #4ecb71;
--warning: #ff9601;
--error: #ff443b;
:root {
--surface: #1f2433;
--primary: #253151;
--accent: #dfddd7;
--on-accent: #223360;
--on: #f7faff;
--on-alt: #c0c0ca;
--success: #4ecb71;
--warning: #ff9601;
--error: #ff443b;
}
}
}

Expand Down

0 comments on commit ae65cea

Please sign in to comment.