refactor: theming
This commit is contained in:
parent
9a77c7da2a
commit
a4d235b6fe
22 changed files with 351 additions and 39 deletions
10
app.vue
10
app.vue
|
@ -7,6 +7,9 @@ useHead({
|
|||
},
|
||||
],
|
||||
})
|
||||
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
isDark.value
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -24,7 +27,10 @@ html, body , #__nuxt{
|
|||
}
|
||||
|
||||
html.dark {
|
||||
background: #222;
|
||||
color: white;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
html {
|
||||
--at-apply: bg-base text-base;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue