daisyui-colors

daisyui-colors is a skill for Claude Code, Codex from saadeghi/daisyui. It costs 18 tokens per session (1,964 once invoked), scanned A, original, MIT.

A reference for daisyUI 5 color names and their intended roles, such as primary, neutral, success, warning, and error. daisyUI is a Tailwind CSS component library.

In plain words
What is it for?
Use it when assigning colors to buttons, backgrounds, text, alerts, warnings, errors, and other interface states in a daisyUI project.
Why use it?
It prevents inconsistent color choices by explaining which color tokens belong to brands, surfaces, text, information, and status messages.

Skill for Claude CodeCodex

Part of the daisyui plugin — 7 skills shipped together

About the project

daisyUI is a library of ready-made interface components built for Tailwind CSS, a utility-based system for styling web pages. It helps web developers assemble consistent buttons, forms, navigation, and other UI elements. The catalogue entries provide add-ons for working with this component library.

saadeghi/daisyui · 42,294 stars · on GitHub · daisyui.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/saadeghi/daisyui/colors
Any agent
npx skills add saadeghi/daisyui --skill colors
Clone the repo
git clone --depth 1 https://github.com/saadeghi/daisyui

Made for: Claude Code, Codex.

Or install daisyui, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for daisyui-colors

README.md
[![agentmods](https://agentmods.dev/badge/skills/saadeghi/daisyui/colors.svg)](https://agentmods.dev/skills/saadeghi/daisyui/colors)
Your own site
<a href="https://agentmods.dev/skills/saadeghi/daisyui/colors"><img src="https://agentmods.dev/badge/skills/saadeghi/daisyui/colors.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,964 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.01964
Opus 5 $0.00009 $0.00982
Sonnet 5 $0.00004 $0.00393
Haiku 4.5 $0.00002 $0.00196

Measured 5d ago against content hash 655e2eef74d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

daisyui-colors scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/daisyui/colors/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

daisyUI 5 colors

daisyUI color names

  • primary: The main brand color.
  • primary-content: Foreground content color for use on primary.
  • secondary: An optional secondary brand color.
  • secondary-content: Foreground content color for use on secondary.
  • accent: An optional accent brand color.
  • accent-content: Foreground content color for use on accent.
  • neutral: A dark neutral color for UI areas that do not use saturated colors.
  • neutral-content: Foreground content color for use on neutral.
  • base-100: The page base-surface color for blank backgrounds.
  • base-200: A darker base shade that gives elevation.
  • base-300: A still darker base shade that gives more elevation.
  • base-content: Foreground content color for use on a base color.
  • info: Color for information and help messages.
  • info-content: Foreground content color for use on info.
  • success: Color for success and safe-state messages.
  • success-content: Foreground content color for use on success.
  • warning: Color for warning and caution messages.
  • warning-content: Foreground content color for use on warning.
  • error: Color for error, danger, and destructive-action messages.
  • error-content: Foreground content color for use on error.

daisyUI color rules

  1. daisyUI adds semantic color names to the Tailwind CSS colors.
  2. Use daisyUI color names in utility classes as you use other Tailwind CSS color names. For example, bg-primary uses the primary color for the background.
  3. The value of each daisyUI color name is a variable. Thus, the color can change with the theme.
  4. Do not use dark: with daisyUI color names.
  5. If possible, use only daisyUI color names. This lets colors change automatically with the theme.
  6. If you use a Tailwind CSS color name such as red-500, its color stays the same in all themes.
  7. If you use a daisyUI color name such as primary, its color changes with the theme.
  8. Avoid Tailwind CSS color names for text. For example, text-gray-800 on bg-base-100 becomes unreadable in a dark theme because bg-base-100 is dark.
  9. *-content colors must have clear contrast with their related colors.
  10. Use base-* colors for most of the page. Use the default variant for all elements. Use primary only for the most important element on the page. Use it only once.
  11. In rare cases, you can use a Tailwind CSS color if content must keep the same color in all themes. For example, you can use text-red-500 instead of text-error. For an SVG icon or chart, a fixed color can be necessary.

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 147 lines · 18 tokens per session scan A 655e2eef74d8

Subscribe to this mod's changes

daisyui-colors is a skill published in the GitHub repository saadeghi/daisyui (42,294 stars, last pushed 2d ago), licensed MIT. It adds 18 tokens to every session and 1,964 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

frontend-clean-ui

Activate when designing, building, or refactoring modern, accessible, high-contrast web user interfaces, SaaS dashboards, and landing pages with Tailwind CSS, design tokens, dark mode, and responsive flex/grid layouts — trigger phrasings include "build a modern UI for my web app", "redesign this dashboard to look…

ieeecsopen/mcp-cs · 132 tokens

seed-token-analysis

SEED Design 저장소의 한 색상 토큰을 현재 체크아웃 기준으로 읽기 전용 분석한다. Rootage 정의와 mode별 alias, 직접 의존 토큰, 컴포넌트 사용처, 생성 표면을 찾거나 WCAG 2.x 대비를 확인할 때 사용한다.

daangn/seed-design · 70 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

readable-measure

Set line length and measure for comfortable reading across type sizes and breakpoints. Use when tuning body text. Covers measure only — for the full size and weight scale, use typography-scale.

Owl-Listener/designer-skills · 44 tokens

von-restorff-effect

Apply the Von Restorff Effect — the element that differs from its neighbours is the one remembered. Use when a single action must dominate. For overall ordering rather than single-element emphasis, use visual-hierarchy.

Owl-Listener/designer-skills · 49 tokens

handoff-spec

Write the implementation handoff — measurements, behaviours, assets, states, and edge cases. Use when engineering picks up the work. For verifying the result afterwards use design-qa-checklist; for reusable library components use component-spec (design-systems).

Owl-Listener/designer-skills · 57 tokens