Skip to content

Package protan/tritan variants in the JetBrains plugin - #17

Open
bruschill wants to merge 1 commit into
mainfrom
jetbrains-plugin-variants
Open

Package protan/tritan variants in the JetBrains plugin#17
bruschill wants to merge 1 commit into
mainfrom
jetbrains-plugin-variants

Conversation

@bruschill

Copy link
Copy Markdown
Owner

Swept the repo for ports missing protan/tritan variants. Result: every port already ships them (#12 covered alacritty, eclipse, ghostty, helix, iterm2, jetbrains, kitty, pi, sublime (both formats), vim, vscode, web (highlight.js/prism/shiki), windows-terminal, xcode, zed).

The one real gap was packaging: the JetBrains plugin only bundled the base theme. build.sh copied a single .icls/.theme.json pair and plugin.xml registered one themeProvider, so anyone installing the plugin had no way to pick a colorblind-safe variant even though the source files sat right next door in jetbrains/.

Changes:

  • build.sh: loop over the three variants, copying each .icls and rewriting each theme's editorScheme to its in-plugin path
  • plugin.xml: register com.madeofcode.theme.protan / .tritan providers, bump to 1.1.0, update description + change notes
  • README.md: bundled-variants note, new zip name, variant pick step

Verified by running ./build.sh and inspecting the zip: the jar contains all six theme resources, and each theme.json's editorScheme points at its own bundled .icls.

Audit found every port already ships its protan/tritan source files
(#12), but the JetBrains plugin only packaged the base theme: build.sh
copied one .icls/.theme.json pair and plugin.xml registered a single
themeProvider, so plugin installs never saw the variants.

- build.sh: loop over all three variants, rewriting each editorScheme
  to its in-plugin path
- plugin.xml: register the protan/tritan themeProviders, bump to 1.1.0
- README: reflect the bundled variants and new zip name

Verified: build.sh produces a zip whose jar contains all six theme
resources, each theme.json pointing at its own bundled .icls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant