Skip to content

eliavaux/zed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo
Catppuccin for Zed

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Usage

Install via Zed Extensions

  1. Open Zed.
  2. cmd+shift+p and select zed: extensions
  3. Select Catppuccin Themes and Install
  4. Select your Catppuccin theme in the dropdown shown after hitting ( cmd+k, cmd+t )

Development

Use whiskers to Render Theme from zed.tera Template

  1. Install Rust

  2. Install whiskers (>= 2.0.2)

    # from source (preferred)
    cargo install --git https://github.com/catppuccin/toolbox catppuccin-whiskers
  3. Test and check changes against current themes/catppuccin.json theme

    # returns nothing if no differences found
    whiskers zed.tera -o json --check themes/catppuccin.json
  4. Generate the zed extension theme file

    whiskers zed.tera -o json
  5. (Optional) Generate the accent you want (default is mauve)

    whiskers zed.tera -o json --overrides '{"accent": "rosewater"}'
  6. Refresh Zed to load changes after ensuring local extension install

Test Zed Extension Theme Locally

From Zed Extensions docs:

  1. Install/copy this project into ~/Library/Application\ Support/Zed/extensions/installed/ directory

    ln -sf $(pwd) ~/Library/Application\ Support/Zed/extensions/installed/
  2. Refresh theme extension using: cmd+shift+p > zed: reload extensions

  3. (Optional) For larger changes, zed: restart workspace may be needed instead

Publishing to Zed Extensions Marketplace

Zed organizes all extensions using git submodules in the zed/extensions repo.

  1. Fork the repo

  2. Pull the currently published extensions/catppuccin/ submodule

    git submodule update --init --force extensions/catppuccin
    
  3. Bump catppuccin submodule

    cd extensions/catppuccin/ && git pull origin main
    
  4. Modify extensions.json to match version in extension.json

  5. Submit a PR to merge back to zed/extensions

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

About

🦀 Soothing pastel theme for Zed

Resources

License

Stars

Watchers

Forks

Packages

No packages published