Carbon themes
Skill leesum-in/carbon-design-system-skills/skills/carbon-themes
IBM Carbon `@carbon/themes` package guidance. Use for semantic theme tokens (`background`, `layer-01`, `text-primary`, `support-error`), runtime theme switching (g10/g90/g100/white) via JS export or Sass, nested-region theming, and v10→v11 token migrations. Skip for raw palette hex values (carbon-colors), Sass entrypoint structure (carbon-styles), or React `<Theme>` component usage (carbon-react).From its SKILL.md
npx -y skills add leesum-in/carbon-design-system-skills --skill carbon-themesAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, as published. Nobody here has run it
Carbon Themes
Use this skill when a task depends on the @carbon/themes package or semantic Carbon theme tokens.
Workflow
- Inspect whether the project imports
@carbon/themes, configures Sass themes, or uses runtime theme tokens. - Use
references/source-index.mdto locate theme usage and package references. - Read only the needed topic docs under
references/. - Prefer semantic theme tokens over raw palette values for product UI roles.
- Verify theme selection, token role, contrast, and light/dark behavior.
Reference Lookup
- Start with
references/source-index.md. - Use theme docs for semantic token behavior and package files for imports/API details.
- If the topic is ambiguous, run the
rg -nsearch command shown in the index.
Boundaries
Use this skill for @carbon/themes package usage and semantic theme tokens. Use carbon-colors for raw color palette values and carbon-react for React-specific <Theme> usage.
References
references/source-index.md: source files and notes for Carbon themes package guidance.references/: topic-first Carbon references, organized as<topic>/guidelines/and<topic>/specs/.