Skip to content

Search docs

Search Cortex documentation pages and headings.

Theme Development

Community Themes

Build vault-scoped Cortex themes with paired light and dark CSS files.

On this page

Community themes are vault-scoped CSS themes. Cortex discovers theme folders in the active vault, parses each manifest.json, registers a light/dark theme family, and loads only the active CSS variant on demand.

Install location

<vault>/.cortex/themes/<theme-id>/
  manifest.json
  light.css
  dark.css

Start here

Mental Model

  • The manifest describes identity and stylesheet paths.
  • The CSS files define variables and targeted rules.
  • Cortex injects community CSS directly and lets the browser own the cascade.
  • Theme CSS should be scoped to body.theme-<theme-name>-light and body.theme-<theme-name>-dark.

Deeper references