Skip to content

Commit

Permalink
feat: add Verf color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jul 18, 2024
1 parent b34f1e5 commit ff51589
Show file tree
Hide file tree
Showing 5 changed files with 356 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ A hosted version is available [here](https://hi-nvim-rs.uint.one).
[_highlow_](./colorschemes/highlow.toml): a color scheme with high contrast between background and foreground,
low color saturation, and low contrast between foreground elements.

| Light | Dark |
|---|---|
| <img width="2000" alt="A screenshot of Neovim using the 'verf' light color scheme" src="./media/verf-light.svg" /> | <img width="2000" alt="A screenshot of Neovim using the 'verf' dark color scheme" src="./media/verf-dark.svg" /> |

[_verf_](./colorschemes/verf.toml): a colorful color scheme.

| Light | Dark |
|---|---|
| <img width="2000" alt="A screenshot of Neovim using the 'twocolor' light color scheme" src="./media/twocolor-light.svg" /> | <img width="2000" alt="A screenshot of Neovim using the 'twocolor' dark color scheme" src="./media/twocolor-dark.svg" /> |
Expand Down
96 changes: 96 additions & 0 deletions colorschemes/verf.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name = "verf"
kind = "dark"

[hues]
red = 15.0
orange = 62.0
yellow = 100.0
green = 135.0
cyan = 168.0
blue = 262.0
purple = 314.0
pink = 346.0

[fg]
lightness = 0.70
chroma = 0.10

[bg]
lightness = 0.30
chroma = 0.10

[colors]
bg = [ 0.15, 0.05, 280 ]
fg = [ 0.70, 0.03, 280 ]
grey = [ 0.70, 0.0, 280 ]

[themes.ui]
fg = "fg"
fg_dim = { color = "fg", mix = ["bg", 0.1] }
fg_very_dim = { color = "fg", mix = ["bg", 0.3] }

bg = "bg"
bg_visual = { color = "bg", lighten_absolute = 0.20, saturate = -0.02 }
bg_highlight = { color = "bg", lighten_absolute = 0.20, saturate = 0.04 }
bg_highlight_dim = { color = "bg", lighten_absolute = 0.12, saturate = 0.02 }
bg_border = { color = "fg" }
bg_gutter = { color = "bg", lighten_absolute = 0.1, saturate = -0.01 }
bg_dim = { color = "bg", lighten_absolute = 0.05, saturate = -0.005 }
bg_selected = { color = "bg", lighten_absolute = 0.1 }

float_bg = { color = "bg", lighten_absolute = 0.02, saturate = 0.01 }
float_fg = { color = "fg", lighten_absolute = 0.02 }
float_border = "fg"

pmenu_bg = { color = "bg", lighten_absolute = 0.1, saturate = 0.03 }
pmenu_fg = { color = "fg", lighten_absolute = 0.1 }
pmenu_fg_selected = { color = "fg", lighten_absolute = 0.1, saturate = 0.03 }
pmenu_bg_selected = { color = "bg", lighten_absolute = 0.25, saturate = 0.08 }

special = { color = "fg.purple", lighten_absolute = 0.05, saturate = 0.02 }
nontext = { color = "grey", mix = ["bg", 0.15] }

[themes.syn]
string = "fg.green"
number = "fg.orange"
constant = "fg.blue"
regex = "fg.yellow"
preproc = "fg.yellow"
type = { color = "fg.cyan", saturate = -0.03 }
variable = "fg"
identifier = "fg"
parameter = { color = "fg.blue", saturate = -0.03 }
function = { color = "fg.blue", saturate = -0.03 }
constructor = { color = "fg.orange", saturate = -0.03 }
statement = { color = "fg.purple", saturate = -0.03 }
keyword = { color = "fg.purple", saturate = -0.03 }
operator = { color = "fg.yellow", saturate = -0.03 }
deprecated = { color = "grey", saturate = -0.03 }
comment = "grey"
special = "fg.yellow"
punctuation = { color = "grey", saturate = -0.03 }

[themes.diagnostics]
error = { color = "fg.red", saturate = 0.03 }
warning = { color = "fg.orange", saturate = 0.03 }
info = { color = "fg.blue", saturate = 0.03 }
hint = "grey"
ok = { color = "fg.green", saturate = 0.03 }

[themes.vcs]
removed = "fg.red"
added = "fg.green"
changed = "fg.yellow"

[themes.diff]
removed = "bg.red"
added = "bg.green"
changed = "bg.yellow"
text = "bg"

[inverse]
saturate = 0.01
gamma = 0.80
lighten_absolute = 0.05

[highlights]
125 changes: 125 additions & 0 deletions media/verf-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ff51589

Please sign in to comment.