Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kjssad/quantum.vim
A colorscheme based on the Firefox DevTools
https://github.com/kjssad/quantum.vim
lightline neovim vim vim-colorscheme
Last synced: 8 days ago
JSON representation
A colorscheme based on the Firefox DevTools
- Host: GitHub
- URL: https://github.com/kjssad/quantum.vim
- Owner: kjssad
- License: mit
- Created: 2019-07-24T01:33:56.000Z (over 5 years ago)
- Default Branch: lua
- Last Pushed: 2023-05-01T12:36:48.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:56:17.960Z (3 months ago)
- Topics: lightline, neovim, vim, vim-colorscheme
- Language: Vim script
- Homepage:
- Size: 3.47 MB
- Stars: 53
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![quantum.vim](https://raw.githubusercontent.com/kjssad/firefox.vim/master/img/preview.png)
A Neovim colorscheme inspired by [Firefox DevTools](https://developer.mozilla.org/en-US/docs/Tools).
## 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](https://github.com/wbthomason/packer.nvim):
```lua
use("kjssad/quantum.vim")
```## Usage
Enable the colorscheme:```lua
-- Lua
vim.cmd("colorscheme quantum")
``````vim
# 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:
```lua
vim.g.quantum_variant = "light" -- if set, this takes presendence over `vim.o.background`-- or
vim.o.background = "light"
```To configure, just call:
```lua
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
})
```## Extras
Extra color configs for **Alacritty** and **Kitty** can be found in [term](term/).You can also use the color palette for other plugins:
```lua
local palette = require("quantum.palette").get_palette("default")
local quantum = require("quantum")quantum.setup({
colors = {
Normal = { bg = palette.border },
},
})
```