Skip to content

Commit

Permalink
Pas de darkmode (problème avec Pagefind)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfriedli committed Jan 15, 2025
1 parent 8bd0b6a commit b3a204a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
color-scheme: light dark;
color-scheme: light;

--background: #F8F8F8;
--light: #DDD;
Expand All @@ -12,6 +12,7 @@
color: var(--text);
}

/* désactivé: problème avec PageFind
@media (prefers-color-scheme:dark) {
:root {
--background: #000;
Expand All @@ -23,12 +24,12 @@
color: var(--background);
}
}
*/

/*
à ajouter quand sera valide (selon le validateur W3C)
@view-transition {
navigation: auto;
}
/* Pas encore valide W3
@view-transition {
navigation: auto;
}
*/

html {
Expand Down

0 comments on commit b3a204a

Please sign in to comment.