Skip to content

Fix theme metadata names#44

Merged
necolas merged 1 commit into
mainfrom
fix-theme-name-format
Jun 8, 2026
Merged

Fix theme metadata names#44
necolas merged 1 commit into
mainfrom
fix-theme-name-format

Conversation

@necolas

@necolas necolas commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Emit kebab-case theme identifiers in name and human labels in displayName.
  • Pass VS Code theme metadata explicitly and keep Zed theme names unchanged.
  • Add tests covering generated metadata for all shipped themes.

Test Plan

  • npm test

Store the machine-readable theme identifier in name and the
display label in displayName for generated theme files.

Pass both fields explicitly at VS Code theme call sites and add
validation so all shipped themes keep the metadata format stable.
@necolas necolas requested a review from mdo June 7, 2026 23:01

@mdo mdo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely!

@necolas necolas merged commit afbdd44 into main Jun 8, 2026
3 checks passed
@necolas necolas deleted the fix-theme-name-format branch June 8, 2026 20:21
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