Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zed-editor: add userThemes option #6452

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m-saghir
Copy link

Description

Added support for local custom themes, each of which are added separately to ~/.config/zed/themes. Allows for users to update Zed's theming via nix-colors on rebuild.

See https://zed.dev/docs/extensions/themes for more details.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all
    or nix build --reference-lock-file flake.lock ./tests#test-all using Flakes.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

Maintainer CC

cc @libewa

Adding support for custom local themes
@m-saghir
Copy link
Author

m-saghir commented Feb 25, 2025

I have reverted changes related to formatting. As such, test failures are related to formatting. It doesn't conform to the project's guidelines.

@nyabinary
Copy link

I have reverted changes related to formatting. As such, test failures are related to formatting. It doesn't conform to the project's guidelines.

I think you should maintain the formatting it did, since that's project standard.

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.

3 participants