mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
Per the maintainer's decision for #24, no third-party themes are bundled; instead a theme plugin template and docs let the community port themes (IntelliJ also ships few themes, the rest are plugins). - templates/theme-plugin: manifest-only plugin with an original example (Harbor Night) covering every UI token and an editor scheme (.icls equivalent). - docs/plugins/themes.md: format, IntelliJ / VS Code porting tables, generated token reference (pnpm gen:theme-docs); drift test fails when tokens.css and the template/reference disagree. - pnpm theme:import-intellij: dependency-free converter for IntelliJ .theme.json (+ .icls). - Plugin host: themes may name an editor-scheme merged over the theme; comments allowed in theme files. - Fixes: a plugin theme's kind now switches the light/dark base; plugin themes go in their own stylesheet so the Appearance accent and editor scheme still layer on top. Verified: ide-plugin tests, vitest (44), in-app on macOS: installed the template from disk, applied Harbor Night (dark base + teal accent over Islands Light), back to default restored the light theme. Claude-Session: https://claude.ai/code/session_01VUYsdXA2nkF5v6zsC93dpn
16 lines
670 B
TOML
16 lines
670 B
TOML
# A theme plugin is data only: no `wasm`, no permissions, nothing to compile.
|
|
# Rename the id, name and files when you start your own theme from this template.
|
|
id = "theme-harbor-night"
|
|
name = "Harbor Night Theme"
|
|
version = "1.0.0"
|
|
description = "Example dark theme: slate surfaces, a teal accent and a warm syntax palette."
|
|
authors = ["OpenIDEA contributors"]
|
|
change-notes = "1.0.0 — first release."
|
|
openidea-api = "0.1"
|
|
|
|
# One entry per theme. `editor-scheme` is optional: its tokens are merged over
|
|
# the theme's (IntelliJ's .theme.json + .icls pair).
|
|
[[contributes.themes]]
|
|
path = "themes/harbor-night.theme.json"
|
|
editor-scheme = "themes/harbor-night.scheme.json"
|