💄 Add "Darker" theme
This commit is contained in:
@@ -16,7 +16,7 @@ import {
|
||||
} from "@/store";
|
||||
import { computed, ref } from "vue";
|
||||
|
||||
const autoThemes = { true: "dark", false: "light" };
|
||||
const autoThemes = { true: "darker", false: "light" };
|
||||
const autoTheme = ref("dark");
|
||||
const colorSchemeMedia = window.matchMedia("(prefers-color-scheme: dark)");
|
||||
autoTheme.value = autoThemes[colorSchemeMedia.matches];
|
||||
|
||||
Reference in New Issue
Block a user