用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/saadeghi/daisyui --skill daisyui-usage命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | daisyui-usage |
| description | Usage rules that you must use with daisyUI 5 |
btn px-10 sets custom horizontal padding on a btn.! to the end of the Tailwind utility. For example, btn bg-red-500! overrides the background color of a btn. Use this method only if other methods do not work. Do not use it frequently.flex or grid for a layout, add responsive utility prefixes.bg-base-100 text-base-content is not necessary, do not add it to the body.btn for a button. If the user does not request that variant, do not use btn btn-primary.Each daisyUI 5 class name is in one of these categories. These category names are for reference only. Do not use them in code.
component: The necessary component class.part: A child part of a component.style: Sets a specified style on a component or part.behavior: Changes the behavior of a component or part.color: Sets a specified color on a component or part.size: Sets a specified size on a component or part.placement: Sets a specified position for a component or part.direction: Sets a specified direction for a component or part.modifier: Changes the component or part in a specified way.variant: A prefix for a utility class that applies styles in specified conditions. The syntax is variant:utility-class.Use the Tailwind @utility directive to change a daisyUI component globally:
@utility btn {
@apply rounded-full;
}
bg-primary, border-base-300, and text-base-content/60.rounded-box, rounded-field, and rounded-selector use the radius tokens of the active theme.glass applies the daisyUI glass effect.--value and --digits. Radial progress uses --size and --thickness.daisyUI includes the properties, rootcolor, scrollbar, rootscrolllock, rootscrollgutter, and svg base modules. To exclude a module from the plugin configuration, use its module name:
@plugin "daisyui" {
exclude: rootscrollgutter;
}
Use include or exclude for library modules. For visual changes, use Tailwind utilities or @utility.