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.

Install
npx skills add 'https://github.com/pierrecomputer/pierre/tree/main/skills/theming'
Download bundle ↓
main · 1831817Scanned 2026-09-15

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗
View on GitHub
← Back to SKILL.md

React API

This reference lists every export from @pierre/theming/react.

ExportKindPurpose
useThemeControllerHookSubscribes to a ThemeController and returns its ThemeControllerState.

The hook uses the controller state for both client and server snapshots. Create the controller outside the component that reads it.

Referenced from SKILL.md