GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - viraj-s15/oxocarbon-grey: Oxocarbon Grey: a dark cool-grey theme for editors and terminals, with richer syntax colours and semantic highlighting

BranchesTags
Open more actions menu

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
colors
colors
 
 
fixtures
fixtures
 
 
ghostty
ghostty
 
 
herdr
herdr
 
 
images
images
 
 
lua/oxocarbon_grey
lua/oxocarbon_grey
 
 
scripts
scripts
 
 
site
site
 
 
src
src
 
 
terminalthemes
terminalthemes
 
 
tests/neovim
tests/neovim
 
 
themes
themes
 
 
zed
zed
 
 
.gitignore
.gitignore
 
 
.vscodeignore
.vscodeignore
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 

Repository files navigation

Oxocarbon Grey

A dark theme based on Oxocarbon, with a flat graphene background and richer syntax colours. Supports Python, Rust, TypeScript and C++. Available for VS Code, Zed, Neovim, Ghostty and herdr.

Preview the theme on the website.

Python

Rust, TypeScript and C++ previews

Rust

TypeScript

C++

VS Code

Install from the VS Code Marketplace or Open VSX, or run:

code --install-extension viraj-s15.oxocarbon-grey

Select Oxocarbon Grey in the Color Theme picker. Keep semantic highlighting on for the full effect.

Zed

Not published to Zed's extension registry yet. Install it locally:

git clone https://github.com/viraj-s15/oxocarbon-grey
  1. Open Zed's Extensions page and click Install Dev Extension.
  2. Select the repository's zed/ directory, not the repository root.
  3. Pick Oxocarbon Grey in the theme selector.

Keep the clone: Zed loads the extension from that directory. No build step is needed.

Neovim

Requires Neovim 0.10+ and a true-colour terminal. With lazy.nvim:

{
  "viraj-s15/oxocarbon-grey",
  lazy = false,
  priority = 1000,
  config = function()
    vim.cmd.colorscheme("oxocarbon-grey")
  end,
}

Supports Tree-sitter and LSP semantic highlighting, plus Telescope, Gitsigns and blink.cmp. Install the appropriate nvim-treesitter parsers for your languages.

Optional configuration, before loading the colorscheme:

require("oxocarbon_grey").setup({
  italic = true,
  bold = true,
  overrides = {
    -- Comment = { fg = "#8d9199", italic = false },
  },
})
vim.cmd.colorscheme("oxocarbon-grey")

Overrides replace the whole highlight group. No setup() call or build step is needed for the defaults.

Ghostty

Download the theme into Ghostty's themes folder (on both macOS and Linux):

dir="${XDG_CONFIG_HOME:-$HOME/.config}/ghostty/themes"
mkdir -p "$dir"
[ -e "$dir/oxocarbon-grey" ] || curl -fsSL -o "$dir/oxocarbon-grey" \
  https://viraj-s15.github.io/oxocarbon-grey/ghostty/oxocarbon-grey

Set this in your Ghostty config, replacing any existing theme line:

theme = oxocarbon-grey

On macOS, Settings… opens the config. On Linux, use $XDG_CONFIG_HOME/ghostty/config.ghostty (usually ~/.config/ghostty/config.ghostty). Reload with cmd-shift-, on macOS or ctrl-shift-, on Linux.

Colour settings in your own config override the theme. This is separate from Ghostty's built-in Oxocarbon theme.

herdr

Desktop app

  1. Download the theme into the herdr-app themes folder:

    dir="${HERDR_APP_HOME:-$HOME/.config/herdr-app}/themes"
    mkdir -p "$dir"
    curl -fsSL -o "$dir/oxocarbon-grey.json" \
      https://viraj-s15.github.io/oxocarbon-grey/herdr/oxocarbon-grey.json
  2. Open Settings → Look and pick oxocarbon-grey, or run herdr-app do app.theme --name oxocarbon-grey.

herdr-app finds the file live, so no restart is needed. The theme sets the terminals and the panels, and each layout keeps its own theme.

Layout (optional)

herdr/app-layout has an oxocarbon-grey layout that uses the theme. It is the main layout with these changes:

  • A space's number gets a red tint when an agent in it is blocked, and a green tint when an agent is done, in place of the status dot.
  • The agents list is replaced by Claude plan usage: one ring for the 5-hour window and one for the week. The claude-usage mod runs claude -p --no-session-persistence /usage every 5 minutes, which makes no model call.
  • A third ring, from the claude-tps mod, shows the output tokens per second of the Claude agent in the focused pane, as an average over its current turn. A full ring is 150 TPS.
  • An "Open with" menu next to Files and Changes opens the focused pane's folder in Zed, in VS Code or in a Neovim pane on the right.
  1. Copy the layout and the mods into herdr-app:

    app="${HERDR_APP_HOME:-$HOME/.config/herdr-app}"
    cp herdr/app-layout/layouts/oxocarbon-grey.json "$app/layouts/"
    cp -R herdr/app-layout/mods/oxocarbon-spaces herdr/app-layout/mods/oxocarbon-tabs \
      herdr/app-layout/mods/oxocarbon-open-with herdr/app-layout/mods/claude-usage \
      herdr/app-layout/mods/claude-tps "$app/mods/"
  2. Add the Claude Code hook for the TPS ring:

    python3 herdr/app-layout/mods/claude-tps/install-tps-hook.py

    The script adds async PostToolUse and Stop hooks to ~/.claude/settings.json and saves a backup next to it. Run it again with --remove to take the hooks out. Claude sessions that started before this step do not run the hook.

  3. Run herdr-app do layout.switch '{"name":"oxocarbon-grey"}'.

To keep the layout in git, run scripts/link-herdr-layout.sh in place of steps 1 and 2. It links the layout and the mods to this repo, so a change in the app is a change in the repo, and it adds the hook.

Terminal app

The theme colours herdr's own UI: the sidebar, tab bar, popups and agent status markers. Panes keep your terminal's colours, so use the Ghostty theme there too.

  1. Remove any [theme.custom] table from ~/.config/herdr/config.toml.

  2. Add the theme to the end of the config:

    { printf '\n'; curl -fsSL https://viraj-s15.github.io/oxocarbon-grey/herdr/oxocarbon-grey.toml; } \
      >> "${HERDR_CONFIG_PATH:-$HOME/.config/herdr/config.toml}"
  3. Reload the running server with herdr server reload-config.

The theme sets every colour token, so your theme.name has no effect while it is there. To remove it, delete the [theme.custom] table and reload.

Development

The shared palette lives in src/palette.mjs. Generated theme files are committed. terminalthemes/Oxocarbon Grey.yml is the file to upload to terminalthemes.com.

npm run build       # regenerate all the themes
npm run check       # check generated files and run tests
npm run build:site  # build the website into _site/
npm run package     # package the VS Code extension

Credits

oxocarbon.nvim by Nyoom Engineering, based on IBM's Carbon palette.

License

MIT

About

Oxocarbon Grey: a dark cool-grey theme for editors and terminals, with richer syntax colours and semantic highlighting

Topics

color-themeghostty-themeherdrherdr-layoutneovim-colorschemeopen-vsxoxocarbonvscodevscode-themezed-theme

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.