Skip to content

Instantly share code, notes, and snippets.

@edwintorok
Last active August 14, 2022 23:22
Show Gist options
  • Save edwintorok/6bd1fc9b7f702d462c11c061c1c53732 to your computer and use it in GitHub Desktop.
Save edwintorok/6bd1fc9b7f702d462c11c061c1c53732 to your computer and use it in GitHub Desktop.
-- contrast++
local constratpp = {
sunplus = "#FFFDFB",
sun = "#FFF7ED",
sunminus = "#F2E6D4",
skyplus = "#DEDEDE",
sky = "#AEAEAE",
skyminus = "#636363",
shadeplus = "#3E4044",
shade = "#181B1F",
shademinus = "#0D0F13",
red = "#F58C81",
orange = "#E09F47",
yellow = "#A9B852",
green = "#54C794",
cyan = "#00C4D7",
blue = "#6EB2FD",
purple = "#B69CF6",
magenta = "#E58CC5"
}
local balanced = {
sunplus = "#FFFDFB",
sun = "#FFF7ED",
sunminus = "#F2E6D4",
skyplus = "#BEBEBE",
sky = "#8F8F8F",
skyminus = "#636363",
shadeplus = "#3E4044",
shade = "#303338",
shademinus = "#24272B",
red = "#CA736C",
orange = "#BA823A",
yellow = "#8D9741",
green = "#47A477",
cyan = "#00A2AF",
blue = "#5794D0",
purple = "#9481CC",
magenta = "#BC73A4"
}
--local penumbra = contrastpp
local penumbra = balanced
-- See https://chriskempson.com/projects/base16/ 'Styling guidelines'
-- And https://github.com/nealmckee/penumbra#intended-usage
require('base16-colorscheme').setup({
base00 = penumbra.shade, -- background
base01 = penumbra.shademinus, -- background UI?
base02 = penumbra.shademinus, -- selection
base03 = penumbra.sky, -- comments
base04 = penumbra.skyminus, -- foreground UI (status bar?)
base05 = penumbra.skyplus, -- foreground
base06 = penumbra.sun,
base07 = penumbra.sunplus,
base08 = penumbra.red,
base09 = penumbra.orange,
base0A = penumbra.yellow,
base0B = penumbra.green,
base0C = penumbra.cyan,
base0D = penumbra.blue,
base0E = penumbra.purple,
base0F = penumbra.magenta,
})
vim.g["colors_name"] = "base16-penumbra"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment