daisyui-usage
БесплатноБез исполняемых скриптовНе проверенMANDATORY usage rules for daisyUI 5
от Tenon-Net★ 47 звёзд на GitHubОб этом скилле
daisyUI 5 usage rules
- We can give styles to a HTML element by adding daisyUI class names to it. By adding a component class name, part class names (if there's any available for that component), and modifier class names (if there's any available for that component)
- Components can be customized using Tailwind CSS utility classes if the customization is not possible using the existing daisyUI classes. For example
btn px-10sets a custom horizontal padding to abtn - If customization of daisyUI styles using Tailwind CSS utility classes didn't work because of CSS specificity issues, you can use the
!at the end of the Tailwind CSS utility class to override the existing styles. For examplebtn bg-red-500!sets a custom background color to abtnforcefully. This is a last resort solution and should be used sparingly - If a specific component or something similar to it doesn't exist in daisyUI, you can create your own component using Tailwind CSS utility
- when using Tailwind CSS
flexandgridfor layout, it should be responsive using Tailwind CSS responsive utility prefixes. - Only allowed class names are existing daisyUI class names or Tailwind CSS utility classes.
- Ideally, you won't need to write any custom CSS. Using daisyUI class names or Tailwind CSS utility classes is preferred.
- Suggested - if you need placeholder images, use https://picsum.photos/200/300 with the size you want
- Suggested - when designing, don't add a custom font unless it's necessary
- Don't add
bg-base-100 text-base-contentto body unless it's necessary - For design decisions, use Refactoring UI book best practices
- Always use the default variant of daisyUI components unless the user asked for a specific variant or color. For example when you need a button, do not use
btn btn-primary, preferbtn, unless the user asked for a specific variant.
daisyUI 5 class names are one of the following categories. These type names are only for reference and are not used in the actual code
component: the required component classpart: a child part of a componentstyle: sets a specific style to component or partbehavior: changes the behavior of component or partcolor: sets a specific color to component or partsize: sets a specific size to component or partplacement: sets a specific placement to component or partdirection: sets a specific direction to component or partmodifier: modifies the component or part in a specific wayvariant: prefixes for utility classes that conditionally apply styles. syntax isvariant:utility-class
Установить daisyui-usage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл daisyui-usage?
MANDATORY usage rules for daisyUI 5
Как установить скилл daisyui-usage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл daisyui-usage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic