mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Remove dark mode warning again
There weren't any problems reported, so I guess it looks okay.
This commit is contained in:
@@ -960,25 +960,6 @@ img {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
/* Note that dark mode is experimental */
|
||||
|
||||
.dark-mode-note {
|
||||
display: none;
|
||||
}
|
||||
[data-theme="dark"] .dark-mode-note {
|
||||
display: block;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
/* defaults to dark theme */
|
||||
.dark-mode-note {
|
||||
display: block;
|
||||
}
|
||||
/* Override dark mode with light mode styles if the user decides to swap */
|
||||
[data-theme="light"] .dark-mode-note {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Manual switch between dark and light mode */
|
||||
|
||||
.theme-switch {
|
||||
|
||||
Reference in New Issue
Block a user