A colorscheme based on the Firefox DevTools
A Neovim colorscheme inspired by Firefox DevTools.
Neovim 0.7.0 or later
You can use any package manager to install quantum.vim.
Here is an example for packer.nvim:
use("kjssad/quantum.vim")
Enable the colorscheme:
-- Lua
vim.cmd("colorscheme quantum")
# VimScript
colorscheme quantum
Note: set the configuration first BEFORE loading the colorscheme with
colorscheme quantum
The colorscheme comes in three variants: dark
, a darker variant night
and light
.
The light
theme will be used if:
vim.g.quantum_variant = "light" -- if set, this takes presendence over `vim.o.background`
-- or
vim.o.background = "light"
To configure, just call:
require("quantum").setup({
style = {
italics = { -- whether to use italic for the following highlight groups
comments = true,
variables = true,
functions = false,
keywords = false,
},
},
hide_end_of_buffer = true, -- whether to show hl-EndOfBuffer
colors = {}, -- override specific highlight groups
variant = "default", -- configure variant to use: default, dark, or light
})
Extra color configs for Alacritty and Kitty can be found in term.
You can also use the color palette for other plugins:
local palette = require("quantum.palette").get_palette("default")
local quantum = require("quantum")
quantum.setup({
colors = {
Normal = { bg = palette.border },
},
})