mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 18:00:22 +00:00
Added dark mode
This commit is contained in:
@@ -10,6 +10,7 @@ export class UserSettings {
|
||||
|
||||
set(key: string, value: boolean) {
|
||||
localStorage.setItem(key, value ? "true" : "false");
|
||||
document.body.classList.toggle("dark");
|
||||
}
|
||||
|
||||
emojis() {
|
||||
|
||||
Reference in New Issue
Block a user