kjssad
quantum.vim
Vim script

A colorscheme based on the Firefox DevTools

Last updated Jul 1, 2024
53
Stars
2
Forks
1
Issues
0
Stars/day
Attention Score
7
Language breakdown
No language data available.
โ–ธ Files click to expand
README

quantum.vim

A Neovim colorscheme inspired by Firefox DevTools.

Requirements

Neovim 0.7.0 or later

Installation

You can use any package manager to install quantum.vim.

Here is an example for packer.nvim:

use("kjssad/quantum.vim")

Usage

Enable the colorscheme:
-- Lua
vim.cmd("colorscheme quantum")
# VimScript
colorscheme quantum

Configuration

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,
    },
  },
  hideendof_buffer = true, -- whether to show hl-EndOfBuffer
  colors = {}, -- override specific highlight groups
  variant = "default", -- configure variant to use: default, dark, or light
})

Extras

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 }, }, })

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท kjssad/quantum.vim ยท Updated daily from GitHub