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

daisyui-usage

Usage rules that you must use with daisyUI 5

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.3 KB

SKILL.md(원문)

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

daisyUI 5 usage rules

  1. To style an HTML element, add daisyUI class names to it. Add the necessary component class name. Also add the applicable part and modifier class names.
  2. If the current daisyUI classes cannot make a necessary change, use Tailwind CSS utility classes. For example, btn px-10 sets custom horizontal padding on a btn.
  3. If CSS specificity prevents a change to a daisyUI style, add ! 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.
  4. If daisyUI does not have an applicable component, make a component with Tailwind CSS utilities.
  5. When you use Tailwind CSS flex or grid for a layout, add responsive utility prefixes.
  6. Use only current daisyUI class names or Tailwind CSS utility classes.
  7. If custom CSS is not necessary, do not write it. If possible, use daisyUI class names or Tailwind CSS utility classes.
  8. If you need placeholder images, use https://picsum.photos/200/300 with the necessary dimensions.
  9. If a custom font is not necessary, do not add one.
  10. If bg-base-100 text-base-content is not necessary, do not add it to the body.
  11. For design decisions, use the methods in the Refactoring UI book.
  12. If the user does not request a variant or color, use the default variant. For example, use 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.

Change a component in CSS

Use the Tailwind @utility directive to change a daisyUI component globally:

@utility btn {
  @apply rounded-full;
}

daisyUI utilities and variables

  • You can use semantic colors with Tailwind color utilities and opacity modifiers. Examples are 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.
  • Some components supply CSS variables for component-specific changes. Countdown uses --value and --digits. Radial progress uses --size and --thickness.

Base modules

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.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

daisyui

무료

Official daisyUI component-library skill for Tailwind CSS. When you write HTML or JSX code, you must use it. Even if the user does not request it, use it.

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

oqtopus-team/qdash542026년 10월 19일 업데이트

Color rules that you must use with daisyUI 5

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

oqtopus-team/qdash542026년 10월 19일 업데이트

Configuration options for daisyUI 5

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

oqtopus-team/qdash542026년 10월 19일 업데이트

Installation instructions for daisyUI 5

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

oqtopus-team/qdash542026년 10월 19일 업데이트

qdash

무료

Work with a running QDash instance through qdash-client and saved local profiles. Use when an agent needs to inspect chips, metrics, task results, calibration data, provenance, issues, flows, executions, project files, project-scoped QDash API data, or OpenAPI endpoints from QDash using qdash-client, ~/.config/qdash/config.ini, XDG_CONFIG_HOME/qdash/config.ini, QDASH_* environment variables, or a local oqtopus-team/qdash checkout.

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

oqtopus-team/qdash542026년 10월 19일 업데이트

oqtopus-team의 스킬 모두 보기

이 스킬의 문제 신고