Theme Development
Publishing and Review
Prepare theme release assets for review and community listing.
On this page
Reviewed community listing installs theme assets into the active vault.
Required Release Assets
Publish:
manifest.json
light.css
dark.css
The CSS filenames can differ when the manifest references different safe relative paths.
For each colorscheme, Cortex looks for:
- The exact relative path from
manifest.colorschemes. - The basename of that path.
<colorscheme>.css, such aslight.cssordark.css.
Manifest checks
The reviewed listing flow verifies:
manifest.jsonis valid JSON.manifest.idmatches the listing entry id.colorschemes.lightandcolorschemes.darkare safe relative paths.- Both stylesheet assets exist before replacing an installed theme.
Install and rollback behavior
Cortex installs into:
<vault>/.cortex/themes/<theme-id>
Theme install and update use staging inside the vault themes directory. Cortex preserves the previous installation until staging is promoted and community themes reload successfully. On failure, it removes staging and restores the previous theme best effort.
Release checklist
- Include
manifest.json. - Include both light and dark CSS assets.
- Keep stylesheet paths relative and free of
... - Test applying the theme from light, dark, and system appearance modes.
- Test uninstall while the theme is active.