Skip to content

Type to search extensions

In Bed By 7pm

v0.1.0

🕖 A color theme for non-night owls

Updated 4 months ago
242 downloads 0 stars Repository ↗
zedext main
// Load settings, retrying a few times
fn load_config(path: &str) -> Result<Config, Error> {
let retries = 3;
let text = fs::read_to_string(path)?;
let name = "settings.json";
Ok(Config { text, retries, name })
}

In Bed By 7pm Theme for Zed

A port of a popular theme for Zed with some minor adjustments.

Preview Icons come from Catppuccin Icons extension

Usage

Manual Installation

  1. Download the .json file with the theme variant of your choice from the latest release
  2. Navigate to ~/.config/zed/themes/ and place the file inside
  3. Enter theme selector: toggle in the command palette (Ctrl+Shift+P) and select your variant of In Bed By 7pm theme in the dropdown

Zed Extensions

  1. Open Zed
  2. Press Ctrl+Shift+X to open Zed extensions menu (alternatively, you can open the menu by typing zed: extensions in the command palette (Ctrl+Shift+P))
  3. Search for the In Bed By 7pm extension and install it

Tip

After installation, you can switch to another theme at any time by entering theme selector: toggle in the command palette and selecting the new theme in the dropdown

Development

Variants may be developed in a separate file with the same top level name field.

To start off, simply clone the repository. The theme is at themes folder. For local development, there is a cool feature called Install Dev Extension in zed: extensions tab, although at the moment it does not support hot-reload, you will tave to manually click Rebuild button every time you make a change. It is also advised to check logs if something does not work.

# check Zed logs
tail -f /home/[username]/.local/share/zed/logs/Zed.log

# commit as you normally would
git add .
git commit -m "feat: my significant contribution"

License

MIT

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated