Dark mode
การตั้งค่า Config ใน UnoCSS
ts
import { defineConfig, presetWind } from "unocss";
export default defineConfig({
presets: [
presetWind(),
],
theme: {
colors: {
brand: "#1e40af",
},
},
rules: [
["custom-rule", { color: "purple" }],
],
});