feat(ui): Dark Mode (#2493)

This commit is contained in:
Vithorio Polten 2024-05-24 22:28:39 -03:00 • committed by GitHub
commit 4a9130126c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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": {