feat: add theme provider, toggle, and beta badge components; update global styles for dark mode support

This commit is contained in:
Xi Zhang
2026-06-01 23:24:53 +01:00
parent 198edf5857
commit ab7e98cb6f
8 changed files with 246 additions and 55 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import tailwindcssAnimate from "tailwindcss-animate";
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
darkMode: ["class", '[data-joy-color-scheme="dark"]'],
darkMode: "class",
theme: {
extend: {
fontSize: {