Skip to main content

daisyui-config

Configuration options for daisyUI 5

来源信息

仓库
carverauto/serviceradar
最近来源活动
2026年6月14日 23:59
检测到的 SKILL.md 语言
英语
星标
919
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
daisyui-config
description
Configuration options for daisyUI 5
## Config daisyUI 5 config docs: https://daisyui.com/docs/config/ daisyUI without config: ```css @plugin "daisyui"; ``` daisyUI config with `light` theme only: ```css @plugin "daisyui" { themes: light --default; } ``` daisyUI with all the default configs: ```css @plugin "daisyui" { themes: light --default, dark --prefersdark; root: ":root"; include: ; exclude: ; prefix: ; logs: true; } ``` An example config: In below config, all the built-in themes are enabled while bumblebee is the default theme and synthwave is the prefersdark theme (default dark mode) All the other themes are enabled and can be used by adding `data-theme="THEME_NAME"` to the `<html>` element root scrollbar gutter is excluded. `daisy-` prefix is used for all daisyUI classes and console.log is disabled ```css @plugin "daisyui" { themes: light, dark, cupcake, bumblebee --default, emerald, corporate, synthwave --prefersdark, retro, cyberpunk, valentine, halloween, garden, forest, aqua, lofi, pastel, fantasy, wireframe, black, luxury, dracula, cmyk, autumn, business, acid, lemonade, night, coffee, winter, dim, nord, sunset, caramellatte, abyss, silk; root: ":root"; include: ; exclude: rootscrollgutter, checkbox; prefix: daisy-; logs: false; } ```
在 GitHub 查看