Skip to content

Add vscode theme generation#31

Merged
bjarneo merged 1 commit into
mainfrom
add-vscode-template
Oct 21, 2025
Merged

Add vscode theme generation#31
bjarneo merged 1 commit into
mainfrom
add-vscode-template

Conversation

@bjarneo
Copy link
Copy Markdown
Owner

@bjarneo bjarneo commented Oct 21, 2025

#25

Copilot

This pull request adds support for generating and installing a VSCode theme as part of the application's theme export process. Users can now choose to include a VSCode-compatible theme, which will be copied to their local VSCode extensions directory. The implementation includes both UI changes to the settings sidebar and backend logic for template processing and file copying.

VSCode theme support:

  • Added a new toggle (includeVscode) to the settings sidebar UI, allowing users to enable or disable VSCode theme export. The setting is saved and loaded with other preferences. [1] [2] [3] [4] [5]
  • Implemented logic in ConfigWriter to process and copy a VSCode theme extension to the user's .vscode/extensions/theme-aether directory when enabled. This includes handling template variables such as theme_type for light/dark mode. [1] [2] [3] [4] [5]

Template and export enhancements:

  • Added logic to handle a vscode.empty.json template, ensuring that an empty VSCode theme is written when the feature is disabled, preventing stale theme files. [1] [2] [3]
  • Added a new VSCode extension template (templates/vscode-extension/package.json) that defines the structure and metadata for the generated theme extension, including dynamic theme type support.

These changes provide users with seamless integration of their generated themes into VSCode, improving overall theme management across editors.

@bjarneo bjarneo merged commit 8e460cf into main Oct 21, 2025
2 checks passed
@bjarneo bjarneo deleted the add-vscode-template branch October 21, 2025 16:28
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