본문으로 건너뛰기
cccskills
무료GitHub에 공개

daisyui-usage

MANDATORY usage rules for daisyUI 5

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin스타 39(GitHub 39 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

daisyUI 5 usage rules

  1. 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)
  2. Components can be customized using Tailwind CSS utility classes if the customization is not possible using the existing daisyUI classes. For example btn px-10 sets a custom horizontal padding to a btn
  3. 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 example btn bg-red-500! sets a custom background color to a btn forcefully. This is a last resort solution and should be used sparingly
  4. If a specific component or something similar to it doesn't exist in daisyUI, you can create your own component using Tailwind CSS utility
  5. when using Tailwind CSS flex and grid for layout, it should be responsive using Tailwind CSS responsive utility prefixes.
  6. Only allowed class names are existing daisyUI class names or Tailwind CSS utility classes.
  7. Ideally, you won't need to write any custom CSS. Using daisyUI class names or Tailwind CSS utility classes is preferred.
  8. Suggested - if you need placeholder images, use https://picsum.photos/200/300 with the size you want
  9. Suggested - when designing, don't add a custom font unless it's necessary
  10. Don't add bg-base-100 text-base-content to body unless it's necessary
  11. For design decisions, use Refactoring UI book best practices
  12. 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, prefer btn, 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 class
  • part: a child part of a component
  • style: sets a specific style to component or part
  • behavior: changes the behavior of component or part
  • color: sets a specific color to component or part
  • size: sets a specific size to component or part
  • placement: sets a specific placement to component or part
  • direction: sets a specific direction to component or part
  • modifier: modifies the component or part in a specific way
  • variant: prefixes for utility classes that conditionally apply styles. syntax is variant:utility-class

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

[OMX] Run an anti-slop cleanup/refactor/deslop workflow

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

analyze

무료

[OMX] 只读调查跨文件的行为、原因或架构问题,提供源码证据与不确定性。单文件查找无需此流程。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

ask

무료

[OMX] Ask a local external advisor CLI (Claude or Gemini) and capture a reusable artifact

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

autopilot

무료

[OMX] Supervise deep interview, consensus planning, and durable goal execution for explicit hands-off delivery.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

[OMX] Stateful validator-gated research loop with native-hook persistence

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

[OMX] Bounded best-practice research wrapper using official/upstream evidence first

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

Tenon-Net의 스킬 모두 보기

이 스킬의 문제 신고