Skip to content
Skills Library
Design & UX · Building & coding

theming

/theming

Use when an app uses @pierre/theming to list, resolve, select, switch, persist, or apply themes, including color modes, theme controllers, React state, UI colors, and bundled Pierre or Shiki collections.

Repository
pierre ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
10
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when an app uses @pierre/theming to list, resolve, select, switch, persist, or apply themes, including color modes, theme controllers, React state, UI colors, and bundled Pierre or Shiki collections.

Original author description

Use when an app uses @pierre/theming to list, resolve, select, switch, persist, or apply themes, including color modes, theme controllers, React state, UI colors, and bundled Pierre or Shiki collections.

How it works

  1. Install
  2. Select an API reference
  3. Select a controller recipe
  4. Select a framework recipe
Original SKILL.md headings · 43 lines, 224 words
SKILL.md preview
---
name: theming
description:
  Use when an app uses @pierre/theming to list, resolve, select, switch,
  persist, or apply themes, including color modes, theme controllers, React
  state, UI colors, and bundled Pierre or Shiki collections.
---

# `@pierre/theming`

Use `@pierre/theming` to manage runtime themes. The package separates theme
metadata, theme resolution, selected state, and UI color mapping.

## Install

```bash
pnpm add @pierre/theming
```

Install optional peer dependencies only for the selected entry. The React entry
needs `react`. The themes entry needs `@pierre/theme`, `@shikijs/themes`, and
`shiki`.

## Select an API reference

| Need                                                           | Reference                                    |
| -------------------------------------------------------------- | -------------------------------------------- |
| Create a collection, catalog, descriptor, or bundled theme set | [Collections API](references/collections.md) |
| Register, load, seed, or cache theme objects                   | [Resolver API](references/resolver.md)       |
| Track the color mode and selected light and dark themes        | [Controller API](references/controller.md)   |
| Normalize workbench colors or derive colors                    | [Colors API](references/colors.md)           |
| Read controller state in React                                 | [React API](references/react.md)             |

## Select a controller recipe

| Situation                                                                    | Recipe                                                                |
| ---------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| One app or page shares one color mode and one light/dark selection           | [Use one controller](references/recipe-one-controller.md)             |
| Independent areas need separate selections or separate controller lifecycles | [Use multiple controllers](references/recipe-multiple-controllers.md) |

Use one controller by default. Use multiple controllers only when the theme
state must differ between areas.

## Select a framework recipe

| Host                                    | Recipe                                                 |
| --------------------------------------- | ------------------------------------------------------ |
| Vanilla JavaScript or another framework | [Use vanilla JavaScript](references/recipe-vanilla.md) |
| React                                   | [Use React](references/recipe-react.md)                |
Files in this package (10)
  • SKILL.md 3 KB
  • references/collections.md 4 KB
  • references/colors.md 2 KB
  • references/controller.md 4 KB
  • references/react.md 1 KB
  • references/recipe-multiple-controllers.md 1 KB
  • references/recipe-one-controller.md 1 KB
  • references/recipe-react.md 1 KB
  • references/recipe-vanilla.md 1 KB
  • references/resolver.md 3 KB

Versions

RepositoryScoreLicence
This page · pierrecomputer/pierre95Apache-2.0
nimadorostkar/Claude-Skills-collection100MIT
neha/rn-developer-skills100MIT

Database snapshot: 13.11.2026 · package version 16a091c08b7e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95trees
    Use when an app uses @pierre/trees to render or control a file tree, including React, vanilla JavaScript, SSR, web components, selection, search, rename, drag and drop, icons, git status, and themes.
  • 100ux-theming
    VS Code theming, color tokens, widget styles, focus indicators, and high-contrast theme support. Use when registering colors, styling widgets with theme tokens, or ensuring HC/focus compliance.
  • 100pierre
    Use Pierre Computer Company's `@pierre/trees` (path-first file tree) and `@pierre/diffs` (shiki-based code/diff renderer) in Kolu. Pierre ships Preact/vanilla cores with optional React wrappers — Kolu consumes the vanilla classes and wraps them in thin SolidJS components.…
  • 95diffs
    Use when changing Palot code, file, or diff rendering built on @pierre/diffs, including the Changes tab, file views, CodeView, parsing, selection, annotations, workers, or Shiki themes and languages. Do not use for ordinary code review or Git conflict resolution.
  • 100words
    Use when an app uses @pierre/words to render Markdown as HTML or ANSI, display streamed Markdown in React or the DOM, customize generated HTML, or highlight fenced code with @pierre/highlights.
  • 100manage-themes
    Create, audit, improve, select, and apply visual design themes, no workspace required — sourced from Claude Design bundles or bundled presets. Audits cover contrast, palette harmony, typography pairing, and completeness. Use it whenever the user mentions themes, brand colors or…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.