Skip to content

Latest commit

 

History

History
100 lines (70 loc) · 3.53 KB

README.md

File metadata and controls

100 lines (70 loc) · 3.53 KB

oxocarbon.nvim

Note: The old rust version can be found on the rust branch of this repository

Oxocarbon is looking for ports! If you're a user of another editor or tool, join our discord to learn more about porting oxocarbon to other applications. https://discord.gg/M528tDKXRG

A dark and light Neovim theme written in fennel, inspired by IBM Carbon. This is the reference implementation of the oxocarbon theme.

The color palette expands on Nyoom's unique aesthetic and represents a contemporary and ever-changing IBM. Balancing mankind and machine, the colors are harmonious with nature, yet chosen for their luminous quality in the digital world. The oxocarbon color palette is a subset of the broader IBM palette.

The colorscheme is centered around a vibrant set of blues, combined with an industrial set of grays. The full palette extends from the blue family to the edges of the blue spectrum—even the reds contain a hint of blue.

The resulting palette is a set of colors that portrays a singular IBM. Of the world and digital. Useful and judicious. Having multiple gray families gives each design the opportunity for nuance and meaningful moments of color. Each experience should be dominated by the grays and the core colors of black, white, and the blue family, allowing the other color families to have vibrancy and provide purpose.

merged

image

Features

  • Support for popular plugins, such as Lsp, Treesitter, and Semantic Highlighting
  • Fast and Featureful. Supports all the highlights you'll ever need without making a dent on startuptime
  • Uses Termguicolors but its compatible with 16-color terminals as well

Plugin support

The colorscheme explicitly adds highlights for the following plugins:

  • Vim Diagnostics
  • Vim LSP
  • Nvim-Treesitter
  • Telescope
  • Nvim-Notify
  • Nvim-Cmp
  • NvimTree
  • Neogit
  • Gitsigns
  • Hydra

And many others should "just work!" If you have a plugin that needs explicit highlights, feel free to open an issue or PR and I would be happy to add them.

Install

The colorscheme requires the latest stable or nightly neovim (> v0.7.0)

Packer.nvim

use {'nyoom-engineering/oxocarbon.nvim'}

Lazy.nvim

return {
  "nyoom-engineering/oxocarbon.nvim"
  -- Add in any other configuration; 
  --   event = foo, 
  --   config = bar
  --   end,
}

Usage

For neovim nightly users:

vim.opt.background = "dark" -- set this to dark or light
vim.cmd.colorscheme "oxocarbon"

For neovim stable users:

vim.opt.background = "dark" -- set this to dark or light
vim.cmd("colorscheme oxocarbon")

You can also add a transparent background by adding the following lines after colorscheme:

vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" })

For nyoom.nvim users: Nyoom comes bundled with a version of oxocarbon. Enable the ui.nyoom module

Development

You must install hotpot, since is what is used for compiling the fennel code.

Workflow

  • Fork the project
  • Make changes in the files under fnl/
  • Compile your changes by running :Fnlfile make.fnl
  • Make a PR

License

The project is licensed under the MIT license