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

Use media query for darkmode on login and onboarding (#6625)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Joakim Sørensen
2020-08-24 18:29:16 +02:00
committed by GitHub
parent 3ba31483f4
commit 47e9531972
6 changed files with 34 additions and 5 deletions

View File

@@ -22,6 +22,14 @@
.header img {
margin-right: 16px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #111111;
color: #e1e1e1;
--primary-text-color: #e1e1e1;
--secondary-text-color: #9b9b9b;
}
}
</style>
</head>
<body>