Skip to content

Add a zed template, and copy to the zed themes#29

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

Add a zed template, and copy to the zed themes#29
bjarneo merged 1 commit into
mainfrom
26-add-zed-template

Conversation

@bjarneo
Copy link
Copy Markdown
Owner

@bjarneo bjarneo commented Oct 21, 2025

Copilot

This pull request adds support for exporting the Aether theme for Zed, a code editor, alongside existing theme export options. Users can now choose to include a Zed theme via the settings sidebar, and the system will handle copying the appropriate theme file to Zed’s configuration directory. The changes cover UI updates, configuration handling, theme file management, and the addition of the Zed theme template.

Zed theme integration:

  • Added a new option in the SettingsSidebar UI to include the Zed theme, along with the necessary switch and description. The new setting is persisted and loaded with other theme options. (src/components/SettingsSidebar.js) [1] [2] [3] [4] [5]
  • Updated configuration logic so that when the Zed theme option is enabled, the theme file is copied to Zed’s theme directory; theme generation and copying are skipped if the option is disabled. (src/utils/ConfigWriter.js) [1] [2] [3]
  • Implemented the copyZedTheme function to handle copying the theme file to ~/.config/zed/themes/aether.json, including checks for file existence and error handling. (src/utils/service-manager.js) [1] [2] [3]

Theme template addition:

  • Added a new Zed theme template file, aether.zed.json, which defines the color and style mappings for Zed using the Aether palette. (templates/aether.zed.json)

@bjarneo bjarneo linked an issue Oct 21, 2025 that may be closed by this pull request
@bjarneo bjarneo merged commit 8f533c2 into main Oct 21, 2025
2 checks passed
@bjarneo bjarneo deleted the 26-add-zed-template branch October 21, 2025 06:14
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.

Add Zed template

1 participant