summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.css8
-rw-r--r--src/main.ts1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/app.css b/src/app.css
new file mode 100644
index 0000000..37131d3
--- /dev/null
+++ b/src/app.css
@@ -0,0 +1,8 @@
+@import "tailwindcss";
+
+/* DaisyUI v5 — enable the plugin AND bundle the dracula theme (set as default,
+ applied via <html data-theme="dracula">). Themes not listed here are NOT
+ bundled, so dracula must be named explicitly, not merely referenced. */
+@plugin "daisyui" {
+ themes: dracula --default;
+}
diff --git a/src/main.ts b/src/main.ts
index f58cfe2..9ebef3a 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -1,5 +1,6 @@
import { mount } from "svelte";
import App from "./App.svelte";
+import "./app.css";
const target = document.getElementById("app");
if (!target) {