Giter VIP home page Giter VIP logo

astro-theme-zed's Introduction

Usage

Install via Zed Extensions

  1. Open Zed.
  2. cmd+shift+p and select zed: extensions
  3. Select Min Theme and Install
  4. Select your Min Theme variant 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/min-theme/ submodule

    git submodule update --init --force extensions/min-theme
    
  3. Bump min theme submodule

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

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

astro-theme-zed's People

Contributors

jacobdalamb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.