Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

shadcn-customization

Skill by marmelab

Guides theming and customization of shadcn/ui components with CSS variables, OKLCH colors, dark mode, variants and wrappers. Intended for tickets about colors, themes, layout or component styling.

  • Score 83
  • 1.5k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install shadcn-customization

Built from the published package, never by AI.

git clone --depth 1 https://github.com/marmelab/atomic-crm /tmp/atomic-crm && mkdir -p ~/.claude/skills && cp -r /tmp/atomic-crm/.claude/skills/shadcn-customization ~/.claude/skills/shadcn-customization

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install shadcn-customization in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a reference for theming and customizing shadcn/ui components. Components use semantic CSS variable tokens such as --primary, --muted and --border, defined with OKLCH values in :root and .dark. Tailwind maps these variables to utilities, so changing a variable changes every component that references it.

The skill covers applying theme presets with the shadcn CLI, adding custom color tokens registered under @theme inline, and controlling border radius with --radius. It sets out an order of effort for customization: built-in variants, className, new cva variants, then wrapper components. It also lists red flags and a verification checklist. The source is written for the Atomic CRM project, which it references for its ThemeProvider and CRM component props.

Written from the project's SKILL.md and checked against it.

What it can do

  • Semantic color tokensExplains the name and name-foreground CSS variable convention used by shadcn/ui components.
  • Dark modeDescribes the class-based .dark toggle and how Atomic CRM wires it through its ThemeProvider.
  • Theme presetsShows how to apply a preset with npx shadcn@latest apply, with or without overwriting components.
  • Custom color tokensWalks through defining a color in globals.css and registering it under @theme inline for Tailwind v4.
  • Border radiusExplains how --radius controls border radius globally across components.
  • Component variantsShows adding a new cva variant to a shadcn/ui button component file.
  • Wrapper componentsProvides an example of composing AlertDialog primitives into a ConfirmDialog component.
  • Update checksLists commands to diff or dry-run a shadcn/ui component update before applying it.

What you need

  • A project using shadcn/ui
  • Tailwind CSS v4 for the @theme inline registration
  • The npx shadcn@latest CLI

Try asking

  • Add a warning color token to globals.css and use it on a Button variant.
  • Apply the nova shadcn preset without overwriting my existing components.
  • Show how to change the dark mode palette using lightTheme and darkTheme props.

Good to know

  • Palette changes are described only through the lightTheme and darkTheme props on the CRM component of Atomic CRM.
  • Examples reference Atomic CRM file paths such as src/App.tsx and theme-provider.tsx.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/shadcn-customization/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to shadcn-customization

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

shadcn-customization: common questions

Where should custom colors be added?

Add them to the global CSS file at tailwindCssFile, which npx shadcn@latest info reports (typically globals.css). The source says not to create a new CSS file for custom colors.

How is dark mode handled?

Dark mode is class-based and toggled by a .dark class on the root element. In Atomic CRM, a ThemeProvider mounted from admin.tsx manages it.

How can I check a shadcn component for updates?

Run npx shadcn@latest add button --diff to see the differences, or --dry-run to list all affected files.

How do I install shadcn-customization?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is shadcn-customization free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is shadcn-customization safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to shadcn-customization?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

shadcn-customization Install

Add to stack

Loading.