一键导入
daisyui
Instructions on leveraging DaisyUI predefined components and handling theming.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Instructions on leveraging DaisyUI predefined components and handling theming.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Guidelines for writing and structuring Astro components, pages, layouts, routing, and data fetching in this project.
Instructions on how to run and fix formatting/linting using prettier and eslint.
Rules for structuring content, using frontmatter, and handling rich text formatting.
Best practices and conventions for styling the project using Tailwind CSS v4.
TypeScript conventions, strictness rules, and interface/type definitions.
基于 SOC 职业分类
| name | daisyui |
| description | Instructions on leveraging DaisyUI predefined components and handling theming. |
This project incorporates DaisyUI on top of Tailwind CSS for its component library.
btn, card, alert, modal, drawer) over building complex custom components from scratch using primitive Tailwind utilities.btn base class combined with variants like btn-primary, btn-outline, or btn-ghost.primary, secondary, accent, neutral, base-100, info, success, warning, error) via Tailwind utilities (e.g., text-primary, bg-base-200) to ensure compatibility with different themes.theme-change to handle theme switching. When adding new elements, make sure they adapt properly to dark/light modes relying on DaisyUI's CSS variables.navbar, footer, and hero for standard page sections to speed up development and maintain visual consistency.When generating or modifying components, relying on exact class names is critical. You MUST fetch and utilize the official DaisyUI LLM documentation for accurate utility class structures and layout setups.
https://daisyui.com/llms.txtIf encountering an issue with configuring or using a specific component, read the contents of this URL to retrieve the most up-to-date documentation.