Skip to content

Commit

Permalink
fix(layout): temp fix to flashbang until we figure out the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
taroj1205 committed Jan 30, 2025
1 parent 262b869 commit b63c97f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ import Footer from '../components/Footer.astro'
box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
:root:not([data-theme]) {
--zen-paper: #202020;
--zen-dark: #f2f0e3;
--zen-muted: rgba(255, 255, 255, 0.05);
}
}

:root {
--zen-paper: #f2f0e3;
--zen-dark: #202020;
Expand All @@ -109,6 +117,7 @@ import Footer from '../components/Footer.astro'

html {
scroll-behavior: smooth;
color-scheme: light dark;
}

body,
Expand Down

0 comments on commit b63c97f

Please sign in to comment.