1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-19 08:20:41 +01:00

Apply dark style on init when prefers-color-scheme: dark (#8997)

This commit is contained in:
Bram Kragten
2021-04-26 23:54:47 +02:00
committed by GitHub
parent 7e0522c3b3
commit dd4efe0f51
7 changed files with 53 additions and 16 deletions

View File

@@ -23,11 +23,9 @@
margin-right: 16px;
}
@media (prefers-color-scheme: dark) {
body {
html {
background-color: #111111;
color: #e1e1e1;
--primary-text-color: #e1e1e1;
--secondary-text-color: #9b9b9b;
}
}
</style>