feat(ui): Dark Mode (#2493)

This commit is contained in:
Vithorio Polten
2024-05-24 22:28:39 -03:00
committed by GitHub
parent 2b18e4c73d
commit 4a9130126c
16 changed files with 246 additions and 62 deletions

View File

@@ -2,3 +2,15 @@
[v-cloak] {
display: none;
}
[data-bs-theme=dark] .element {
color: var(--bs-primary-text-emphasis);
background-color: var(--bs-primary-bg-subtle);
}
@media (prefers-color-scheme: dark) {
.element {
color: var(--bs-primary-text-emphasis);
background-color: var(--bs-primary-bg-subtle);
}
}

View File

@@ -337,6 +337,10 @@
"home": "Home",
"password": "Change Password",
"pin": "Pin",
"theme_auto": "Auto",
"theme_dark": "Dark",
"theme_light": "Light",
"toggle_theme": "Theme",
"troubleshoot": "Troubleshooting"
},
"password": {