Theme

Use when an app needs a Pierre light or dark theme from @pierre/theme for Shiki, VS Code, Cursor, or Zed, including soft, vibrant, protanopia, deuteranopia, and tritanopia variants.

pierrecomputer 8b69b1c 5 files · 6.8 KB Updated

File contents

@pierre/theme

Use @pierre/theme for Pierre syntax and editor themes. The package supplies ten immutable Shiki and VS Code theme objects.

Install

pnpm add @pierre/theme

Select an API reference

Need Reference
List every package entry and export API reference
Compare all themes and select a variant Theme variants

Select a recipe

Task Recipe
Load a Pierre theme in Shiki Use a theme with Shiki
Install a Pierre theme in an editor Use a theme in an editor

Use the theming skill when the app must switch themes at runtime or follow a color mode.

pierrecomputer/pierre/tree/main/skills/theme commit 8b69b1c196

Frequently asked questions

npx skillmds@latest add pierrecomputer/theme