Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

oxocarbon.theme

Ports of the oxocarbon color scheme, a dark and light theme inspired by IBM Carbon, to Neovim, terminals and CLI tools. Every port is generated from one palette, so the colors match across tools.

Dark Light
oxocarbon-dark in Neovim oxocarbon-light in Neovim

Ports

Neovim

The Neovim colorscheme supports 68 plugins and has dark and light styles. With lazy.nvim:

{ "whispcat/oxocarbon.theme", main = "oxocarbon", lazy = false, priority = 1000, opts = {} }

See docs/neovim.md for other installation methods, configuration and the plugin list.

Other tools

Each tool has a dark and a light theme in its directory under extras, named oxocarbon_dark and oxocarbon_light with the tool's file extension. The tool's own documentation explains where the file goes. Directories with a README.md, such as Ghostty and Zed, have setup steps.

Tool Extra
Aerc extras/aerc
Aider extras/aider
Alacritty extras/alacritty
Btop++ extras/btop
Delta extras/delta
(Better-)Discord extras/discord
Dunst extras/dunst
eza extras/eza
Fish extras/fish
Fish Themes extras/fish_themes
Foot extras/foot
Fuzzel extras/fuzzel
Fzf extras/fzf
Gemini CLI extras/gemini_cli
Ghostty extras/ghostty
GitUI extras/gitui
GNOME Terminal extras/gnome_terminal
Helix extras/helix
iSH extras/ish
iTerm extras/iterm
Kitty extras/kitty
Konsole extras/konsole
Lazygit extras/lazygit
Lua Table for testing extras/lua
opencode extras/opencode
pi extras/pi
Prism extras/prism
process-compose extras/process_compose
QTerminal extras/qterminal
Slack extras/slack
Spotify Player extras/spotify_player
Sublime Text extras/sublime
Tailwind CSS (v4) extras/tailwindv4
Terminator extras/terminator
Termux extras/termux
Tilix extras/tilix
Tmux extras/tmux
Vim extras/vim
Vimium extras/vimium
Vivaldi extras/vivaldi
WezTerm extras/wezterm
Windows Terminal extras/windows_terminal
Xfce Terminal extras/xfceterm
Xresources extras/xresources
Yazi extras/yazi
Zathura extras/zathura
Zed extras/zed
Zellij extras/zellij

Palette

All ports use these colors, under the base16-style slot names from oxocarbon.nvim. blend is the background of floating windows and sidebars.

Slot Dark Light
base00 #161616 #161616 #ffffff #ffffff
base01 #262626 #262626 #f2f2f2 #f2f2f2
base02 #393939 #393939 #d0d0d0 #d0d0d0
base03 #525252 #525252 #161616 #161616
base04 #d0d0d0 #d0d0d0 #37474f #37474f
base05 #f2f2f2 #f2f2f2 #90a4ae #90a4ae
base06 #ffffff #ffffff #525252 #525252
base07 #08bdba #08bdba #08bdba #08bdba
base08 #3ddbd9 #3ddbd9 #ff7eb6 #ff7eb6
base09 #78a9ff #78a9ff #ee5396 #ee5396
base10 #ee5396 #ee5396 #ff6f00 #ff6f00
base11 #33b1ff #33b1ff #0f62fe #0f62fe
base12 #ff7eb6 #ff7eb6 #673ab7 #673ab7
base13 #42be65 #42be65 #42be65 #42be65
base14 #be95ff #be95ff #be95ff #be95ff
base15 #82cfff #82cfff #ffab91 #ffab91
blend #131313 #131313 #fafafa #fafafa

A few choices apply to every port:

  • Oxocarbon has no yellow or orange. Tools that ask for them get other palette colors: in dark, orange is pink base12 and yellow is green base13.
  • Terminal (ANSI) colors copy oxocarbon.nvim's mapping unchanged, so ANSI red is base11, a blue.
  • The light style draws comments in gray base05. oxocarbon.nvim uses near-black base03, which makes comments and shell autosuggestions look like code.

Development

./scripts/test   # run the test suite
./scripts/build  # regenerate extras/
./scripts/docs   # regenerate the generated tables in README.md and docs/neovim.md

The palettes are in lua/oxocarbon/colors/. Each port in extras/ has a generator in lua/oxocarbon/extra/<tool>.lua, listed in lua/oxocarbon/extra/init.lua, and ./scripts/build writes its output for both styles. CI fails when extras/ is out of date, so commit the regenerated files along with any palette or generator change.

The tests check that every generator renders both styles without unresolved placeholders or undefined colors.

The Neovim colorscheme lives at the repository root (lua/, colors/) because plugin managers load it from there. If you open this repo with lazy.nvim, it loads .lazy.lua, which reloads the theme on save and shows color swatches inline.

Credits

See NOTICE.

License

Apache-2.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages