theme
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!doctype html>
|
||||
<html lang="en" data-theme="silk">
|
||||
<html lang="en" data-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
const htmlElement = document.querySelector("html")
|
||||
const lightMode = htmlElement?.dataset.theme
|
||||
const darkMode = "abyss"
|
||||
const darkMode = "business"
|
||||
|
||||
const isInitiallyDark = JSON.parse(localStorage.getItem("is-dark") ?? "false")
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
--notyf-margin: 0.5rem;
|
||||
}
|
||||
|
||||
[data-theme="silk"] {
|
||||
[data-theme="light"] {
|
||||
--color-contrast-content: var(--color-success-content);
|
||||
}
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
|
||||
@plugin 'daisyui' {
|
||||
themes:
|
||||
silk --default,
|
||||
abyss --prefersdark;
|
||||
light --default,
|
||||
business --prefersdark;
|
||||
}
|
||||
|
||||
@config '../../tailwind.config.js';
|
||||
|
||||
Reference in New Issue
Block a user