UI Styling
Ohh-889/skyroc
Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.
Rules for using daisyUI 5's semantic color names, such as primary and base-100, so interfaces stay readable across themes.
$ npx skills add saadeghi/daisyui --skill daisyui-colors -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install saadeghi/daisyui daisyui-colors --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/saadeghi/daisyui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/daisyui/colors .claude/skills/daisyui-colors && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "daisyui-colors" agent skill from https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colors into .claude/skills/daisyui-colors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "daisyui-colors", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colorsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add saadeghi/daisyui --skill daisyui-colors -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install saadeghi/daisyui daisyui-colors --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/saadeghi/daisyui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/daisyui/colors .agents/skills/daisyui-colors && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "daisyui-colors" agent skill from https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colors into .agents/skills/daisyui-colors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "daisyui-colors", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add saadeghi/daisyui --skill daisyui-colors -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install saadeghi/daisyui daisyui-colors --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/saadeghi/daisyui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/daisyui/colors .cursor/skills/daisyui-colors && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "daisyui-colors" agent skill from https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colors into .cursor/skills/daisyui-colors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "daisyui-colors", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/saadeghi/daisyui.git --path skills/daisyui/colors--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add saadeghi/daisyui --skill daisyui-colors -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install saadeghi/daisyui daisyui-colors --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/saadeghi/daisyui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/daisyui/colors .gemini/skills/daisyui-colors && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "daisyui-colors" agent skill from https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colors into .gemini/skills/daisyui-colors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "daisyui-colors", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install saadeghi/daisyui daisyui-colorsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add saadeghi/daisyui --skill daisyui-colors -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/saadeghi/daisyui.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/daisyui/colors .github/skills/daisyui-colors && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "daisyui-colors" agent skill from https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colors into .github/skills/daisyui-colors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "daisyui-colors", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add saadeghi/daisyui --skill daisyui-colors -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install saadeghi/daisyui daisyui-colors --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/saadeghi/daisyui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/daisyui/colors .opencode/skills/daisyui-colors && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "daisyui-colors" agent skill from https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/colors into .opencode/skills/daisyui-colors/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "daisyui-colors", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
daisyui-colorsRules for using daisyUI 5's semantic color names, such as primary and base-100, so interfaces stay readable across themes.
The skill lists daisyUI's semantic color names: primary, secondary, accent and neutral with matching content colors, three base surface shades with base-content, and info, success, warning and error with their content colors. They are used in Tailwind utility classes such as bg-primary, and each one is a variable whose value changes with the theme.
The rules follow from that: do not combine daisyUI colors with the dark prefix, prefer daisyUI names over Tailwind color names because those stay fixed in every theme and can leave text unreadable on a dark base, keep content colors in clear contrast with their surfaces, and use base colors for most of the page while reserving primary for the single most important element.
11 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8c24218. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are css and html).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
daisyui.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
DaisyUI 5 Color Rules loads about 1.7k tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 586 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from saadeghi/daisyui at commit 8c24218, republished under its MIT licence (© saadeghi). 586 words, ~1,725 tokens.
.claude/skills/daisyui-colors/SKILL.md (or your agent's skills folder).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.bg-primary uses the primary color for the background.dark: with daisyUI color names.red-500, its color stays the same in all themes.primary, its color changes with the theme.text-gray-800 on bg-base-100 becomes unreadable in a dark theme because bg-base-100 is dark.*-content colors must have clear contrast with their related colors.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.text-red-500 instead of text-error. For an SVG icon or chart, a fixed color can be necessary.The default configuration enables light and dark. In the daisyUI plugin, select specified themes, all themes, or no built-in themes:
@plugin "daisyui" {
themes: light --default, dark --prefersdark, cupcake;
}themes: all; to enable all built-in themes.themes: false; to disable all built-in themes. Usually, do this before you define only custom themes.data-theme="THEME_NAME" to <html> or a nested element. You can nest themes with no depth limit.<html data-theme="dark">
<section data-theme="light">
<div data-theme="retro">Nested theme</div>
</section>
</html>A CSS file that contains Tailwind CSS, daisyUI, and a custom daisyUI theme has this structure:
@import "tailwindcss";
@plugin "daisyui";
@plugin "daisyui/theme" {
name: "mytheme";
default: true; /* set as default */
prefersdark: false; /* set as default dark mode (prefers-color-scheme:dark) */
color-scheme: light; /* color of browser-provided UI */
--color-base-100: oklch(98% 0.02 240);
--color-base-200: oklch(95% 0.03 240);
--color-base-300: oklch(92% 0.04 240);
--color-base-content: oklch(20% 0.05 240);
--color-primary: oklch(55% 0.3 240);
--color-primary-content: oklch(98% 0.01 240);
--color-secondary: oklch(70% 0.25 200);
--color-secondary-content: oklch(98% 0.01 200);
--color-accent: oklch(65% 0.25 160);
--color-accent-content: oklch(98% 0.01 160);
--color-neutral: oklch(50% 0.05 240);
--color-neutral-content: oklch(98% 0.01 240);
--color-info: oklch(70% 0.2 220);
--color-info-content: oklch(98% 0.01 220);
--color-success: oklch(65% 0.25 140);
--color-success-content: oklch(98% 0.01 140);
--color-warning: oklch(80% 0.25 80);
--color-warning-content: oklch(20% 0.05 80);
--color-error: oklch(65% 0.3 30);
--color-error-content: oklch(98% 0.01 30);
--radius-selector: 1rem; /* border radius of selectors (checkbox, toggle, badge) */
--radius-field: 0.25rem; /* border radius of fields (button, input, select, tab) */
--radius-box: 0.5rem; /* border radius of boxes (card, modal, alert) */
/* preferred values for --radius-* : 0rem, 0.25rem, 0.5rem, 1rem, 2rem */
--size-selector: 0.25rem; /* base size of selectors (checkbox, toggle, badge). Value must be 0.25rem unless we intentionally want bigger selectors. If so it can be 0.28125 or 0.3125. If we intentionally want smaller selectors, it can be 0.21875 or 0.1875 */
--size-field: 0.25rem; /* base size of fields (button, input, select, tab). Value must be 0.25rem unless we intentionally want bigger fields. If so it can be 0.28125 or 0.3125. If we intentionally want smaller fields, it can be 0.21875 or 0.1875 */
--border: 1px; /* border size. Value must be 1px unless we intentionally want thicker borders. If so it can be 1.5px or 2px. If we intentionally want thinner borders, it can be 0.5px */
--depth: 1; /* only 0 or 1 - Adds a shadow and subtle 3D depth effect to components */
--noise: 0; /* only 0 or 1 - Adds a subtle noise (grain) effect to components */
}Optional: Use the visual tool at https://daisyui.com/theme-generator/ to make a custom theme.
Use the built-in theme name. Change only the necessary values. daisyUI inherits the other values:
@plugin "daisyui/theme" {
name: "light";
default: true;
--color-primary: blue;
--color-secondary: teal;
}For a custom CDN theme, define the same variables in a selector. The selector must match the selected data-theme and theme controller:
:root:has(input.theme-controller[value=mytheme]:checked),
[data-theme="mytheme"] {
color-scheme: light;
--color-primary: oklch(55% 0.3 240);
/* define the remaining custom-theme variables */
}To make the Tailwind dark: variant follow one or more daisyUI themes, define a custom variant:
@custom-variant dark (&:where([data-theme=night], [data-theme=night] *));© saadeghi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/daisyui/colors of saadeghi/daisyui.
Open the folder on GitHubat commit 8c24218
DaisyUI 5 Color Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| DaisyUI 5 Color Rules this skillsaadeghi/daisyui | 43k | — | ~1.7k | Automated safety check: Pass | MIT | |
| UI StylingOhh-889/skyroc | 795 | 13 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Tailwind CSS Patternsever-works/ever-works | 162 | 3 repos | ~1.6k | Automated safety check: Notes | AGPL-3.0 | |
| Tailwind V4 Shadcnever-works/ever-works | 162 | 2 repos | ~3.8k | Automated safety check: Pass | MIT | |
| Bryl Minimal Designbryllim/bryl-minimal-design | 115 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Daisyuirayriffy/rayriffy-h | 126 | — | ~8.6k | Automated safety check: Pass | MIT |
Ohh-889/skyroc
Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.
ever-works/ever-works
Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices.
ever-works/ever-works
Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React.
bryllim/bryl-minimal-design
Apply the bryl-minimal design language — a monochrome, typography-driven minimal aesthetic with halftone dot textures, pixel-font display headings, tiny uppercase monospace labels, soft large-radius…
rayriffy/rayriffy-h
Tailwind CSS component library providing semantic class names for 50+ components with built-in themes, dark mode, and customization for rapid UI development.
LiarMTTT/TavernWeave
Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS.
saadeghi/daisyui
Investigates suspected bugs in the daisyUI monorepo through read-only analysis, then writes a decision-ready fix plan in tmp/bugs without changing any product code.
saadeghi/daisyui
Reviews open pull requests in the daisyUI repository using read-only GitHub data and isolated base-versus-PR checks, then writes a merge verdict report.
saadeghi/daisyui
Official daisyUI skill for Tailwind CSS projects, routing to install, usage, configuration, color and per-component guides before writing any HTML or JSX with its classes.
saadeghi/daisyui
Rules for styling HTML with daisyUI 5 class names first, falling back to Tailwind utilities only when needed, and avoiding unnecessary custom CSS or default color variants.
saadeghi/daisyui
Installation instructions for daisyUI 5 with Tailwind CSS 4: the npm setup, CSS plugin lines, CDN usage and pointers to framework-specific guides.
saadeghi/daisyui
Configuration options for daisyUI 5
Works with
Categories
Rules for using daisyUI 5's semantic color names, such as primary and base-100, so interfaces stay readable across themes. The skill lists daisyUI's semantic color names: primary, secondary, accent and neutral with matching content colors, three base surface shades with base-content, and info, success, warning and error with their content colors. They are used in Tailwind utility classes such as bg-primary, and each one is a variable whose value changes with the theme.
DaisyUI 5 Color Rules fits situations like: choosing colors for components in a daisyUI 5 interface; making a UI that adapts correctly when the theme changes; fixing unreadable text caused by fixed Tailwind color names in dark themes; reviewing markup that mixes the dark prefix with daisyUI colors.
Run `npx skills add saadeghi/daisyui --skill daisyui-colors -a claude-code`. Or copy the skill folder (skills/daisyui/colors in saadeghi/daisyui) into .claude/skills/daisyui-colors in your project. Claude Code loads it when a task matches its description.
Run `npx skills add saadeghi/daisyui --skill daisyui-colors -a codex`. Or copy the skill folder (skills/daisyui/colors in saadeghi/daisyui) into .agents/skills/daisyui-colors in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add saadeghi/daisyui --skill daisyui-colors -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/daisyui-colors, .gemini/skills/daisyui-colors, .github/skills/daisyui-colors and .opencode/skills/daisyui-colors in your project.
SKILL.md names no scripts, command-line tools or credentials: DaisyUI 5 Color Rules is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: daisyui.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
DaisyUI 5 Color Rules is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with DaisyUI 5 Color Rules: UI Styling (Ohh-889/skyroc, 795 stars), Tailwind CSS Patterns (ever-works/ever-works, 162 stars), Tailwind V4 Shadcn (ever-works/ever-works, 162 stars) and Bryl Minimal Design (bryllim/bryl-minimal-design, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
saadeghi (a GitHub user) maintains it in saadeghi/daisyui, which has 42,566 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.
Source: saadeghi/daisyui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.