Skip to content

Feat: Generate & apply Zed theme based on current theme - #3184

Closed
ryrobes wants to merge 2 commits into
omacom:masterfrom
ryrobes:master
Closed

ryrobes wants to merge 2 commits into
omacom:masterfrom
ryrobes:master

Conversation

@ryrobes

@ryrobes ryrobes commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

omarchy-theme-set-zed

Simple: Creates & applies a Zed theme (if installed) when the system theme changes. Colors will be pulled from theme's walker.css file.

zed-themer.mp4

Will optionally use a zed.json file in the theme directory as an override in this simple format, if it exists. zed.json can have all or partial keys, will be merged with the generated theme map.

 {
   "colors": {
     "background": "#1e1e2e",
     "foreground": "#cdd6f4",
     "text": "#cdd6f4",
     "selected": "#89b4fa",
     "border": "#89b4fa",
     "base": "#1e1e2e"
   },
   "syntax": {
     "comment": "#6c7086",
     "keyword": "#cba6f7",
     "string": "#a6e3a1",
     "number": "#fab387",
     "type": "#f9e2af",
     "operator": "#f5c2e7",
     "function": "#89b4fa"
   }
 }

It will create the theme file format needed, "install" it, AND set Zed to use that theme. Should update immediately. A {THEME_NAME} theme will be seen the available Zed themes.

Tests: Installed a fresh copy of Omarchy 3.1.5, installed Zed, changed the theme (actual testing in the video above).

@morgoth

morgoth commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

This was already proposed #719

It's pretty easy now to support this with omarchy hook integration.
There is https://github.com/APS6/omazed based on hooks

@ryrobes

ryrobes commented Nov 6, 2025

Copy link
Copy Markdown
Contributor Author

Nice. Seems a lot more complicated though, no?

@ryrobes

ryrobes commented Nov 6, 2025

Copy link
Copy Markdown
Contributor Author

Close for new PR.

@ryrobes ryrobes closed this Nov 6, 2025
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.

2 participants