Back to projects
GitHub

herdr-theme-vitesse

🎨 Vitesse dark and light themes for the Herdr desktop app

Install#

Copy both themes into the themes folder of your Herdr home (~/.config/herdr-app by default).

macOS / Linux:

bash
base=https://raw.githubusercontent.com/guanyme/herdr-theme-vitesse/main/themesfor theme in vitesse-dark vitesse-light; do  curl -fsSL "$base/$theme.json" -o ~/.config/herdr-app/themes/$theme.jsondone

Windows (PowerShell):

powershell
$base = 'https://raw.githubusercontent.com/guanyme/herdr-theme-vitesse/main/themes''vitesse-dark', 'vitesse-light' | ForEach-Object {  Invoke-WebRequest "$base/$_.json" -OutFile "$HOME\.config\herdr-app\themes\$_.json"}

Usage#

Pick the themes in Herdr's Settings, or run:

bash
herdr-app do app.theme --name vitesse-darkherdr-app do app.theme --name vitesse-light

Each command sets the half that matches the theme's lightness, so after running both, Herdr follows the system's light or dark mode.

To set them as the default for layouts without a theme, add this to settings.json:

json
{ "theme": { "light": "vitesse-light", "dark": "vitesse-dark" } }

Colors#

Herdr themes only accept opaque #rrggbb colors, so Vitesse's translucent colors are blended onto its background. Terminal colors come from Vitesse's terminal.* values, and panel colors map as follows:

HerdrVitesse
canvas, surfaceeditor.background
chromesideBar.background
popover, raised, hoverlist.hoverBackground
selectedlist.activeSelectionBackground
borderpanel.border
muteddescriptionForeground
dim, input, idle, unknowneditorLineNumber.foreground
accent, solid, ringbutton.background
accent_foreground, solid_foregroundbutton.foreground
workingeditorWarning.foreground
blockederrorForeground
donegitDecoration.addedResourceForeground

Build#

The themes are generated from the theme-vitesse package. After updating it, regenerate them:

bash
pnpm installpnpm build

License#

MIT © Guany

Colors from vscode-theme-vitesse by Anthony Fu, under the MIT License.