Files
paseo/plugin-examples/catppuccin
Mohamed Boudra a5d2b7d863 Declare and enforce plugin Paseo version requirements (#4430)
* feat(plugins): enforce declared Paseo version requirements

Treat manifests without a Paseo requirement as pre-0.8 plugins so the first breaking plugin release offers an explicit migration path. Check the daemon and app independently before plugin execution, and preserve installed Git revisions when updates are incompatible.

* fix(nix): refresh dependency hash for plugin requirements

* refactor(plugins): validate test manifest inputs and name compatibility input
2026-09-07 17:20:19 +02:00
..

Catppuccin plugin example

This example adds Catppuccin Mocha to Settings → Appearance. Paseo ships Catppuccin as a syntax-highlight theme; this contributes it as an app theme.

A theme is client data, so the whole plugin is one addTheme call in index.client.ts and has no server entry or subprocess.

Register it in $PASEO_HOME/config.json:

{
  "pluginsEnabled": true,
  "plugins": {
    "catppuccin": {
      "source": "directory",
      "path": "/absolute/path/to/paseo/plugin-examples/catppuccin"
    }
  }
}

Then run paseo reload and pick Catppuccin Mocha in Settings → Appearance.

The colors come straight from the Catppuccin Mocha palette: base, text, surface0, surface1, mauve, subtext0, and overlay0. Paseo expands them into the full token set, so accent (mauve) drives buttons and selection while border (surface1, shared with control) stays the border and raised-surface tint.