From 3d8853decf1fc1eccfddfe3a0c413ac4d8b375e5 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Sun, 18 Jul 2021 12:13:21 +0200 Subject: chore: initial import Extracted from my dotfiles: https://github.com/wincent/wincent/tree/63ae5ac88edac5ab877737bd964af09983ea1bc6/vendor/base16-templates/base16-nvim This is a port to Lua of base16-vim: https://github.com/chriskempson/base16-vim As this is a heavily derivative work, I've preserved the original copyright notice in the LICENSE.md. --- colors/base16-3024.lua | 306 +++++++++++++++++++++++++++ colors/base16-apathy.lua | 306 +++++++++++++++++++++++++++ colors/base16-apprentice.lua | 306 +++++++++++++++++++++++++++ colors/base16-ashes.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-cave-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-cave.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-dune-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-dune.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-estuary-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-estuary.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-forest-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-forest.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-heath-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-heath.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-lakeside-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-lakeside.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-plateau-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-plateau.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-savanna-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-savanna.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-seaside-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-seaside.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-sulphurpool-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-atelier-sulphurpool.lua | 306 +++++++++++++++++++++++++++ colors/base16-atlas.lua | 306 +++++++++++++++++++++++++++ colors/base16-base16-vice-scheme.lua | 306 +++++++++++++++++++++++++++ colors/base16-bespin.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-bathory.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-burzum.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-dark-funeral.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-gorgoroth.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-immortal.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-khold.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-marduk.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-mayhem.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-nile.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal-venom.lua | 306 +++++++++++++++++++++++++++ colors/base16-black-metal.lua | 306 +++++++++++++++++++++++++++ colors/base16-brewer.lua | 306 +++++++++++++++++++++++++++ colors/base16-bright.lua | 306 +++++++++++++++++++++++++++ colors/base16-brogrammer.lua | 306 +++++++++++++++++++++++++++ colors/base16-brushtrees-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-brushtrees.lua | 306 +++++++++++++++++++++++++++ colors/base16-chalk.lua | 306 +++++++++++++++++++++++++++ colors/base16-circus.lua | 306 +++++++++++++++++++++++++++ colors/base16-classic-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-classic-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-codeschool.lua | 306 +++++++++++++++++++++++++++ colors/base16-colors.lua | 306 +++++++++++++++++++++++++++ colors/base16-cupcake.lua | 306 +++++++++++++++++++++++++++ colors/base16-cupertino.lua | 306 +++++++++++++++++++++++++++ colors/base16-danqing.lua | 306 +++++++++++++++++++++++++++ colors/base16-darcula.lua | 306 +++++++++++++++++++++++++++ colors/base16-darkmoss.lua | 306 +++++++++++++++++++++++++++ colors/base16-darktooth.lua | 306 +++++++++++++++++++++++++++ colors/base16-darkviolet.lua | 306 +++++++++++++++++++++++++++ colors/base16-decaf.lua | 306 +++++++++++++++++++++++++++ colors/base16-default-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-default-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-dirtysea.lua | 306 +++++++++++++++++++++++++++ colors/base16-dracula.lua | 306 +++++++++++++++++++++++++++ colors/base16-edge-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-edge-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-eighties.lua | 306 +++++++++++++++++++++++++++ colors/base16-embers.lua | 306 +++++++++++++++++++++++++++ colors/base16-equilibrium-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-equilibrium-gray-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-equilibrium-gray-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-equilibrium-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-espresso.lua | 306 +++++++++++++++++++++++++++ colors/base16-eva-dim.lua | 306 +++++++++++++++++++++++++++ colors/base16-eva.lua | 306 +++++++++++++++++++++++++++ colors/base16-flat.lua | 306 +++++++++++++++++++++++++++ colors/base16-framer.lua | 306 +++++++++++++++++++++++++++ colors/base16-fruit-soda.lua | 306 +++++++++++++++++++++++++++ colors/base16-gigavolt.lua | 306 +++++++++++++++++++++++++++ colors/base16-github.lua | 306 +++++++++++++++++++++++++++ colors/base16-google-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-google-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-grayscale-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-grayscale-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-greenscreen.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-dark-hard.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-dark-medium.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-dark-pale.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-dark-soft.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-light-hard.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-light-medium.lua | 306 +++++++++++++++++++++++++++ colors/base16-gruvbox-light-soft.lua | 306 +++++++++++++++++++++++++++ colors/base16-hardcore.lua | 306 +++++++++++++++++++++++++++ colors/base16-harmonic-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-harmonic-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-heetch-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-heetch.lua | 306 +++++++++++++++++++++++++++ colors/base16-helios.lua | 306 +++++++++++++++++++++++++++ colors/base16-hopscotch.lua | 306 +++++++++++++++++++++++++++ colors/base16-horizon-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-horizon-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-horizon-terminal-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-horizon-terminal-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-humanoid-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-humanoid-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-ia-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-ia-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-icy.lua | 306 +++++++++++++++++++++++++++ colors/base16-irblack.lua | 306 +++++++++++++++++++++++++++ colors/base16-isotope.lua | 306 +++++++++++++++++++++++++++ colors/base16-kimber.lua | 306 +++++++++++++++++++++++++++ colors/base16-macintosh.lua | 306 +++++++++++++++++++++++++++ colors/base16-marrakesh.lua | 306 +++++++++++++++++++++++++++ colors/base16-materia.lua | 306 +++++++++++++++++++++++++++ colors/base16-material-darker.lua | 306 +++++++++++++++++++++++++++ colors/base16-material-lighter.lua | 306 +++++++++++++++++++++++++++ colors/base16-material-palenight.lua | 306 +++++++++++++++++++++++++++ colors/base16-material-vivid.lua | 306 +++++++++++++++++++++++++++ colors/base16-material.lua | 306 +++++++++++++++++++++++++++ colors/base16-mellow-purple.lua | 306 +++++++++++++++++++++++++++ colors/base16-mexico-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-mocha.lua | 306 +++++++++++++++++++++++++++ colors/base16-monokai.lua | 306 +++++++++++++++++++++++++++ colors/base16-nebula.lua | 306 +++++++++++++++++++++++++++ colors/base16-nord.lua | 306 +++++++++++++++++++++++++++ colors/base16-nova.lua | 306 +++++++++++++++++++++++++++ colors/base16-ocean.lua | 306 +++++++++++++++++++++++++++ colors/base16-oceanicnext.lua | 306 +++++++++++++++++++++++++++ colors/base16-one-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-onedark.lua | 306 +++++++++++++++++++++++++++ colors/base16-outrun-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-papercolor-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-papercolor-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-paraiso.lua | 306 +++++++++++++++++++++++++++ colors/base16-pasque.lua | 306 +++++++++++++++++++++++++++ colors/base16-phd.lua | 306 +++++++++++++++++++++++++++ colors/base16-pico.lua | 306 +++++++++++++++++++++++++++ colors/base16-pinky.lua | 306 +++++++++++++++++++++++++++ colors/base16-pop.lua | 306 +++++++++++++++++++++++++++ colors/base16-porple.lua | 306 +++++++++++++++++++++++++++ colors/base16-purpledream.lua | 306 +++++++++++++++++++++++++++ colors/base16-qualia.lua | 306 +++++++++++++++++++++++++++ colors/base16-railscasts.lua | 306 +++++++++++++++++++++++++++ colors/base16-rebecca.lua | 306 +++++++++++++++++++++++++++ colors/base16-rose-pine-dawn.lua | 306 +++++++++++++++++++++++++++ colors/base16-rose-pine-moon.lua | 306 +++++++++++++++++++++++++++ colors/base16-rose-pine.lua | 306 +++++++++++++++++++++++++++ colors/base16-sagelight.lua | 306 +++++++++++++++++++++++++++ colors/base16-sakura.lua | 306 +++++++++++++++++++++++++++ colors/base16-sandcastle.lua | 306 +++++++++++++++++++++++++++ colors/base16-seti.lua | 306 +++++++++++++++++++++++++++ colors/base16-shades-of-purple.lua | 306 +++++++++++++++++++++++++++ colors/base16-shapeshifter.lua | 306 +++++++++++++++++++++++++++ colors/base16-silk-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-silk-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-snazzy.lua | 306 +++++++++++++++++++++++++++ colors/base16-solarflare-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-solarflare.lua | 306 +++++++++++++++++++++++++++ colors/base16-solarized-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-solarized-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-spacemacs.lua | 306 +++++++++++++++++++++++++++ colors/base16-summercamp.lua | 306 +++++++++++++++++++++++++++ colors/base16-summerfruit-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-summerfruit-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-synth-midnight-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-synth-midnight-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-tango.lua | 306 +++++++++++++++++++++++++++ colors/base16-tender.lua | 306 +++++++++++++++++++++++++++ colors/base16-tomorrow-night-eighties.lua | 306 +++++++++++++++++++++++++++ colors/base16-tomorrow-night.lua | 306 +++++++++++++++++++++++++++ colors/base16-tomorrow.lua | 306 +++++++++++++++++++++++++++ colors/base16-tube.lua | 306 +++++++++++++++++++++++++++ colors/base16-twilight.lua | 306 +++++++++++++++++++++++++++ colors/base16-unikitty-dark.lua | 306 +++++++++++++++++++++++++++ colors/base16-unikitty-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-unikitty-reversible.lua | 306 +++++++++++++++++++++++++++ colors/base16-vulcan.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-10-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-10.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-95-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-95.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-highcontrast-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-highcontrast.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-nt-light.lua | 306 +++++++++++++++++++++++++++ colors/base16-windows-nt.lua | 306 +++++++++++++++++++++++++++ colors/base16-woodland.lua | 306 +++++++++++++++++++++++++++ colors/base16-xcode-dusk.lua | 306 +++++++++++++++++++++++++++ colors/base16-zenburn.lua | 306 +++++++++++++++++++++++++++ 185 files changed, 56610 insertions(+) create mode 100644 colors/base16-3024.lua create mode 100644 colors/base16-apathy.lua create mode 100644 colors/base16-apprentice.lua create mode 100644 colors/base16-ashes.lua create mode 100644 colors/base16-atelier-cave-light.lua create mode 100644 colors/base16-atelier-cave.lua create mode 100644 colors/base16-atelier-dune-light.lua create mode 100644 colors/base16-atelier-dune.lua create mode 100644 colors/base16-atelier-estuary-light.lua create mode 100644 colors/base16-atelier-estuary.lua create mode 100644 colors/base16-atelier-forest-light.lua create mode 100644 colors/base16-atelier-forest.lua create mode 100644 colors/base16-atelier-heath-light.lua create mode 100644 colors/base16-atelier-heath.lua create mode 100644 colors/base16-atelier-lakeside-light.lua create mode 100644 colors/base16-atelier-lakeside.lua create mode 100644 colors/base16-atelier-plateau-light.lua create mode 100644 colors/base16-atelier-plateau.lua create mode 100644 colors/base16-atelier-savanna-light.lua create mode 100644 colors/base16-atelier-savanna.lua create mode 100644 colors/base16-atelier-seaside-light.lua create mode 100644 colors/base16-atelier-seaside.lua create mode 100644 colors/base16-atelier-sulphurpool-light.lua create mode 100644 colors/base16-atelier-sulphurpool.lua create mode 100644 colors/base16-atlas.lua create mode 100644 colors/base16-base16-vice-scheme.lua create mode 100644 colors/base16-bespin.lua create mode 100644 colors/base16-black-metal-bathory.lua create mode 100644 colors/base16-black-metal-burzum.lua create mode 100644 colors/base16-black-metal-dark-funeral.lua create mode 100644 colors/base16-black-metal-gorgoroth.lua create mode 100644 colors/base16-black-metal-immortal.lua create mode 100644 colors/base16-black-metal-khold.lua create mode 100644 colors/base16-black-metal-marduk.lua create mode 100644 colors/base16-black-metal-mayhem.lua create mode 100644 colors/base16-black-metal-nile.lua create mode 100644 colors/base16-black-metal-venom.lua create mode 100644 colors/base16-black-metal.lua create mode 100644 colors/base16-brewer.lua create mode 100644 colors/base16-bright.lua create mode 100644 colors/base16-brogrammer.lua create mode 100644 colors/base16-brushtrees-dark.lua create mode 100644 colors/base16-brushtrees.lua create mode 100644 colors/base16-chalk.lua create mode 100644 colors/base16-circus.lua create mode 100644 colors/base16-classic-dark.lua create mode 100644 colors/base16-classic-light.lua create mode 100644 colors/base16-codeschool.lua create mode 100644 colors/base16-colors.lua create mode 100644 colors/base16-cupcake.lua create mode 100644 colors/base16-cupertino.lua create mode 100644 colors/base16-danqing.lua create mode 100644 colors/base16-darcula.lua create mode 100644 colors/base16-darkmoss.lua create mode 100644 colors/base16-darktooth.lua create mode 100644 colors/base16-darkviolet.lua create mode 100644 colors/base16-decaf.lua create mode 100644 colors/base16-default-dark.lua create mode 100644 colors/base16-default-light.lua create mode 100644 colors/base16-dirtysea.lua create mode 100644 colors/base16-dracula.lua create mode 100644 colors/base16-edge-dark.lua create mode 100644 colors/base16-edge-light.lua create mode 100644 colors/base16-eighties.lua create mode 100644 colors/base16-embers.lua create mode 100644 colors/base16-equilibrium-dark.lua create mode 100644 colors/base16-equilibrium-gray-dark.lua create mode 100644 colors/base16-equilibrium-gray-light.lua create mode 100644 colors/base16-equilibrium-light.lua create mode 100644 colors/base16-espresso.lua create mode 100644 colors/base16-eva-dim.lua create mode 100644 colors/base16-eva.lua create mode 100644 colors/base16-flat.lua create mode 100644 colors/base16-framer.lua create mode 100644 colors/base16-fruit-soda.lua create mode 100644 colors/base16-gigavolt.lua create mode 100644 colors/base16-github.lua create mode 100644 colors/base16-google-dark.lua create mode 100644 colors/base16-google-light.lua create mode 100644 colors/base16-grayscale-dark.lua create mode 100644 colors/base16-grayscale-light.lua create mode 100644 colors/base16-greenscreen.lua create mode 100644 colors/base16-gruvbox-dark-hard.lua create mode 100644 colors/base16-gruvbox-dark-medium.lua create mode 100644 colors/base16-gruvbox-dark-pale.lua create mode 100644 colors/base16-gruvbox-dark-soft.lua create mode 100644 colors/base16-gruvbox-light-hard.lua create mode 100644 colors/base16-gruvbox-light-medium.lua create mode 100644 colors/base16-gruvbox-light-soft.lua create mode 100644 colors/base16-hardcore.lua create mode 100644 colors/base16-harmonic-dark.lua create mode 100644 colors/base16-harmonic-light.lua create mode 100644 colors/base16-heetch-light.lua create mode 100644 colors/base16-heetch.lua create mode 100644 colors/base16-helios.lua create mode 100644 colors/base16-hopscotch.lua create mode 100644 colors/base16-horizon-dark.lua create mode 100644 colors/base16-horizon-light.lua create mode 100644 colors/base16-horizon-terminal-dark.lua create mode 100644 colors/base16-horizon-terminal-light.lua create mode 100644 colors/base16-humanoid-dark.lua create mode 100644 colors/base16-humanoid-light.lua create mode 100644 colors/base16-ia-dark.lua create mode 100644 colors/base16-ia-light.lua create mode 100644 colors/base16-icy.lua create mode 100644 colors/base16-irblack.lua create mode 100644 colors/base16-isotope.lua create mode 100644 colors/base16-kimber.lua create mode 100644 colors/base16-macintosh.lua create mode 100644 colors/base16-marrakesh.lua create mode 100644 colors/base16-materia.lua create mode 100644 colors/base16-material-darker.lua create mode 100644 colors/base16-material-lighter.lua create mode 100644 colors/base16-material-palenight.lua create mode 100644 colors/base16-material-vivid.lua create mode 100644 colors/base16-material.lua create mode 100644 colors/base16-mellow-purple.lua create mode 100644 colors/base16-mexico-light.lua create mode 100644 colors/base16-mocha.lua create mode 100644 colors/base16-monokai.lua create mode 100644 colors/base16-nebula.lua create mode 100644 colors/base16-nord.lua create mode 100644 colors/base16-nova.lua create mode 100644 colors/base16-ocean.lua create mode 100644 colors/base16-oceanicnext.lua create mode 100644 colors/base16-one-light.lua create mode 100644 colors/base16-onedark.lua create mode 100644 colors/base16-outrun-dark.lua create mode 100644 colors/base16-papercolor-dark.lua create mode 100644 colors/base16-papercolor-light.lua create mode 100644 colors/base16-paraiso.lua create mode 100644 colors/base16-pasque.lua create mode 100644 colors/base16-phd.lua create mode 100644 colors/base16-pico.lua create mode 100644 colors/base16-pinky.lua create mode 100644 colors/base16-pop.lua create mode 100644 colors/base16-porple.lua create mode 100644 colors/base16-purpledream.lua create mode 100644 colors/base16-qualia.lua create mode 100644 colors/base16-railscasts.lua create mode 100644 colors/base16-rebecca.lua create mode 100644 colors/base16-rose-pine-dawn.lua create mode 100644 colors/base16-rose-pine-moon.lua create mode 100644 colors/base16-rose-pine.lua create mode 100644 colors/base16-sagelight.lua create mode 100644 colors/base16-sakura.lua create mode 100644 colors/base16-sandcastle.lua create mode 100644 colors/base16-seti.lua create mode 100644 colors/base16-shades-of-purple.lua create mode 100644 colors/base16-shapeshifter.lua create mode 100644 colors/base16-silk-dark.lua create mode 100644 colors/base16-silk-light.lua create mode 100644 colors/base16-snazzy.lua create mode 100644 colors/base16-solarflare-light.lua create mode 100644 colors/base16-solarflare.lua create mode 100644 colors/base16-solarized-dark.lua create mode 100644 colors/base16-solarized-light.lua create mode 100644 colors/base16-spacemacs.lua create mode 100644 colors/base16-summercamp.lua create mode 100644 colors/base16-summerfruit-dark.lua create mode 100644 colors/base16-summerfruit-light.lua create mode 100644 colors/base16-synth-midnight-dark.lua create mode 100644 colors/base16-synth-midnight-light.lua create mode 100644 colors/base16-tango.lua create mode 100644 colors/base16-tender.lua create mode 100644 colors/base16-tomorrow-night-eighties.lua create mode 100644 colors/base16-tomorrow-night.lua create mode 100644 colors/base16-tomorrow.lua create mode 100644 colors/base16-tube.lua create mode 100644 colors/base16-twilight.lua create mode 100644 colors/base16-unikitty-dark.lua create mode 100644 colors/base16-unikitty-light.lua create mode 100644 colors/base16-unikitty-reversible.lua create mode 100644 colors/base16-vulcan.lua create mode 100644 colors/base16-windows-10-light.lua create mode 100644 colors/base16-windows-10.lua create mode 100644 colors/base16-windows-95-light.lua create mode 100644 colors/base16-windows-95.lua create mode 100644 colors/base16-windows-highcontrast-light.lua create mode 100644 colors/base16-windows-highcontrast.lua create mode 100644 colors/base16-windows-nt-light.lua create mode 100644 colors/base16-windows-nt.lua create mode 100644 colors/base16-woodland.lua create mode 100644 colors/base16-xcode-dusk.lua create mode 100644 colors/base16-zenburn.lua (limited to 'colors') diff --git a/colors/base16-3024.lua b/colors/base16-3024.lua new file mode 100644 index 0000000..e1f8ee3 --- /dev/null +++ b/colors/base16-3024.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- 3024 scheme by Jan T. Sott (http://github.com/idleberg) + +local gui00 = "090300" +local gui01 = "3a3432" +local gui02 = "4a4543" +local gui03 = "5c5855" +local gui04 = "807d7c" +local gui05 = "a5a2a2" +local gui06 = "d6d5d4" +local gui07 = "f7f7f7" +local gui08 = "db2d20" +local gui09 = "e8bbd0" +local gui0A = "fded02" +local gui0B = "01a252" +local gui0C = "b5e4f4" +local gui0D = "01a0e4" +local gui0E = "a16a94" +local gui0F = "cdab53" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-3024" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-apathy.lua b/colors/base16-apathy.lua new file mode 100644 index 0000000..d400826 --- /dev/null +++ b/colors/base16-apathy.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Apathy scheme by Jannik Siebert (https://github.com/janniks) + +local gui00 = "031A16" +local gui01 = "0B342D" +local gui02 = "184E45" +local gui03 = "2B685E" +local gui04 = "5F9C92" +local gui05 = "81B5AC" +local gui06 = "A7CEC8" +local gui07 = "D2E7E4" +local gui08 = "3E9688" +local gui09 = "3E7996" +local gui0A = "3E4C96" +local gui0B = "883E96" +local gui0C = "963E4C" +local gui0D = "96883E" +local gui0E = "4C963E" +local gui0F = "3E965B" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-apathy" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-apprentice.lua b/colors/base16-apprentice.lua new file mode 100644 index 0000000..ed0862f --- /dev/null +++ b/colors/base16-apprentice.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Apprentice scheme by romainl + +local gui00 = "262626" +local gui01 = "303030" +local gui02 = "333333" +local gui03 = "6C6C6C" +local gui04 = "787878" +local gui05 = "BCBCBC" +local gui06 = "C9C9C9" +local gui07 = "FFFFFF" +local gui08 = "5F8787" +local gui09 = "FF8700" +local gui0A = "5F8787" +local gui0B = "87AF87" +local gui0C = "5F875F" +local gui0D = "FFFFAF" +local gui0E = "87AFD7" +local gui0F = "5F87AF" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-apprentice" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-ashes.lua b/colors/base16-ashes.lua new file mode 100644 index 0000000..2fc1d67 --- /dev/null +++ b/colors/base16-ashes.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Ashes scheme by Jannik Siebert (https://github.com/janniks) + +local gui00 = "1C2023" +local gui01 = "393F45" +local gui02 = "565E65" +local gui03 = "747C84" +local gui04 = "ADB3BA" +local gui05 = "C7CCD1" +local gui06 = "DFE2E5" +local gui07 = "F3F4F5" +local gui08 = "C7AE95" +local gui09 = "C7C795" +local gui0A = "AEC795" +local gui0B = "95C7AE" +local gui0C = "95AEC7" +local gui0D = "AE95C7" +local gui0E = "C795AE" +local gui0F = "C79595" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-ashes" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-cave-light.lua b/colors/base16-atelier-cave-light.lua new file mode 100644 index 0000000..d111bed --- /dev/null +++ b/colors/base16-atelier-cave-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Cave Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "efecf4" +local gui01 = "e2dfe7" +local gui02 = "8b8792" +local gui03 = "7e7887" +local gui04 = "655f6d" +local gui05 = "585260" +local gui06 = "26232a" +local gui07 = "19171c" +local gui08 = "be4678" +local gui09 = "aa573c" +local gui0A = "a06e3b" +local gui0B = "2a9292" +local gui0C = "398bc6" +local gui0D = "576ddb" +local gui0E = "955ae7" +local gui0F = "bf40bf" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-cave-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-cave.lua b/colors/base16-atelier-cave.lua new file mode 100644 index 0000000..a2cbc85 --- /dev/null +++ b/colors/base16-atelier-cave.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Cave scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "19171c" +local gui01 = "26232a" +local gui02 = "585260" +local gui03 = "655f6d" +local gui04 = "7e7887" +local gui05 = "8b8792" +local gui06 = "e2dfe7" +local gui07 = "efecf4" +local gui08 = "be4678" +local gui09 = "aa573c" +local gui0A = "a06e3b" +local gui0B = "2a9292" +local gui0C = "398bc6" +local gui0D = "576ddb" +local gui0E = "955ae7" +local gui0F = "bf40bf" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-cave" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-dune-light.lua b/colors/base16-atelier-dune-light.lua new file mode 100644 index 0000000..dc6feb1 --- /dev/null +++ b/colors/base16-atelier-dune-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Dune Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "fefbec" +local gui01 = "e8e4cf" +local gui02 = "a6a28c" +local gui03 = "999580" +local gui04 = "7d7a68" +local gui05 = "6e6b5e" +local gui06 = "292824" +local gui07 = "20201d" +local gui08 = "d73737" +local gui09 = "b65611" +local gui0A = "ae9513" +local gui0B = "60ac39" +local gui0C = "1fad83" +local gui0D = "6684e1" +local gui0E = "b854d4" +local gui0F = "d43552" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-dune-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-dune.lua b/colors/base16-atelier-dune.lua new file mode 100644 index 0000000..925ac21 --- /dev/null +++ b/colors/base16-atelier-dune.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Dune scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "20201d" +local gui01 = "292824" +local gui02 = "6e6b5e" +local gui03 = "7d7a68" +local gui04 = "999580" +local gui05 = "a6a28c" +local gui06 = "e8e4cf" +local gui07 = "fefbec" +local gui08 = "d73737" +local gui09 = "b65611" +local gui0A = "ae9513" +local gui0B = "60ac39" +local gui0C = "1fad83" +local gui0D = "6684e1" +local gui0E = "b854d4" +local gui0F = "d43552" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-dune" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-estuary-light.lua b/colors/base16-atelier-estuary-light.lua new file mode 100644 index 0000000..f033282 --- /dev/null +++ b/colors/base16-atelier-estuary-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Estuary Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "f4f3ec" +local gui01 = "e7e6df" +local gui02 = "929181" +local gui03 = "878573" +local gui04 = "6c6b5a" +local gui05 = "5f5e4e" +local gui06 = "302f27" +local gui07 = "22221b" +local gui08 = "ba6236" +local gui09 = "ae7313" +local gui0A = "a5980d" +local gui0B = "7d9726" +local gui0C = "5b9d48" +local gui0D = "36a166" +local gui0E = "5f9182" +local gui0F = "9d6c7c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-estuary-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-estuary.lua b/colors/base16-atelier-estuary.lua new file mode 100644 index 0000000..5c2f820 --- /dev/null +++ b/colors/base16-atelier-estuary.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Estuary scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "22221b" +local gui01 = "302f27" +local gui02 = "5f5e4e" +local gui03 = "6c6b5a" +local gui04 = "878573" +local gui05 = "929181" +local gui06 = "e7e6df" +local gui07 = "f4f3ec" +local gui08 = "ba6236" +local gui09 = "ae7313" +local gui0A = "a5980d" +local gui0B = "7d9726" +local gui0C = "5b9d48" +local gui0D = "36a166" +local gui0E = "5f9182" +local gui0F = "9d6c7c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-estuary" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-forest-light.lua b/colors/base16-atelier-forest-light.lua new file mode 100644 index 0000000..43cc4b3 --- /dev/null +++ b/colors/base16-atelier-forest-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Forest Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "f1efee" +local gui01 = "e6e2e0" +local gui02 = "a8a19f" +local gui03 = "9c9491" +local gui04 = "766e6b" +local gui05 = "68615e" +local gui06 = "2c2421" +local gui07 = "1b1918" +local gui08 = "f22c40" +local gui09 = "df5320" +local gui0A = "c38418" +local gui0B = "7b9726" +local gui0C = "3d97b8" +local gui0D = "407ee7" +local gui0E = "6666ea" +local gui0F = "c33ff3" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-forest-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-forest.lua b/colors/base16-atelier-forest.lua new file mode 100644 index 0000000..4523916 --- /dev/null +++ b/colors/base16-atelier-forest.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Forest scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "1b1918" +local gui01 = "2c2421" +local gui02 = "68615e" +local gui03 = "766e6b" +local gui04 = "9c9491" +local gui05 = "a8a19f" +local gui06 = "e6e2e0" +local gui07 = "f1efee" +local gui08 = "f22c40" +local gui09 = "df5320" +local gui0A = "c38418" +local gui0B = "7b9726" +local gui0C = "3d97b8" +local gui0D = "407ee7" +local gui0E = "6666ea" +local gui0F = "c33ff3" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-forest" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-heath-light.lua b/colors/base16-atelier-heath-light.lua new file mode 100644 index 0000000..2ca957e --- /dev/null +++ b/colors/base16-atelier-heath-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Heath Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "f7f3f7" +local gui01 = "d8cad8" +local gui02 = "ab9bab" +local gui03 = "9e8f9e" +local gui04 = "776977" +local gui05 = "695d69" +local gui06 = "292329" +local gui07 = "1b181b" +local gui08 = "ca402b" +local gui09 = "a65926" +local gui0A = "bb8a35" +local gui0B = "918b3b" +local gui0C = "159393" +local gui0D = "516aec" +local gui0E = "7b59c0" +local gui0F = "cc33cc" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-heath-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-heath.lua b/colors/base16-atelier-heath.lua new file mode 100644 index 0000000..6931d02 --- /dev/null +++ b/colors/base16-atelier-heath.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Heath scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "1b181b" +local gui01 = "292329" +local gui02 = "695d69" +local gui03 = "776977" +local gui04 = "9e8f9e" +local gui05 = "ab9bab" +local gui06 = "d8cad8" +local gui07 = "f7f3f7" +local gui08 = "ca402b" +local gui09 = "a65926" +local gui0A = "bb8a35" +local gui0B = "918b3b" +local gui0C = "159393" +local gui0D = "516aec" +local gui0E = "7b59c0" +local gui0F = "cc33cc" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-heath" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-lakeside-light.lua b/colors/base16-atelier-lakeside-light.lua new file mode 100644 index 0000000..3aac8c7 --- /dev/null +++ b/colors/base16-atelier-lakeside-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Lakeside Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "ebf8ff" +local gui01 = "c1e4f6" +local gui02 = "7ea2b4" +local gui03 = "7195a8" +local gui04 = "5a7b8c" +local gui05 = "516d7b" +local gui06 = "1f292e" +local gui07 = "161b1d" +local gui08 = "d22d72" +local gui09 = "935c25" +local gui0A = "8a8a0f" +local gui0B = "568c3b" +local gui0C = "2d8f6f" +local gui0D = "257fad" +local gui0E = "6b6bb8" +local gui0F = "b72dd2" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-lakeside-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-lakeside.lua b/colors/base16-atelier-lakeside.lua new file mode 100644 index 0000000..ddfe91c --- /dev/null +++ b/colors/base16-atelier-lakeside.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Lakeside scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "161b1d" +local gui01 = "1f292e" +local gui02 = "516d7b" +local gui03 = "5a7b8c" +local gui04 = "7195a8" +local gui05 = "7ea2b4" +local gui06 = "c1e4f6" +local gui07 = "ebf8ff" +local gui08 = "d22d72" +local gui09 = "935c25" +local gui0A = "8a8a0f" +local gui0B = "568c3b" +local gui0C = "2d8f6f" +local gui0D = "257fad" +local gui0E = "6b6bb8" +local gui0F = "b72dd2" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-lakeside" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-plateau-light.lua b/colors/base16-atelier-plateau-light.lua new file mode 100644 index 0000000..05c036b --- /dev/null +++ b/colors/base16-atelier-plateau-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Plateau Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "f4ecec" +local gui01 = "e7dfdf" +local gui02 = "8a8585" +local gui03 = "7e7777" +local gui04 = "655d5d" +local gui05 = "585050" +local gui06 = "292424" +local gui07 = "1b1818" +local gui08 = "ca4949" +local gui09 = "b45a3c" +local gui0A = "a06e3b" +local gui0B = "4b8b8b" +local gui0C = "5485b6" +local gui0D = "7272ca" +local gui0E = "8464c4" +local gui0F = "bd5187" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-plateau-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-plateau.lua b/colors/base16-atelier-plateau.lua new file mode 100644 index 0000000..85fbd1a --- /dev/null +++ b/colors/base16-atelier-plateau.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Plateau scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "1b1818" +local gui01 = "292424" +local gui02 = "585050" +local gui03 = "655d5d" +local gui04 = "7e7777" +local gui05 = "8a8585" +local gui06 = "e7dfdf" +local gui07 = "f4ecec" +local gui08 = "ca4949" +local gui09 = "b45a3c" +local gui0A = "a06e3b" +local gui0B = "4b8b8b" +local gui0C = "5485b6" +local gui0D = "7272ca" +local gui0E = "8464c4" +local gui0F = "bd5187" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-plateau" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-savanna-light.lua b/colors/base16-atelier-savanna-light.lua new file mode 100644 index 0000000..6c62a4f --- /dev/null +++ b/colors/base16-atelier-savanna-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Savanna Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "ecf4ee" +local gui01 = "dfe7e2" +local gui02 = "87928a" +local gui03 = "78877d" +local gui04 = "5f6d64" +local gui05 = "526057" +local gui06 = "232a25" +local gui07 = "171c19" +local gui08 = "b16139" +local gui09 = "9f713c" +local gui0A = "a07e3b" +local gui0B = "489963" +local gui0C = "1c9aa0" +local gui0D = "478c90" +local gui0E = "55859b" +local gui0F = "867469" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-savanna-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-savanna.lua b/colors/base16-atelier-savanna.lua new file mode 100644 index 0000000..5fc7831 --- /dev/null +++ b/colors/base16-atelier-savanna.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Savanna scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "171c19" +local gui01 = "232a25" +local gui02 = "526057" +local gui03 = "5f6d64" +local gui04 = "78877d" +local gui05 = "87928a" +local gui06 = "dfe7e2" +local gui07 = "ecf4ee" +local gui08 = "b16139" +local gui09 = "9f713c" +local gui0A = "a07e3b" +local gui0B = "489963" +local gui0C = "1c9aa0" +local gui0D = "478c90" +local gui0E = "55859b" +local gui0F = "867469" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-savanna" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-seaside-light.lua b/colors/base16-atelier-seaside-light.lua new file mode 100644 index 0000000..d1aabf6 --- /dev/null +++ b/colors/base16-atelier-seaside-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Seaside Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "f4fbf4" +local gui01 = "cfe8cf" +local gui02 = "8ca68c" +local gui03 = "809980" +local gui04 = "687d68" +local gui05 = "5e6e5e" +local gui06 = "242924" +local gui07 = "131513" +local gui08 = "e6193c" +local gui09 = "87711d" +local gui0A = "98981b" +local gui0B = "29a329" +local gui0C = "1999b3" +local gui0D = "3d62f5" +local gui0E = "ad2bee" +local gui0F = "e619c3" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-seaside-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-seaside.lua b/colors/base16-atelier-seaside.lua new file mode 100644 index 0000000..60977c5 --- /dev/null +++ b/colors/base16-atelier-seaside.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Seaside scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "131513" +local gui01 = "242924" +local gui02 = "5e6e5e" +local gui03 = "687d68" +local gui04 = "809980" +local gui05 = "8ca68c" +local gui06 = "cfe8cf" +local gui07 = "f4fbf4" +local gui08 = "e6193c" +local gui09 = "87711d" +local gui0A = "98981b" +local gui0B = "29a329" +local gui0C = "1999b3" +local gui0D = "3d62f5" +local gui0E = "ad2bee" +local gui0F = "e619c3" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-seaside" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-sulphurpool-light.lua b/colors/base16-atelier-sulphurpool-light.lua new file mode 100644 index 0000000..df8ba81 --- /dev/null +++ b/colors/base16-atelier-sulphurpool-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Sulphurpool Light scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "f5f7ff" +local gui01 = "dfe2f1" +local gui02 = "979db4" +local gui03 = "898ea4" +local gui04 = "6b7394" +local gui05 = "5e6687" +local gui06 = "293256" +local gui07 = "202746" +local gui08 = "c94922" +local gui09 = "c76b29" +local gui0A = "c08b30" +local gui0B = "ac9739" +local gui0C = "22a2c9" +local gui0D = "3d8fd1" +local gui0E = "6679cc" +local gui0F = "9c637a" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-sulphurpool-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atelier-sulphurpool.lua b/colors/base16-atelier-sulphurpool.lua new file mode 100644 index 0000000..124391e --- /dev/null +++ b/colors/base16-atelier-sulphurpool.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atelier Sulphurpool scheme by Bram de Haan (http://atelierbramdehaan.nl) + +local gui00 = "202746" +local gui01 = "293256" +local gui02 = "5e6687" +local gui03 = "6b7394" +local gui04 = "898ea4" +local gui05 = "979db4" +local gui06 = "dfe2f1" +local gui07 = "f5f7ff" +local gui08 = "c94922" +local gui09 = "c76b29" +local gui0A = "c08b30" +local gui0B = "ac9739" +local gui0C = "22a2c9" +local gui0D = "3d8fd1" +local gui0E = "6679cc" +local gui0F = "9c637a" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atelier-sulphurpool" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-atlas.lua b/colors/base16-atlas.lua new file mode 100644 index 0000000..4e115b7 --- /dev/null +++ b/colors/base16-atlas.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Atlas scheme by Alex Lende (https://ajlende.com) + +local gui00 = "002635" +local gui01 = "00384d" +local gui02 = "517F8D" +local gui03 = "6C8B91" +local gui04 = "869696" +local gui05 = "a1a19a" +local gui06 = "e6e6dc" +local gui07 = "fafaf8" +local gui08 = "ff5a67" +local gui09 = "f08e48" +local gui0A = "ffcc1b" +local gui0B = "7fc06e" +local gui0C = "14747e" +local gui0D = "5dd7b9" +local gui0E = "9a70a4" +local gui0F = "c43060" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-atlas" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-base16-vice-scheme.lua b/colors/base16-base16-vice-scheme.lua new file mode 100644 index 0000000..5adb386 --- /dev/null +++ b/colors/base16-base16-vice-scheme.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- vice scheme by Thomas Leon Highbaugh thighbaugh@zoho.com + +local gui00 = "17191E" +local gui01 = "22262d" +local gui02 = "3c3f4c" +local gui03 = "383a47" +local gui04 = "555e70" +local gui05 = "8b9cbe" +local gui06 = "B2BFD9" +local gui07 = "f4f4f7" +local gui08 = "ff29a8" +local gui09 = "85ffe0" +local gui0A = "f0ffaa" +local gui0B = "0badff" +local gui0C = "8265ff" +local gui0D = "00eaff" +local gui0E = "00f6d9" +local gui0F = "ff3d81" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-base16-vice-scheme" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-bespin.lua b/colors/base16-bespin.lua new file mode 100644 index 0000000..10a08f8 --- /dev/null +++ b/colors/base16-bespin.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Bespin scheme by Jan T. Sott + +local gui00 = "28211c" +local gui01 = "36312e" +local gui02 = "5e5d5c" +local gui03 = "666666" +local gui04 = "797977" +local gui05 = "8a8986" +local gui06 = "9d9b97" +local gui07 = "baae9e" +local gui08 = "cf6a4c" +local gui09 = "cf7d34" +local gui0A = "f9ee98" +local gui0B = "54be0d" +local gui0C = "afc4db" +local gui0D = "5ea6ea" +local gui0E = "9b859d" +local gui0F = "937121" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-bespin" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-bathory.lua b/colors/base16-black-metal-bathory.lua new file mode 100644 index 0000000..97b6f65 --- /dev/null +++ b/colors/base16-black-metal-bathory.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Bathory) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "e78a53" +local gui0B = "fbcb97" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-bathory" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-burzum.lua b/colors/base16-black-metal-burzum.lua new file mode 100644 index 0000000..b004a7a --- /dev/null +++ b/colors/base16-black-metal-burzum.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Burzum) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "99bbaa" +local gui0B = "ddeecc" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-burzum" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-dark-funeral.lua b/colors/base16-black-metal-dark-funeral.lua new file mode 100644 index 0000000..77da983 --- /dev/null +++ b/colors/base16-black-metal-dark-funeral.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Dark Funeral) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "5f81a5" +local gui0B = "d0dfee" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-dark-funeral" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-gorgoroth.lua b/colors/base16-black-metal-gorgoroth.lua new file mode 100644 index 0000000..642f663 --- /dev/null +++ b/colors/base16-black-metal-gorgoroth.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Gorgoroth) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "8c7f70" +local gui0B = "9b8d7f" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-gorgoroth" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-immortal.lua b/colors/base16-black-metal-immortal.lua new file mode 100644 index 0000000..2be59d3 --- /dev/null +++ b/colors/base16-black-metal-immortal.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Immortal) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "556677" +local gui0B = "7799bb" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-immortal" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-khold.lua b/colors/base16-black-metal-khold.lua new file mode 100644 index 0000000..29170cf --- /dev/null +++ b/colors/base16-black-metal-khold.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Khold) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "974b46" +local gui0B = "eceee3" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-khold" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-marduk.lua b/colors/base16-black-metal-marduk.lua new file mode 100644 index 0000000..3a1aae5 --- /dev/null +++ b/colors/base16-black-metal-marduk.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Marduk) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "626b67" +local gui0B = "a5aaa7" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-marduk" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-mayhem.lua b/colors/base16-black-metal-mayhem.lua new file mode 100644 index 0000000..c8b7f20 --- /dev/null +++ b/colors/base16-black-metal-mayhem.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Mayhem) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "eecc6c" +local gui0B = "f3ecd4" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-mayhem" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-nile.lua b/colors/base16-black-metal-nile.lua new file mode 100644 index 0000000..f61aab8 --- /dev/null +++ b/colors/base16-black-metal-nile.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Nile) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "777755" +local gui0B = "aa9988" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-nile" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal-venom.lua b/colors/base16-black-metal-venom.lua new file mode 100644 index 0000000..054764b --- /dev/null +++ b/colors/base16-black-metal-venom.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal (Venom) scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "79241f" +local gui0B = "f8f7f2" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal-venom" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-black-metal.lua b/colors/base16-black-metal.lua new file mode 100644 index 0000000..7a74314 --- /dev/null +++ b/colors/base16-black-metal.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Black Metal scheme by metalelf0 (https://github.com/metalelf0) + +local gui00 = "000000" +local gui01 = "121212" +local gui02 = "222222" +local gui03 = "333333" +local gui04 = "999999" +local gui05 = "c1c1c1" +local gui06 = "999999" +local gui07 = "c1c1c1" +local gui08 = "5f8787" +local gui09 = "aaaaaa" +local gui0A = "a06666" +local gui0B = "dd9999" +local gui0C = "aaaaaa" +local gui0D = "888888" +local gui0E = "999999" +local gui0F = "444444" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-black-metal" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-brewer.lua b/colors/base16-brewer.lua new file mode 100644 index 0000000..cfe80ae --- /dev/null +++ b/colors/base16-brewer.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Brewer scheme by Timothée Poisot (http://github.com/tpoisot) + +local gui00 = "0c0d0e" +local gui01 = "2e2f30" +local gui02 = "515253" +local gui03 = "737475" +local gui04 = "959697" +local gui05 = "b7b8b9" +local gui06 = "dadbdc" +local gui07 = "fcfdfe" +local gui08 = "e31a1c" +local gui09 = "e6550d" +local gui0A = "dca060" +local gui0B = "31a354" +local gui0C = "80b1d3" +local gui0D = "3182bd" +local gui0E = "756bb1" +local gui0F = "b15928" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-brewer" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-bright.lua b/colors/base16-bright.lua new file mode 100644 index 0000000..fcf0acf --- /dev/null +++ b/colors/base16-bright.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Bright scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "000000" +local gui01 = "303030" +local gui02 = "505050" +local gui03 = "b0b0b0" +local gui04 = "d0d0d0" +local gui05 = "e0e0e0" +local gui06 = "f5f5f5" +local gui07 = "ffffff" +local gui08 = "fb0120" +local gui09 = "fc6d24" +local gui0A = "fda331" +local gui0B = "a1c659" +local gui0C = "76c7b7" +local gui0D = "6fb3d2" +local gui0E = "d381c3" +local gui0F = "be643c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-bright" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-brogrammer.lua b/colors/base16-brogrammer.lua new file mode 100644 index 0000000..c029a4d --- /dev/null +++ b/colors/base16-brogrammer.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Brogrammer scheme by Vik Ramanujam (http://github.com/piggyslasher) + +local gui00 = "1f1f1f" +local gui01 = "f81118" +local gui02 = "2dc55e" +local gui03 = "ecba0f" +local gui04 = "2a84d2" +local gui05 = "4e5ab7" +local gui06 = "1081d6" +local gui07 = "d6dbe5" +local gui08 = "d6dbe5" +local gui09 = "de352e" +local gui0A = "1dd361" +local gui0B = "f3bd09" +local gui0C = "1081d6" +local gui0D = "5350b9" +local gui0E = "0f7ddb" +local gui0F = "ffffff" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-brogrammer" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-brushtrees-dark.lua b/colors/base16-brushtrees-dark.lua new file mode 100644 index 0000000..15d70cf --- /dev/null +++ b/colors/base16-brushtrees-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Brush Trees Dark scheme by Abraham White + +local gui00 = "485867" +local gui01 = "5A6D7A" +local gui02 = "6D828E" +local gui03 = "8299A1" +local gui04 = "98AFB5" +local gui05 = "B0C5C8" +local gui06 = "C9DBDC" +local gui07 = "E3EFEF" +local gui08 = "b38686" +local gui09 = "d8bba2" +local gui0A = "aab386" +local gui0B = "87b386" +local gui0C = "86b3b3" +local gui0D = "868cb3" +local gui0E = "b386b2" +local gui0F = "b39f9f" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-brushtrees-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-brushtrees.lua b/colors/base16-brushtrees.lua new file mode 100644 index 0000000..bd2e413 --- /dev/null +++ b/colors/base16-brushtrees.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Brush Trees scheme by Abraham White + +local gui00 = "E3EFEF" +local gui01 = "C9DBDC" +local gui02 = "B0C5C8" +local gui03 = "98AFB5" +local gui04 = "8299A1" +local gui05 = "6D828E" +local gui06 = "5A6D7A" +local gui07 = "485867" +local gui08 = "b38686" +local gui09 = "d8bba2" +local gui0A = "aab386" +local gui0B = "87b386" +local gui0C = "86b3b3" +local gui0D = "868cb3" +local gui0E = "b386b2" +local gui0F = "b39f9f" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-brushtrees" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-chalk.lua b/colors/base16-chalk.lua new file mode 100644 index 0000000..9b54e94 --- /dev/null +++ b/colors/base16-chalk.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Chalk scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "151515" +local gui01 = "202020" +local gui02 = "303030" +local gui03 = "505050" +local gui04 = "b0b0b0" +local gui05 = "d0d0d0" +local gui06 = "e0e0e0" +local gui07 = "f5f5f5" +local gui08 = "fb9fb1" +local gui09 = "eda987" +local gui0A = "ddb26f" +local gui0B = "acc267" +local gui0C = "12cfc0" +local gui0D = "6fc2ef" +local gui0E = "e1a3ee" +local gui0F = "deaf8f" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-chalk" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-circus.lua b/colors/base16-circus.lua new file mode 100644 index 0000000..e92b5db --- /dev/null +++ b/colors/base16-circus.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Circus scheme by Stephan Boyer (https://github.com/stepchowfun) and Esther Wang (https://github.com/ewang12) + +local gui00 = "191919" +local gui01 = "202020" +local gui02 = "303030" +local gui03 = "5f5a60" +local gui04 = "505050" +local gui05 = "a7a7a7" +local gui06 = "808080" +local gui07 = "ffffff" +local gui08 = "dc657d" +local gui09 = "4bb1a7" +local gui0A = "c3ba63" +local gui0B = "84b97c" +local gui0C = "4bb1a7" +local gui0D = "639ee4" +local gui0E = "b888e2" +local gui0F = "b888e2" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-circus" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-classic-dark.lua b/colors/base16-classic-dark.lua new file mode 100644 index 0000000..9e7cbb1 --- /dev/null +++ b/colors/base16-classic-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Classic Dark scheme by Jason Heeris (http://heeris.id.au) + +local gui00 = "151515" +local gui01 = "202020" +local gui02 = "303030" +local gui03 = "505050" +local gui04 = "B0B0B0" +local gui05 = "D0D0D0" +local gui06 = "E0E0E0" +local gui07 = "F5F5F5" +local gui08 = "AC4142" +local gui09 = "D28445" +local gui0A = "F4BF75" +local gui0B = "90A959" +local gui0C = "75B5AA" +local gui0D = "6A9FB5" +local gui0E = "AA759F" +local gui0F = "8F5536" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-classic-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-classic-light.lua b/colors/base16-classic-light.lua new file mode 100644 index 0000000..34b1ff2 --- /dev/null +++ b/colors/base16-classic-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Classic Light scheme by Jason Heeris (http://heeris.id.au) + +local gui00 = "F5F5F5" +local gui01 = "E0E0E0" +local gui02 = "D0D0D0" +local gui03 = "B0B0B0" +local gui04 = "505050" +local gui05 = "303030" +local gui06 = "202020" +local gui07 = "151515" +local gui08 = "AC4142" +local gui09 = "D28445" +local gui0A = "F4BF75" +local gui0B = "90A959" +local gui0C = "75B5AA" +local gui0D = "6A9FB5" +local gui0E = "AA759F" +local gui0F = "8F5536" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-classic-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-codeschool.lua b/colors/base16-codeschool.lua new file mode 100644 index 0000000..1b0ef27 --- /dev/null +++ b/colors/base16-codeschool.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Codeschool scheme by blockloop + +local gui00 = "232c31" +local gui01 = "1c3657" +local gui02 = "2a343a" +local gui03 = "3f4944" +local gui04 = "84898c" +local gui05 = "9ea7a6" +local gui06 = "a7cfa3" +local gui07 = "b5d8f6" +local gui08 = "2a5491" +local gui09 = "43820d" +local gui0A = "a03b1e" +local gui0B = "237986" +local gui0C = "b02f30" +local gui0D = "484d79" +local gui0E = "c59820" +local gui0F = "c98344" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-codeschool" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-colors.lua b/colors/base16-colors.lua new file mode 100644 index 0000000..f5f3271 --- /dev/null +++ b/colors/base16-colors.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Colors scheme by mrmrs (http://clrs.cc) + +local gui00 = "111111" +local gui01 = "333333" +local gui02 = "555555" +local gui03 = "777777" +local gui04 = "999999" +local gui05 = "bbbbbb" +local gui06 = "dddddd" +local gui07 = "ffffff" +local gui08 = "ff4136" +local gui09 = "ff851b" +local gui0A = "ffdc00" +local gui0B = "2ecc40" +local gui0C = "7fdbff" +local gui0D = "0074d9" +local gui0E = "b10dc9" +local gui0F = "85144b" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-colors" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-cupcake.lua b/colors/base16-cupcake.lua new file mode 100644 index 0000000..d19ab15 --- /dev/null +++ b/colors/base16-cupcake.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Cupcake scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "fbf1f2" +local gui01 = "f2f1f4" +local gui02 = "d8d5dd" +local gui03 = "bfb9c6" +local gui04 = "a59daf" +local gui05 = "8b8198" +local gui06 = "72677E" +local gui07 = "585062" +local gui08 = "D57E85" +local gui09 = "EBB790" +local gui0A = "DCB16C" +local gui0B = "A3B367" +local gui0C = "69A9A7" +local gui0D = "7297B9" +local gui0E = "BB99B4" +local gui0F = "BAA58C" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-cupcake" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-cupertino.lua b/colors/base16-cupertino.lua new file mode 100644 index 0000000..752526d --- /dev/null +++ b/colors/base16-cupertino.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Cupertino scheme by Defman21 + +local gui00 = "ffffff" +local gui01 = "c0c0c0" +local gui02 = "c0c0c0" +local gui03 = "808080" +local gui04 = "808080" +local gui05 = "404040" +local gui06 = "404040" +local gui07 = "5e5e5e" +local gui08 = "c41a15" +local gui09 = "eb8500" +local gui0A = "826b28" +local gui0B = "007400" +local gui0C = "318495" +local gui0D = "0000ff" +local gui0E = "a90d91" +local gui0F = "826b28" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-cupertino" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-danqing.lua b/colors/base16-danqing.lua new file mode 100644 index 0000000..d232f62 --- /dev/null +++ b/colors/base16-danqing.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- DanQing scheme by Wenhan Zhu (Cosmos) (zhuwenhan950913@gmail.com) + +local gui00 = "2d302f" +local gui01 = "434846" +local gui02 = "5a605d" +local gui03 = "9da8a3" +local gui04 = "cad8d2" +local gui05 = "e0f0eF" +local gui06 = "ecf6f2" +local gui07 = "fcfefd" +local gui08 = "F9906F" +local gui09 = "B38A61" +local gui0A = "F0C239" +local gui0B = "8AB361" +local gui0C = "30DFF3" +local gui0D = "B0A4E3" +local gui0E = "CCA4E3" +local gui0F = "CA6924" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-danqing" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-darcula.lua b/colors/base16-darcula.lua new file mode 100644 index 0000000..6cc81fe --- /dev/null +++ b/colors/base16-darcula.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Darcula scheme by jetbrains + +local gui00 = "2b2b2b" +local gui01 = "323232" +local gui02 = "323232" +local gui03 = "606366" +local gui04 = "a4a3a3" +local gui05 = "a9b7c6" +local gui06 = "ffc66d" +local gui07 = "ffffff" +local gui08 = "4eade5" +local gui09 = "689757" +local gui0A = "bbb529" +local gui0B = "6a8759" +local gui0C = "629755" +local gui0D = "9876aa" +local gui0E = "cc7832" +local gui0F = "808080" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-darcula" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-darkmoss.lua b/colors/base16-darkmoss.lua new file mode 100644 index 0000000..edeae1c --- /dev/null +++ b/colors/base16-darkmoss.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- darkmoss scheme by Gabriel Avanzi (https://github.com/avanzzzi) + +local gui00 = "171e1f" +local gui01 = "252c2d" +local gui02 = "373c3d" +local gui03 = "555e5f" +local gui04 = "818f80" +local gui05 = "c7c7a5" +local gui06 = "e3e3c8" +local gui07 = "e1eaef" +local gui08 = "ff4658" +local gui09 = "e6db74" +local gui0A = "fdb11f" +local gui0B = "499180" +local gui0C = "66d9ef" +local gui0D = "498091" +local gui0E = "9bc0c8" +local gui0F = "d27b53" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-darkmoss" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-darktooth.lua b/colors/base16-darktooth.lua new file mode 100644 index 0000000..c4e63c5 --- /dev/null +++ b/colors/base16-darktooth.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Darktooth scheme by Jason Milkins (https://github.com/jasonm23) + +local gui00 = "1D2021" +local gui01 = "32302F" +local gui02 = "504945" +local gui03 = "665C54" +local gui04 = "928374" +local gui05 = "A89984" +local gui06 = "D5C4A1" +local gui07 = "FDF4C1" +local gui08 = "FB543F" +local gui09 = "FE8625" +local gui0A = "FAC03B" +local gui0B = "95C085" +local gui0C = "8BA59B" +local gui0D = "0D6678" +local gui0E = "8F4673" +local gui0F = "A87322" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-darktooth" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-darkviolet.lua b/colors/base16-darkviolet.lua new file mode 100644 index 0000000..7291f77 --- /dev/null +++ b/colors/base16-darkviolet.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Dark Violet scheme by ruler501 (https://github.com/ruler501/base16-darkviolet) + +local gui00 = "000000" +local gui01 = "231a40" +local gui02 = "432d59" +local gui03 = "593380" +local gui04 = "00ff00" +local gui05 = "b08ae6" +local gui06 = "9045e6" +local gui07 = "a366ff" +local gui08 = "a82ee6" +local gui09 = "bb66cc" +local gui0A = "f29df2" +local gui0B = "4595e6" +local gui0C = "40dfff" +local gui0D = "4136d9" +local gui0E = "7e5ce6" +local gui0F = "a886bf" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-darkviolet" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-decaf.lua b/colors/base16-decaf.lua new file mode 100644 index 0000000..12f9538 --- /dev/null +++ b/colors/base16-decaf.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Decaf scheme by Alex Mirrington (https://github.com/alexmirrington) + +local gui00 = "2d2d2d" +local gui01 = "393939" +local gui02 = "515151" +local gui03 = "777777" +local gui04 = "b4b7b4" +local gui05 = "cccccc" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "ff7f7b" +local gui09 = "ffbf70" +local gui0A = "ffd67c" +local gui0B = "beda78" +local gui0C = "bed6ff" +local gui0D = "90bee1" +local gui0E = "efb3f7" +local gui0F = "ff93b3" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-decaf" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-default-dark.lua b/colors/base16-default-dark.lua new file mode 100644 index 0000000..69055e2 --- /dev/null +++ b/colors/base16-default-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Default Dark scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "181818" +local gui01 = "282828" +local gui02 = "383838" +local gui03 = "585858" +local gui04 = "b8b8b8" +local gui05 = "d8d8d8" +local gui06 = "e8e8e8" +local gui07 = "f8f8f8" +local gui08 = "ab4642" +local gui09 = "dc9656" +local gui0A = "f7ca88" +local gui0B = "a1b56c" +local gui0C = "86c1b9" +local gui0D = "7cafc2" +local gui0E = "ba8baf" +local gui0F = "a16946" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-default-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-default-light.lua b/colors/base16-default-light.lua new file mode 100644 index 0000000..dccfb6d --- /dev/null +++ b/colors/base16-default-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Default Light scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "f8f8f8" +local gui01 = "e8e8e8" +local gui02 = "d8d8d8" +local gui03 = "b8b8b8" +local gui04 = "585858" +local gui05 = "383838" +local gui06 = "282828" +local gui07 = "181818" +local gui08 = "ab4642" +local gui09 = "dc9656" +local gui0A = "f7ca88" +local gui0B = "a1b56c" +local gui0C = "86c1b9" +local gui0D = "7cafc2" +local gui0E = "ba8baf" +local gui0F = "a16946" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-default-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-dirtysea.lua b/colors/base16-dirtysea.lua new file mode 100644 index 0000000..3c00fae --- /dev/null +++ b/colors/base16-dirtysea.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- dirtysea scheme by Kahlil (Kal) Hodgson + +local gui00 = "e0e0e0" +local gui01 = "d0dad0" +local gui02 = "d0d0d0" +local gui03 = "707070" +local gui04 = "202020" +local gui05 = "000000" +local gui06 = "f8f8f8" +local gui07 = "c4d9c4" +local gui08 = "840000" +local gui09 = "006565" +local gui0A = "755B00" +local gui0B = "730073" +local gui0C = "755B00" +local gui0D = "007300" +local gui0E = "000090" +local gui0F = "755B00" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-dirtysea" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-dracula.lua b/colors/base16-dracula.lua new file mode 100644 index 0000000..0a3ca6d --- /dev/null +++ b/colors/base16-dracula.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Dracula scheme by Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) + +local gui00 = "282936" +local gui01 = "3a3c4e" +local gui02 = "4d4f68" +local gui03 = "626483" +local gui04 = "62d6e8" +local gui05 = "e9e9f4" +local gui06 = "f1f2f8" +local gui07 = "f7f7fb" +local gui08 = "ea51b2" +local gui09 = "b45bcf" +local gui0A = "00f769" +local gui0B = "ebff87" +local gui0C = "a1efe4" +local gui0D = "62d6e8" +local gui0E = "b45bcf" +local gui0F = "00f769" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-dracula" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-edge-dark.lua b/colors/base16-edge-dark.lua new file mode 100644 index 0000000..f9b01ef --- /dev/null +++ b/colors/base16-edge-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Edge Dark scheme by cjayross (https://github.com/cjayross) + +local gui00 = "262729" +local gui01 = "88909f" +local gui02 = "b7bec9" +local gui03 = "3e4249" +local gui04 = "73b3e7" +local gui05 = "b7bec9" +local gui06 = "d390e7" +local gui07 = "3e4249" +local gui08 = "e77171" +local gui09 = "e77171" +local gui0A = "dbb774" +local gui0B = "a1bf78" +local gui0C = "5ebaa5" +local gui0D = "73b3e7" +local gui0E = "d390e7" +local gui0F = "5ebaa5" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-edge-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-edge-light.lua b/colors/base16-edge-light.lua new file mode 100644 index 0000000..fed2566 --- /dev/null +++ b/colors/base16-edge-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Edge Light scheme by cjayross (https://github.com/cjayross) + +local gui00 = "fafafa" +local gui01 = "7c9f4b" +local gui02 = "d69822" +local gui03 = "5e646f" +local gui04 = "6587bf" +local gui05 = "5e646f" +local gui06 = "b870ce" +local gui07 = "5e646f" +local gui08 = "db7070" +local gui09 = "db7070" +local gui0A = "d69822" +local gui0B = "7c9f4b" +local gui0C = "509c93" +local gui0D = "6587bf" +local gui0E = "b870ce" +local gui0F = "509c93" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-edge-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-eighties.lua b/colors/base16-eighties.lua new file mode 100644 index 0000000..281d62b --- /dev/null +++ b/colors/base16-eighties.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Eighties scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "2d2d2d" +local gui01 = "393939" +local gui02 = "515151" +local gui03 = "747369" +local gui04 = "a09f93" +local gui05 = "d3d0c8" +local gui06 = "e8e6df" +local gui07 = "f2f0ec" +local gui08 = "f2777a" +local gui09 = "f99157" +local gui0A = "ffcc66" +local gui0B = "99cc99" +local gui0C = "66cccc" +local gui0D = "6699cc" +local gui0E = "cc99cc" +local gui0F = "d27b53" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-eighties" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-embers.lua b/colors/base16-embers.lua new file mode 100644 index 0000000..023ce45 --- /dev/null +++ b/colors/base16-embers.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Embers scheme by Jannik Siebert (https://github.com/janniks) + +local gui00 = "16130F" +local gui01 = "2C2620" +local gui02 = "433B32" +local gui03 = "5A5047" +local gui04 = "8A8075" +local gui05 = "A39A90" +local gui06 = "BEB6AE" +local gui07 = "DBD6D1" +local gui08 = "826D57" +local gui09 = "828257" +local gui0A = "6D8257" +local gui0B = "57826D" +local gui0C = "576D82" +local gui0D = "6D5782" +local gui0E = "82576D" +local gui0F = "825757" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-embers" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-equilibrium-dark.lua b/colors/base16-equilibrium-dark.lua new file mode 100644 index 0000000..7e11c89 --- /dev/null +++ b/colors/base16-equilibrium-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Equilibrium Dark scheme by Carlo Abelli + +local gui00 = "0c1118" +local gui01 = "181c22" +local gui02 = "22262d" +local gui03 = "7b776e" +local gui04 = "949088" +local gui05 = "afaba2" +local gui06 = "cac6bd" +local gui07 = "e7e2d9" +local gui08 = "f04339" +local gui09 = "df5923" +local gui0A = "bb8801" +local gui0B = "7f8b00" +local gui0C = "00948b" +local gui0D = "008dd1" +local gui0E = "6a7fd2" +local gui0F = "e3488e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-equilibrium-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-equilibrium-gray-dark.lua b/colors/base16-equilibrium-gray-dark.lua new file mode 100644 index 0000000..15f7ad6 --- /dev/null +++ b/colors/base16-equilibrium-gray-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Equilibrium Gray Dark scheme by Carlo Abelli + +local gui00 = "111111" +local gui01 = "1b1b1b" +local gui02 = "262626" +local gui03 = "777777" +local gui04 = "919191" +local gui05 = "ababab" +local gui06 = "c6c6c6" +local gui07 = "e2e2e2" +local gui08 = "f04339" +local gui09 = "df5923" +local gui0A = "bb8801" +local gui0B = "7f8b00" +local gui0C = "00948b" +local gui0D = "008dd1" +local gui0E = "6a7fd2" +local gui0F = "e3488e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-equilibrium-gray-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-equilibrium-gray-light.lua b/colors/base16-equilibrium-gray-light.lua new file mode 100644 index 0000000..8f02636 --- /dev/null +++ b/colors/base16-equilibrium-gray-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Equilibrium Gray Light scheme by Carlo Abelli + +local gui00 = "f1f1f1" +local gui01 = "e2e2e2" +local gui02 = "d4d4d4" +local gui03 = "777777" +local gui04 = "5e5e5e" +local gui05 = "474747" +local gui06 = "303030" +local gui07 = "1b1b1b" +local gui08 = "d02023" +local gui09 = "bf3e05" +local gui0A = "9d6f00" +local gui0B = "637200" +local gui0C = "007a72" +local gui0D = "0073b5" +local gui0E = "4e66b6" +local gui0F = "c42775" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-equilibrium-gray-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-equilibrium-light.lua b/colors/base16-equilibrium-light.lua new file mode 100644 index 0000000..abcca1f --- /dev/null +++ b/colors/base16-equilibrium-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Equilibrium Light scheme by Carlo Abelli + +local gui00 = "f5f0e7" +local gui01 = "e7e2d9" +local gui02 = "d8d4cb" +local gui03 = "73777f" +local gui04 = "5a5f66" +local gui05 = "43474e" +local gui06 = "2c3138" +local gui07 = "181c22" +local gui08 = "d02023" +local gui09 = "bf3e05" +local gui0A = "9d6f00" +local gui0B = "637200" +local gui0C = "007a72" +local gui0D = "0073b5" +local gui0E = "4e66b6" +local gui0F = "c42775" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-equilibrium-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-espresso.lua b/colors/base16-espresso.lua new file mode 100644 index 0000000..355c10e --- /dev/null +++ b/colors/base16-espresso.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Espresso scheme by Unknown. Maintained by Alex Mirrington (https://github.com/alexmirrington) + +local gui00 = "2d2d2d" +local gui01 = "393939" +local gui02 = "515151" +local gui03 = "777777" +local gui04 = "b4b7b4" +local gui05 = "cccccc" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "d25252" +local gui09 = "f9a959" +local gui0A = "ffc66d" +local gui0B = "a5c261" +local gui0C = "bed6ff" +local gui0D = "6c99bb" +local gui0E = "d197d9" +local gui0F = "f97394" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-espresso" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-eva-dim.lua b/colors/base16-eva-dim.lua new file mode 100644 index 0000000..fa6caa8 --- /dev/null +++ b/colors/base16-eva-dim.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Eva Dim scheme by kjakapat (https://github.com/kjakapat) + +local gui00 = "2a3b4d" +local gui01 = "3d566f" +local gui02 = "4b6988" +local gui03 = "55799c" +local gui04 = "7e90a3" +local gui05 = "9fa2a6" +local gui06 = "d6d7d9" +local gui07 = "ffffff" +local gui08 = "c4676c" +local gui09 = "ff9966" +local gui0A = "cfd05d" +local gui0B = "5de561" +local gui0C = "4b8f77" +local gui0D = "1ae1dc" +local gui0E = "9c6cd3" +local gui0F = "bb64a9" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-eva-dim" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-eva.lua b/colors/base16-eva.lua new file mode 100644 index 0000000..0ee4a5b --- /dev/null +++ b/colors/base16-eva.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Eva scheme by kjakapat (https://github.com/kjakapat) + +local gui00 = "2a3b4d" +local gui01 = "3d566f" +local gui02 = "4b6988" +local gui03 = "55799c" +local gui04 = "7e90a3" +local gui05 = "9fa2a6" +local gui06 = "d6d7d9" +local gui07 = "ffffff" +local gui08 = "c4676c" +local gui09 = "ff9966" +local gui0A = "ffff66" +local gui0B = "66ff66" +local gui0C = "4b8f77" +local gui0D = "15f4ee" +local gui0E = "9c6cd3" +local gui0F = "bb64a9" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-eva" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-flat.lua b/colors/base16-flat.lua new file mode 100644 index 0000000..ea76e45 --- /dev/null +++ b/colors/base16-flat.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Flat scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "2C3E50" +local gui01 = "34495E" +local gui02 = "7F8C8D" +local gui03 = "95A5A6" +local gui04 = "BDC3C7" +local gui05 = "e0e0e0" +local gui06 = "f5f5f5" +local gui07 = "ECF0F1" +local gui08 = "E74C3C" +local gui09 = "E67E22" +local gui0A = "F1C40F" +local gui0B = "2ECC71" +local gui0C = "1ABC9C" +local gui0D = "3498DB" +local gui0E = "9B59B6" +local gui0F = "be643c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-flat" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-framer.lua b/colors/base16-framer.lua new file mode 100644 index 0000000..68cce2b --- /dev/null +++ b/colors/base16-framer.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Framer scheme by Framer (Maintained by Jesse Hoyos) + +local gui00 = "181818" +local gui01 = "151515" +local gui02 = "464646" +local gui03 = "747474" +local gui04 = "B9B9B9" +local gui05 = "D0D0D0" +local gui06 = "E8E8E8" +local gui07 = "EEEEEE" +local gui08 = "FD886B" +local gui09 = "FC4769" +local gui0A = "FECB6E" +local gui0B = "32CCDC" +local gui0C = "ACDDFD" +local gui0D = "20BCFC" +local gui0E = "BA8CFC" +local gui0F = "B15F4A" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-framer" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-fruit-soda.lua b/colors/base16-fruit-soda.lua new file mode 100644 index 0000000..85665f6 --- /dev/null +++ b/colors/base16-fruit-soda.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Fruit Soda scheme by jozip + +local gui00 = "f1ecf1" +local gui01 = "e0dee0" +local gui02 = "d8d5d5" +local gui03 = "b5b4b6" +local gui04 = "979598" +local gui05 = "515151" +local gui06 = "474545" +local gui07 = "2d2c2c" +local gui08 = "fe3e31" +local gui09 = "fe6d08" +local gui0A = "f7e203" +local gui0B = "47f74c" +local gui0C = "0f9cfd" +local gui0D = "2931df" +local gui0E = "611fce" +local gui0F = "b16f40" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-fruit-soda" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gigavolt.lua b/colors/base16-gigavolt.lua new file mode 100644 index 0000000..40d8ac3 --- /dev/null +++ b/colors/base16-gigavolt.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gigavolt scheme by Aidan Swope (http://github.com/Whillikers) + +local gui00 = "202126" +local gui01 = "2d303d" +local gui02 = "5a576e" +local gui03 = "a1d2e6" +local gui04 = "cad3ff" +local gui05 = "e9e7e1" +local gui06 = "eff0f9" +local gui07 = "f2fbff" +local gui08 = "ff661a" +local gui09 = "19f988" +local gui0A = "ffdc2d" +local gui0B = "f2e6a9" +local gui0C = "fb6acb" +local gui0D = "40bfff" +local gui0E = "ae94f9" +local gui0F = "6187ff" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gigavolt" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-github.lua b/colors/base16-github.lua new file mode 100644 index 0000000..e2bdf5d --- /dev/null +++ b/colors/base16-github.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Github scheme by Defman21 + +local gui00 = "ffffff" +local gui01 = "f5f5f5" +local gui02 = "c8c8fa" +local gui03 = "969896" +local gui04 = "e8e8e8" +local gui05 = "333333" +local gui06 = "ffffff" +local gui07 = "ffffff" +local gui08 = "ed6a43" +local gui09 = "0086b3" +local gui0A = "795da3" +local gui0B = "183691" +local gui0C = "183691" +local gui0D = "795da3" +local gui0E = "a71d5d" +local gui0F = "333333" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-github" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-google-dark.lua b/colors/base16-google-dark.lua new file mode 100644 index 0000000..38efd37 --- /dev/null +++ b/colors/base16-google-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Google Dark scheme by Seth Wright (http://sethawright.com) + +local gui00 = "1d1f21" +local gui01 = "282a2e" +local gui02 = "373b41" +local gui03 = "969896" +local gui04 = "b4b7b4" +local gui05 = "c5c8c6" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "CC342B" +local gui09 = "F96A38" +local gui0A = "FBA922" +local gui0B = "198844" +local gui0C = "3971ED" +local gui0D = "3971ED" +local gui0E = "A36AC7" +local gui0F = "3971ED" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-google-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-google-light.lua b/colors/base16-google-light.lua new file mode 100644 index 0000000..c903da1 --- /dev/null +++ b/colors/base16-google-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Google Light scheme by Seth Wright (http://sethawright.com) + +local gui00 = "ffffff" +local gui01 = "e0e0e0" +local gui02 = "c5c8c6" +local gui03 = "b4b7b4" +local gui04 = "969896" +local gui05 = "373b41" +local gui06 = "282a2e" +local gui07 = "1d1f21" +local gui08 = "CC342B" +local gui09 = "F96A38" +local gui0A = "FBA922" +local gui0B = "198844" +local gui0C = "3971ED" +local gui0D = "3971ED" +local gui0E = "A36AC7" +local gui0F = "3971ED" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-google-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-grayscale-dark.lua b/colors/base16-grayscale-dark.lua new file mode 100644 index 0000000..a150862 --- /dev/null +++ b/colors/base16-grayscale-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Grayscale Dark scheme by Alexandre Gavioli (https://github.com/Alexx2/) + +local gui00 = "101010" +local gui01 = "252525" +local gui02 = "464646" +local gui03 = "525252" +local gui04 = "ababab" +local gui05 = "b9b9b9" +local gui06 = "e3e3e3" +local gui07 = "f7f7f7" +local gui08 = "7c7c7c" +local gui09 = "999999" +local gui0A = "a0a0a0" +local gui0B = "8e8e8e" +local gui0C = "868686" +local gui0D = "686868" +local gui0E = "747474" +local gui0F = "5e5e5e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-grayscale-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-grayscale-light.lua b/colors/base16-grayscale-light.lua new file mode 100644 index 0000000..07d350f --- /dev/null +++ b/colors/base16-grayscale-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Grayscale Light scheme by Alexandre Gavioli (https://github.com/Alexx2/) + +local gui00 = "f7f7f7" +local gui01 = "e3e3e3" +local gui02 = "b9b9b9" +local gui03 = "ababab" +local gui04 = "525252" +local gui05 = "464646" +local gui06 = "252525" +local gui07 = "101010" +local gui08 = "7c7c7c" +local gui09 = "999999" +local gui0A = "a0a0a0" +local gui0B = "8e8e8e" +local gui0C = "868686" +local gui0D = "686868" +local gui0E = "747474" +local gui0F = "5e5e5e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-grayscale-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-greenscreen.lua b/colors/base16-greenscreen.lua new file mode 100644 index 0000000..1392399 --- /dev/null +++ b/colors/base16-greenscreen.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Green Screen scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "001100" +local gui01 = "003300" +local gui02 = "005500" +local gui03 = "007700" +local gui04 = "009900" +local gui05 = "00bb00" +local gui06 = "00dd00" +local gui07 = "00ff00" +local gui08 = "007700" +local gui09 = "009900" +local gui0A = "007700" +local gui0B = "00bb00" +local gui0C = "005500" +local gui0D = "009900" +local gui0E = "00bb00" +local gui0F = "005500" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-greenscreen" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-dark-hard.lua b/colors/base16-gruvbox-dark-hard.lua new file mode 100644 index 0000000..b7eb5b2 --- /dev/null +++ b/colors/base16-gruvbox-dark-hard.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox dark, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "1d2021" +local gui01 = "3c3836" +local gui02 = "504945" +local gui03 = "665c54" +local gui04 = "bdae93" +local gui05 = "d5c4a1" +local gui06 = "ebdbb2" +local gui07 = "fbf1c7" +local gui08 = "fb4934" +local gui09 = "fe8019" +local gui0A = "fabd2f" +local gui0B = "b8bb26" +local gui0C = "8ec07c" +local gui0D = "83a598" +local gui0E = "d3869b" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-dark-hard" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-dark-medium.lua b/colors/base16-gruvbox-dark-medium.lua new file mode 100644 index 0000000..98b145e --- /dev/null +++ b/colors/base16-gruvbox-dark-medium.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox dark, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "282828" +local gui01 = "3c3836" +local gui02 = "504945" +local gui03 = "665c54" +local gui04 = "bdae93" +local gui05 = "d5c4a1" +local gui06 = "ebdbb2" +local gui07 = "fbf1c7" +local gui08 = "fb4934" +local gui09 = "fe8019" +local gui0A = "fabd2f" +local gui0B = "b8bb26" +local gui0C = "8ec07c" +local gui0D = "83a598" +local gui0E = "d3869b" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-dark-medium" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-dark-pale.lua b/colors/base16-gruvbox-dark-pale.lua new file mode 100644 index 0000000..a6c8ebf --- /dev/null +++ b/colors/base16-gruvbox-dark-pale.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox dark, pale scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "262626" +local gui01 = "3a3a3a" +local gui02 = "4e4e4e" +local gui03 = "8a8a8a" +local gui04 = "949494" +local gui05 = "dab997" +local gui06 = "d5c4a1" +local gui07 = "ebdbb2" +local gui08 = "d75f5f" +local gui09 = "ff8700" +local gui0A = "ffaf00" +local gui0B = "afaf00" +local gui0C = "85ad85" +local gui0D = "83adad" +local gui0E = "d485ad" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-dark-pale" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-dark-soft.lua b/colors/base16-gruvbox-dark-soft.lua new file mode 100644 index 0000000..25fd534 --- /dev/null +++ b/colors/base16-gruvbox-dark-soft.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox dark, soft scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "32302f" +local gui01 = "3c3836" +local gui02 = "504945" +local gui03 = "665c54" +local gui04 = "bdae93" +local gui05 = "d5c4a1" +local gui06 = "ebdbb2" +local gui07 = "fbf1c7" +local gui08 = "fb4934" +local gui09 = "fe8019" +local gui0A = "fabd2f" +local gui0B = "b8bb26" +local gui0C = "8ec07c" +local gui0D = "83a598" +local gui0E = "d3869b" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-dark-soft" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-light-hard.lua b/colors/base16-gruvbox-light-hard.lua new file mode 100644 index 0000000..923dd81 --- /dev/null +++ b/colors/base16-gruvbox-light-hard.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox light, hard scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "f9f5d7" +local gui01 = "ebdbb2" +local gui02 = "d5c4a1" +local gui03 = "bdae93" +local gui04 = "665c54" +local gui05 = "504945" +local gui06 = "3c3836" +local gui07 = "282828" +local gui08 = "9d0006" +local gui09 = "af3a03" +local gui0A = "b57614" +local gui0B = "79740e" +local gui0C = "427b58" +local gui0D = "076678" +local gui0E = "8f3f71" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-light-hard" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-light-medium.lua b/colors/base16-gruvbox-light-medium.lua new file mode 100644 index 0000000..b1a081c --- /dev/null +++ b/colors/base16-gruvbox-light-medium.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox light, medium scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "fbf1c7" +local gui01 = "ebdbb2" +local gui02 = "d5c4a1" +local gui03 = "bdae93" +local gui04 = "665c54" +local gui05 = "504945" +local gui06 = "3c3836" +local gui07 = "282828" +local gui08 = "9d0006" +local gui09 = "af3a03" +local gui0A = "b57614" +local gui0B = "79740e" +local gui0C = "427b58" +local gui0D = "076678" +local gui0E = "8f3f71" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-light-medium" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-gruvbox-light-soft.lua b/colors/base16-gruvbox-light-soft.lua new file mode 100644 index 0000000..b136bb8 --- /dev/null +++ b/colors/base16-gruvbox-light-soft.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Gruvbox light, soft scheme by Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) + +local gui00 = "f2e5bc" +local gui01 = "ebdbb2" +local gui02 = "d5c4a1" +local gui03 = "bdae93" +local gui04 = "665c54" +local gui05 = "504945" +local gui06 = "3c3836" +local gui07 = "282828" +local gui08 = "9d0006" +local gui09 = "af3a03" +local gui0A = "b57614" +local gui0B = "79740e" +local gui0C = "427b58" +local gui0D = "076678" +local gui0E = "8f3f71" +local gui0F = "d65d0e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-gruvbox-light-soft" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-hardcore.lua b/colors/base16-hardcore.lua new file mode 100644 index 0000000..bb53d96 --- /dev/null +++ b/colors/base16-hardcore.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Hardcore scheme by Chris Caller + +local gui00 = "212121" +local gui01 = "303030" +local gui02 = "353535" +local gui03 = "4A4A4A" +local gui04 = "707070" +local gui05 = "cdcdcd" +local gui06 = "e5e5e5" +local gui07 = "ffffff" +local gui08 = "f92672" +local gui09 = "fd971f" +local gui0A = "e6db74" +local gui0B = "a6e22e" +local gui0C = "708387" +local gui0D = "66d9ef" +local gui0E = "9e6ffe" +local gui0F = "e8b882" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-hardcore" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-harmonic-dark.lua b/colors/base16-harmonic-dark.lua new file mode 100644 index 0000000..8c244c3 --- /dev/null +++ b/colors/base16-harmonic-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Harmonic16 Dark scheme by Jannik Siebert (https://github.com/janniks) + +local gui00 = "0b1c2c" +local gui01 = "223b54" +local gui02 = "405c79" +local gui03 = "627e99" +local gui04 = "aabcce" +local gui05 = "cbd6e2" +local gui06 = "e5ebf1" +local gui07 = "f7f9fb" +local gui08 = "bf8b56" +local gui09 = "bfbf56" +local gui0A = "8bbf56" +local gui0B = "56bf8b" +local gui0C = "568bbf" +local gui0D = "8b56bf" +local gui0E = "bf568b" +local gui0F = "bf5656" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-harmonic-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-harmonic-light.lua b/colors/base16-harmonic-light.lua new file mode 100644 index 0000000..1362de3 --- /dev/null +++ b/colors/base16-harmonic-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Harmonic16 Light scheme by Jannik Siebert (https://github.com/janniks) + +local gui00 = "f7f9fb" +local gui01 = "e5ebf1" +local gui02 = "cbd6e2" +local gui03 = "aabcce" +local gui04 = "627e99" +local gui05 = "405c79" +local gui06 = "223b54" +local gui07 = "0b1c2c" +local gui08 = "bf8b56" +local gui09 = "bfbf56" +local gui0A = "8bbf56" +local gui0B = "56bf8b" +local gui0C = "568bbf" +local gui0D = "8b56bf" +local gui0E = "bf568b" +local gui0F = "bf5656" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-harmonic-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-heetch-light.lua b/colors/base16-heetch-light.lua new file mode 100644 index 0000000..62f199b --- /dev/null +++ b/colors/base16-heetch-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Heetch Light scheme by Geoffrey Teale (tealeg@gmail.com) + +local gui00 = "feffff" +local gui01 = "392551" +local gui02 = "7b6d8b" +local gui03 = "9c92a8" +local gui04 = "ddd6e5" +local gui05 = "5a496e" +local gui06 = "470546" +local gui07 = "190134" +local gui08 = "27d9d5" +local gui09 = "bdb6c5" +local gui0A = "5ba2b6" +local gui0B = "f80059" +local gui0C = "c33678" +local gui0D = "47f9f5" +local gui0E = "bd0152" +local gui0F = "dedae2" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-heetch-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-heetch.lua b/colors/base16-heetch.lua new file mode 100644 index 0000000..a42cdf6 --- /dev/null +++ b/colors/base16-heetch.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Heetch Dark scheme by Geoffrey Teale (tealeg@gmail.com) + +local gui00 = "190134" +local gui01 = "392551" +local gui02 = "5A496E" +local gui03 = "7B6D8B" +local gui04 = "9C92A8" +local gui05 = "BDB6C5" +local gui06 = "DEDAE2" +local gui07 = "FEFFFF" +local gui08 = "27D9D5" +local gui09 = "5BA2B6" +local gui0A = "8F6C97" +local gui0B = "C33678" +local gui0C = "F80059" +local gui0D = "BD0152" +local gui0E = "82034C" +local gui0F = "470546" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-heetch" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-helios.lua b/colors/base16-helios.lua new file mode 100644 index 0000000..ec7a51e --- /dev/null +++ b/colors/base16-helios.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Helios scheme by Alex Meyer (https://github.com/reyemxela) + +local gui00 = "1d2021" +local gui01 = "383c3e" +local gui02 = "53585b" +local gui03 = "6f7579" +local gui04 = "cdcdcd" +local gui05 = "d5d5d5" +local gui06 = "dddddd" +local gui07 = "e5e5e5" +local gui08 = "d72638" +local gui09 = "eb8413" +local gui0A = "f19d1a" +local gui0B = "88b92d" +local gui0C = "1ba595" +local gui0D = "1e8bac" +local gui0E = "be4264" +local gui0F = "c85e0d" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-helios" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-hopscotch.lua b/colors/base16-hopscotch.lua new file mode 100644 index 0000000..7ff5e10 --- /dev/null +++ b/colors/base16-hopscotch.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Hopscotch scheme by Jan T. Sott + +local gui00 = "322931" +local gui01 = "433b42" +local gui02 = "5c545b" +local gui03 = "797379" +local gui04 = "989498" +local gui05 = "b9b5b8" +local gui06 = "d5d3d5" +local gui07 = "ffffff" +local gui08 = "dd464c" +local gui09 = "fd8b19" +local gui0A = "fdcc59" +local gui0B = "8fc13e" +local gui0C = "149b93" +local gui0D = "1290bf" +local gui0E = "c85e7c" +local gui0F = "b33508" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-hopscotch" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-horizon-dark.lua b/colors/base16-horizon-dark.lua new file mode 100644 index 0000000..175f0fe --- /dev/null +++ b/colors/base16-horizon-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Horizon Dark scheme by Michaël Ball (http://github.com/michael-ball/) + +local gui00 = "1C1E26" +local gui01 = "232530" +local gui02 = "2E303E" +local gui03 = "6F6F70" +local gui04 = "9DA0A2" +local gui05 = "CBCED0" +local gui06 = "DCDFE4" +local gui07 = "E3E6EE" +local gui08 = "E93C58" +local gui09 = "E58D7D" +local gui0A = "EFB993" +local gui0B = "EFAF8E" +local gui0C = "24A8B4" +local gui0D = "DF5273" +local gui0E = "B072D1" +local gui0F = "E4A382" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-horizon-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-horizon-light.lua b/colors/base16-horizon-light.lua new file mode 100644 index 0000000..4b60e6f --- /dev/null +++ b/colors/base16-horizon-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Horizon Light scheme by Michaël Ball (http://github.com/michael-ball/) + +local gui00 = "FDF0ED" +local gui01 = "FADAD1" +local gui02 = "F9CBBE" +local gui03 = "BDB3B1" +local gui04 = "948C8A" +local gui05 = "403C3D" +local gui06 = "302C2D" +local gui07 = "201C1D" +local gui08 = "F7939B" +local gui09 = "F6661E" +local gui0A = "FBE0D9" +local gui0B = "94E1B0" +local gui0C = "DC3318" +local gui0D = "DA103F" +local gui0E = "1D8991" +local gui0F = "E58C92" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-horizon-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-horizon-terminal-dark.lua b/colors/base16-horizon-terminal-dark.lua new file mode 100644 index 0000000..b769c5d --- /dev/null +++ b/colors/base16-horizon-terminal-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Horizon Dark scheme by Michaël Ball (http://github.com/michael-ball/) + +local gui00 = "1C1E26" +local gui01 = "232530" +local gui02 = "2E303E" +local gui03 = "6F6F70" +local gui04 = "9DA0A2" +local gui05 = "CBCED0" +local gui06 = "DCDFE4" +local gui07 = "E3E6EE" +local gui08 = "E95678" +local gui09 = "FAB795" +local gui0A = "FAC29A" +local gui0B = "29D398" +local gui0C = "59E1E3" +local gui0D = "26BBD9" +local gui0E = "EE64AC" +local gui0F = "F09383" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-horizon-terminal-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-horizon-terminal-light.lua b/colors/base16-horizon-terminal-light.lua new file mode 100644 index 0000000..641f09e --- /dev/null +++ b/colors/base16-horizon-terminal-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Horizon Light scheme by Michaël Ball (http://github.com/michael-ball/) + +local gui00 = "FDF0ED" +local gui01 = "FADAD1" +local gui02 = "F9CBBE" +local gui03 = "BDB3B1" +local gui04 = "948C8A" +local gui05 = "403C3D" +local gui06 = "302C2D" +local gui07 = "201C1D" +local gui08 = "E95678" +local gui09 = "F9CEC3" +local gui0A = "FADAD1" +local gui0B = "29D398" +local gui0C = "59E1E3" +local gui0D = "26BBD9" +local gui0E = "EE64AC" +local gui0F = "F9CBBE" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-horizon-terminal-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-humanoid-dark.lua b/colors/base16-humanoid-dark.lua new file mode 100644 index 0000000..c75c52b --- /dev/null +++ b/colors/base16-humanoid-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Humanoid dark scheme by Thomas (tasmo) Friese + +local gui00 = "232629" +local gui01 = "333b3d" +local gui02 = "484e54" +local gui03 = "60615d" +local gui04 = "c0c0bd" +local gui05 = "f8f8f2" +local gui06 = "fcfcf6" +local gui07 = "fcfcfc" +local gui08 = "f11235" +local gui09 = "ff9505" +local gui0A = "ffb627" +local gui0B = "02d849" +local gui0C = "0dd9d6" +local gui0D = "00a6fb" +local gui0E = "f15ee3" +local gui0F = "b27701" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-humanoid-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-humanoid-light.lua b/colors/base16-humanoid-light.lua new file mode 100644 index 0000000..d92dccc --- /dev/null +++ b/colors/base16-humanoid-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Humanoid light scheme by Thomas (tasmo) Friese + +local gui00 = "f8f8f2" +local gui01 = "efefe9" +local gui02 = "deded8" +local gui03 = "c0c0bd" +local gui04 = "60615d" +local gui05 = "232629" +local gui06 = "2f3337" +local gui07 = "070708" +local gui08 = "b0151a" +local gui09 = "ff3d00" +local gui0A = "ffb627" +local gui0B = "388e3c" +local gui0C = "008e8e" +local gui0D = "0082c9" +local gui0E = "700f98" +local gui0F = "b27701" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-humanoid-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-ia-dark.lua b/colors/base16-ia-dark.lua new file mode 100644 index 0000000..ead897c --- /dev/null +++ b/colors/base16-ia-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- iA Dark scheme by iA Inc. (modified by aramisgithub) + +local gui00 = "1a1a1a" +local gui01 = "222222" +local gui02 = "1d414d" +local gui03 = "767676" +local gui04 = "b8b8b8" +local gui05 = "cccccc" +local gui06 = "e8e8e8" +local gui07 = "f8f8f8" +local gui08 = "d88568" +local gui09 = "d86868" +local gui0A = "b99353" +local gui0B = "83a471" +local gui0C = "7c9cae" +local gui0D = "8eccdd" +local gui0E = "b98eb2" +local gui0F = "8b6c37" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-ia-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-ia-light.lua b/colors/base16-ia-light.lua new file mode 100644 index 0000000..da899c4 --- /dev/null +++ b/colors/base16-ia-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- iA Light scheme by iA Inc. (modified by aramisgithub) + +local gui00 = "f6f6f6" +local gui01 = "dedede" +local gui02 = "bde5f2" +local gui03 = "898989" +local gui04 = "767676" +local gui05 = "181818" +local gui06 = "e8e8e8" +local gui07 = "f8f8f8" +local gui08 = "9c5a02" +local gui09 = "c43e18" +local gui0A = "c48218" +local gui0B = "38781c" +local gui0C = "2d6bb1" +local gui0D = "48bac2" +local gui0E = "a94598" +local gui0F = "8b6c37" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-ia-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-icy.lua b/colors/base16-icy.lua new file mode 100644 index 0000000..891a849 --- /dev/null +++ b/colors/base16-icy.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Icy Dark scheme by icyphox (https://icyphox.ga) + +local gui00 = "021012" +local gui01 = "031619" +local gui02 = "041f23" +local gui03 = "052e34" +local gui04 = "064048" +local gui05 = "095b67" +local gui06 = "0c7c8c" +local gui07 = "109cb0" +local gui08 = "16c1d9" +local gui09 = "b3ebf2" +local gui0A = "80deea" +local gui0B = "4dd0e1" +local gui0C = "26c6da" +local gui0D = "00bcd4" +local gui0E = "00acc1" +local gui0F = "0097a7" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-icy" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-irblack.lua b/colors/base16-irblack.lua new file mode 100644 index 0000000..ddaefee --- /dev/null +++ b/colors/base16-irblack.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- IR Black scheme by Timothée Poisot (http://timotheepoisot.fr) + +local gui00 = "000000" +local gui01 = "242422" +local gui02 = "484844" +local gui03 = "6c6c66" +local gui04 = "918f88" +local gui05 = "b5b3aa" +local gui06 = "d9d7cc" +local gui07 = "fdfbee" +local gui08 = "ff6c60" +local gui09 = "e9c062" +local gui0A = "ffffb6" +local gui0B = "a8ff60" +local gui0C = "c6c5fe" +local gui0D = "96cbfe" +local gui0E = "ff73fd" +local gui0F = "b18a3d" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-irblack" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-isotope.lua b/colors/base16-isotope.lua new file mode 100644 index 0000000..4a21a95 --- /dev/null +++ b/colors/base16-isotope.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Isotope scheme by Jan T. Sott + +local gui00 = "000000" +local gui01 = "404040" +local gui02 = "606060" +local gui03 = "808080" +local gui04 = "c0c0c0" +local gui05 = "d0d0d0" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "ff0000" +local gui09 = "ff9900" +local gui0A = "ff0099" +local gui0B = "33ff00" +local gui0C = "00ffff" +local gui0D = "0066ff" +local gui0E = "cc00ff" +local gui0F = "3300ff" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-isotope" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-kimber.lua b/colors/base16-kimber.lua new file mode 100644 index 0000000..cf2a6e0 --- /dev/null +++ b/colors/base16-kimber.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Kimber scheme by Mishka Nguyen (https://github.com/akhsiM) + +local gui00 = "222222" +local gui01 = "313131" +local gui02 = "555D55" +local gui03 = "644646" +local gui04 = "5A5A5A" +local gui05 = "DEDEE7" +local gui06 = "C3C3B4" +local gui07 = "FFFFE6" +local gui08 = "C88C8C" +local gui09 = "476C88" +local gui0A = "D8B56D" +local gui0B = "99C899" +local gui0C = "78B4B4" +local gui0D = "537C9C" +local gui0E = "86CACD" +local gui0F = "704F4F" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-kimber" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-macintosh.lua b/colors/base16-macintosh.lua new file mode 100644 index 0000000..bbdfb04 --- /dev/null +++ b/colors/base16-macintosh.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Macintosh scheme by Rebecca Bettencourt (http://www.kreativekorp.com) + +local gui00 = "000000" +local gui01 = "404040" +local gui02 = "404040" +local gui03 = "808080" +local gui04 = "808080" +local gui05 = "c0c0c0" +local gui06 = "c0c0c0" +local gui07 = "ffffff" +local gui08 = "dd0907" +local gui09 = "ff6403" +local gui0A = "fbf305" +local gui0B = "1fb714" +local gui0C = "02abea" +local gui0D = "0000d3" +local gui0E = "4700a5" +local gui0F = "90713a" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-macintosh" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-marrakesh.lua b/colors/base16-marrakesh.lua new file mode 100644 index 0000000..484cf69 --- /dev/null +++ b/colors/base16-marrakesh.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Marrakesh scheme by Alexandre Gavioli (http://github.com/Alexx2/) + +local gui00 = "201602" +local gui01 = "302e00" +local gui02 = "5f5b17" +local gui03 = "6c6823" +local gui04 = "86813b" +local gui05 = "948e48" +local gui06 = "ccc37a" +local gui07 = "faf0a5" +local gui08 = "c35359" +local gui09 = "b36144" +local gui0A = "a88339" +local gui0B = "18974e" +local gui0C = "75a738" +local gui0D = "477ca1" +local gui0E = "8868b3" +local gui0F = "b3588e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-marrakesh" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-materia.lua b/colors/base16-materia.lua new file mode 100644 index 0000000..6ed8c4a --- /dev/null +++ b/colors/base16-materia.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Materia scheme by Defman21 + +local gui00 = "263238" +local gui01 = "2C393F" +local gui02 = "37474F" +local gui03 = "707880" +local gui04 = "C9CCD3" +local gui05 = "CDD3DE" +local gui06 = "D5DBE5" +local gui07 = "FFFFFF" +local gui08 = "EC5F67" +local gui09 = "EA9560" +local gui0A = "FFCC00" +local gui0B = "8BD649" +local gui0C = "80CBC4" +local gui0D = "89DDFF" +local gui0E = "82AAFF" +local gui0F = "EC5F67" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-materia" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-material-darker.lua b/colors/base16-material-darker.lua new file mode 100644 index 0000000..afd59da --- /dev/null +++ b/colors/base16-material-darker.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Material Darker scheme by Nate Peterson + +local gui00 = "212121" +local gui01 = "303030" +local gui02 = "353535" +local gui03 = "4A4A4A" +local gui04 = "B2CCD6" +local gui05 = "EEFFFF" +local gui06 = "EEFFFF" +local gui07 = "FFFFFF" +local gui08 = "F07178" +local gui09 = "F78C6C" +local gui0A = "FFCB6B" +local gui0B = "C3E88D" +local gui0C = "89DDFF" +local gui0D = "82AAFF" +local gui0E = "C792EA" +local gui0F = "FF5370" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-material-darker" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-material-lighter.lua b/colors/base16-material-lighter.lua new file mode 100644 index 0000000..71d95b0 --- /dev/null +++ b/colors/base16-material-lighter.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Material Lighter scheme by Nate Peterson + +local gui00 = "FAFAFA" +local gui01 = "E7EAEC" +local gui02 = "CCEAE7" +local gui03 = "CCD7DA" +local gui04 = "8796B0" +local gui05 = "80CBC4" +local gui06 = "80CBC4" +local gui07 = "FFFFFF" +local gui08 = "FF5370" +local gui09 = "F76D47" +local gui0A = "FFB62C" +local gui0B = "91B859" +local gui0C = "39ADB5" +local gui0D = "6182B8" +local gui0E = "7C4DFF" +local gui0F = "E53935" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-material-lighter" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-material-palenight.lua b/colors/base16-material-palenight.lua new file mode 100644 index 0000000..dcbabc6 --- /dev/null +++ b/colors/base16-material-palenight.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Material Palenight scheme by Nate Peterson + +local gui00 = "292D3E" +local gui01 = "444267" +local gui02 = "32374D" +local gui03 = "676E95" +local gui04 = "8796B0" +local gui05 = "959DCB" +local gui06 = "959DCB" +local gui07 = "FFFFFF" +local gui08 = "F07178" +local gui09 = "F78C6C" +local gui0A = "FFCB6B" +local gui0B = "C3E88D" +local gui0C = "89DDFF" +local gui0D = "82AAFF" +local gui0E = "C792EA" +local gui0F = "FF5370" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-material-palenight" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-material-vivid.lua b/colors/base16-material-vivid.lua new file mode 100644 index 0000000..f9ddf10 --- /dev/null +++ b/colors/base16-material-vivid.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Material Vivid scheme by joshyrobot + +local gui00 = "202124" +local gui01 = "27292c" +local gui02 = "323639" +local gui03 = "44464d" +local gui04 = "676c71" +local gui05 = "80868b" +local gui06 = "9e9e9e" +local gui07 = "ffffff" +local gui08 = "f44336" +local gui09 = "ff9800" +local gui0A = "ffeb3b" +local gui0B = "00e676" +local gui0C = "00bcd4" +local gui0D = "2196f3" +local gui0E = "673ab7" +local gui0F = "8d6e63" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-material-vivid" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-material.lua b/colors/base16-material.lua new file mode 100644 index 0000000..7b47756 --- /dev/null +++ b/colors/base16-material.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Material scheme by Nate Peterson + +local gui00 = "263238" +local gui01 = "2E3C43" +local gui02 = "314549" +local gui03 = "546E7A" +local gui04 = "B2CCD6" +local gui05 = "EEFFFF" +local gui06 = "EEFFFF" +local gui07 = "FFFFFF" +local gui08 = "F07178" +local gui09 = "F78C6C" +local gui0A = "FFCB6B" +local gui0B = "C3E88D" +local gui0C = "89DDFF" +local gui0D = "82AAFF" +local gui0E = "C792EA" +local gui0F = "FF5370" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-material" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-mellow-purple.lua b/colors/base16-mellow-purple.lua new file mode 100644 index 0000000..241d280 --- /dev/null +++ b/colors/base16-mellow-purple.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Mellow Purple scheme by gidsi + +local gui00 = "1e0528" +local gui01 = "1A092D" +local gui02 = "331354" +local gui03 = "320f55" +local gui04 = "873582" +local gui05 = "ffeeff" +local gui06 = "ffeeff" +local gui07 = "f8c0ff" +local gui08 = "00d9e9" +local gui09 = "aa00a3" +local gui0A = "955ae7" +local gui0B = "05cb0d" +local gui0C = "b900b1" +local gui0D = "550068" +local gui0E = "8991bb" +local gui0F = "4d6fff" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-mellow-purple" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-mexico-light.lua b/colors/base16-mexico-light.lua new file mode 100644 index 0000000..6c1d813 --- /dev/null +++ b/colors/base16-mexico-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Mexico Light scheme by Sheldon Johnson + +local gui00 = "f8f8f8" +local gui01 = "e8e8e8" +local gui02 = "d8d8d8" +local gui03 = "b8b8b8" +local gui04 = "585858" +local gui05 = "383838" +local gui06 = "282828" +local gui07 = "181818" +local gui08 = "ab4642" +local gui09 = "dc9656" +local gui0A = "f79a0e" +local gui0B = "538947" +local gui0C = "4b8093" +local gui0D = "7cafc2" +local gui0E = "96609e" +local gui0F = "a16946" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-mexico-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-mocha.lua b/colors/base16-mocha.lua new file mode 100644 index 0000000..e2579f2 --- /dev/null +++ b/colors/base16-mocha.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Mocha scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "3B3228" +local gui01 = "534636" +local gui02 = "645240" +local gui03 = "7e705a" +local gui04 = "b8afad" +local gui05 = "d0c8c6" +local gui06 = "e9e1dd" +local gui07 = "f5eeeb" +local gui08 = "cb6077" +local gui09 = "d28b71" +local gui0A = "f4bc87" +local gui0B = "beb55b" +local gui0C = "7bbda4" +local gui0D = "8ab3b5" +local gui0E = "a89bb9" +local gui0F = "bb9584" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-mocha" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-monokai.lua b/colors/base16-monokai.lua new file mode 100644 index 0000000..2644eb2 --- /dev/null +++ b/colors/base16-monokai.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Monokai scheme by Wimer Hazenberg (http://www.monokai.nl) + +local gui00 = "272822" +local gui01 = "383830" +local gui02 = "49483e" +local gui03 = "75715e" +local gui04 = "a59f85" +local gui05 = "f8f8f2" +local gui06 = "f5f4f1" +local gui07 = "f9f8f5" +local gui08 = "f92672" +local gui09 = "fd971f" +local gui0A = "f4bf75" +local gui0B = "a6e22e" +local gui0C = "a1efe4" +local gui0D = "66d9ef" +local gui0E = "ae81ff" +local gui0F = "cc6633" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-monokai" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-nebula.lua b/colors/base16-nebula.lua new file mode 100644 index 0000000..dd56eaa --- /dev/null +++ b/colors/base16-nebula.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Nebula scheme by Gabriel Fontes (https://github.com/Misterio77) + +local gui00 = "22273b" +local gui01 = "414f60" +local gui02 = "5a8380" +local gui03 = "6e6f72" +local gui04 = "87888b" +local gui05 = "a4a6a9" +local gui06 = "c7c9cd" +local gui07 = "8dbdaa" +local gui08 = "777abc" +local gui09 = "94929e" +local gui0A = "4f9062" +local gui0B = "6562a8" +local gui0C = "226f68" +local gui0D = "4d6bb6" +local gui0E = "716cae" +local gui0F = "8c70a7" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-nebula" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-nord.lua b/colors/base16-nord.lua new file mode 100644 index 0000000..e7b9286 --- /dev/null +++ b/colors/base16-nord.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Nord scheme by arcticicestudio + +local gui00 = "2E3440" +local gui01 = "3B4252" +local gui02 = "434C5E" +local gui03 = "4C566A" +local gui04 = "D8DEE9" +local gui05 = "E5E9F0" +local gui06 = "ECEFF4" +local gui07 = "8FBCBB" +local gui08 = "BF616A" +local gui09 = "D08770" +local gui0A = "EBCB8B" +local gui0B = "A3BE8C" +local gui0C = "88C0D0" +local gui0D = "81A1C1" +local gui0E = "B48EAD" +local gui0F = "5E81AC" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-nord" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-nova.lua b/colors/base16-nova.lua new file mode 100644 index 0000000..22ab896 --- /dev/null +++ b/colors/base16-nova.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Nova scheme by George Essig (https://github.com/gessig), Trevor D. Miller (https://trevordmiller.com) + +local gui00 = "3C4C55" +local gui01 = "556873" +local gui02 = "6A7D89" +local gui03 = "899BA6" +local gui04 = "899BA6" +local gui05 = "C5D4DD" +local gui06 = "899BA6" +local gui07 = "556873" +local gui08 = "83AFE5" +local gui09 = "7FC1CA" +local gui0A = "A8CE93" +local gui0B = "7FC1CA" +local gui0C = "F2C38F" +local gui0D = "83AFE5" +local gui0E = "9A93E1" +local gui0F = "F2C38F" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-nova" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-ocean.lua b/colors/base16-ocean.lua new file mode 100644 index 0000000..eb07c29 --- /dev/null +++ b/colors/base16-ocean.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Ocean scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "2b303b" +local gui01 = "343d46" +local gui02 = "4f5b66" +local gui03 = "65737e" +local gui04 = "a7adba" +local gui05 = "c0c5ce" +local gui06 = "dfe1e8" +local gui07 = "eff1f5" +local gui08 = "bf616a" +local gui09 = "d08770" +local gui0A = "ebcb8b" +local gui0B = "a3be8c" +local gui0C = "96b5b4" +local gui0D = "8fa1b3" +local gui0E = "b48ead" +local gui0F = "ab7967" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-ocean" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-oceanicnext.lua b/colors/base16-oceanicnext.lua new file mode 100644 index 0000000..91967dc --- /dev/null +++ b/colors/base16-oceanicnext.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- OceanicNext scheme by https://github.com/voronianski/oceanic-next-color-scheme + +local gui00 = "1B2B34" +local gui01 = "343D46" +local gui02 = "4F5B66" +local gui03 = "65737E" +local gui04 = "A7ADBA" +local gui05 = "C0C5CE" +local gui06 = "CDD3DE" +local gui07 = "D8DEE9" +local gui08 = "EC5f67" +local gui09 = "F99157" +local gui0A = "FAC863" +local gui0B = "99C794" +local gui0C = "5FB3B3" +local gui0D = "6699CC" +local gui0E = "C594C5" +local gui0F = "AB7967" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-oceanicnext" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-one-light.lua b/colors/base16-one-light.lua new file mode 100644 index 0000000..6bb90b0 --- /dev/null +++ b/colors/base16-one-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- One Light scheme by Daniel Pfeifer (http://github.com/purpleKarrot) + +local gui00 = "fafafa" +local gui01 = "f0f0f1" +local gui02 = "e5e5e6" +local gui03 = "a0a1a7" +local gui04 = "696c77" +local gui05 = "383a42" +local gui06 = "202227" +local gui07 = "090a0b" +local gui08 = "ca1243" +local gui09 = "d75f00" +local gui0A = "c18401" +local gui0B = "50a14f" +local gui0C = "0184bc" +local gui0D = "4078f2" +local gui0E = "a626a4" +local gui0F = "986801" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-one-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-onedark.lua b/colors/base16-onedark.lua new file mode 100644 index 0000000..f3b5f92 --- /dev/null +++ b/colors/base16-onedark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- OneDark scheme by Lalit Magant (http://github.com/tilal6991) + +local gui00 = "282c34" +local gui01 = "353b45" +local gui02 = "3e4451" +local gui03 = "545862" +local gui04 = "565c64" +local gui05 = "abb2bf" +local gui06 = "b6bdca" +local gui07 = "c8ccd4" +local gui08 = "e06c75" +local gui09 = "d19a66" +local gui0A = "e5c07b" +local gui0B = "98c379" +local gui0C = "56b6c2" +local gui0D = "61afef" +local gui0E = "c678dd" +local gui0F = "be5046" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-onedark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-outrun-dark.lua b/colors/base16-outrun-dark.lua new file mode 100644 index 0000000..5fb1d9e --- /dev/null +++ b/colors/base16-outrun-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Outrun Dark scheme by Hugo Delahousse (http://github.com/hugodelahousse/) + +local gui00 = "00002A" +local gui01 = "20204A" +local gui02 = "30305A" +local gui03 = "50507A" +local gui04 = "B0B0DA" +local gui05 = "D0D0FA" +local gui06 = "E0E0FF" +local gui07 = "F5F5FF" +local gui08 = "FF4242" +local gui09 = "FC8D28" +local gui0A = "F3E877" +local gui0B = "59F176" +local gui0C = "0EF0F0" +local gui0D = "66B0FF" +local gui0E = "F10596" +local gui0F = "F003EF" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-outrun-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-papercolor-dark.lua b/colors/base16-papercolor-dark.lua new file mode 100644 index 0000000..7ef1d6c --- /dev/null +++ b/colors/base16-papercolor-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- PaperColor Dark scheme by Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) + +local gui00 = "1c1c1c" +local gui01 = "af005f" +local gui02 = "5faf00" +local gui03 = "d7af5f" +local gui04 = "5fafd7" +local gui05 = "808080" +local gui06 = "d7875f" +local gui07 = "d0d0d0" +local gui08 = "585858" +local gui09 = "5faf5f" +local gui0A = "afd700" +local gui0B = "af87d7" +local gui0C = "ffaf00" +local gui0D = "ff5faf" +local gui0E = "00afaf" +local gui0F = "5f8787" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-papercolor-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-papercolor-light.lua b/colors/base16-papercolor-light.lua new file mode 100644 index 0000000..716ade5 --- /dev/null +++ b/colors/base16-papercolor-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- PaperColor Light scheme by Jon Leopard (http://github.com/jonleopard) based on PaperColor Theme (https://github.com/NLKNguyen/papercolor-theme) + +local gui00 = "eeeeee" +local gui01 = "af0000" +local gui02 = "008700" +local gui03 = "5f8700" +local gui04 = "0087af" +local gui05 = "444444" +local gui06 = "005f87" +local gui07 = "878787" +local gui08 = "bcbcbc" +local gui09 = "d70000" +local gui0A = "d70087" +local gui0B = "8700af" +local gui0C = "d75f00" +local gui0D = "d75f00" +local gui0E = "005faf" +local gui0F = "005f87" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-papercolor-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-paraiso.lua b/colors/base16-paraiso.lua new file mode 100644 index 0000000..bf355b3 --- /dev/null +++ b/colors/base16-paraiso.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Paraiso scheme by Jan T. Sott + +local gui00 = "2f1e2e" +local gui01 = "41323f" +local gui02 = "4f424c" +local gui03 = "776e71" +local gui04 = "8d8687" +local gui05 = "a39e9b" +local gui06 = "b9b6b0" +local gui07 = "e7e9db" +local gui08 = "ef6155" +local gui09 = "f99b15" +local gui0A = "fec418" +local gui0B = "48b685" +local gui0C = "5bc4bf" +local gui0D = "06b6ef" +local gui0E = "815ba4" +local gui0F = "e96ba8" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-paraiso" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-pasque.lua b/colors/base16-pasque.lua new file mode 100644 index 0000000..98c942c --- /dev/null +++ b/colors/base16-pasque.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Pasque scheme by Gabriel Fontes (https://github.com/Misterio77) + +local gui00 = "271C3A" +local gui01 = "100323" +local gui02 = "3E2D5C" +local gui03 = "5D5766" +local gui04 = "BEBCBF" +local gui05 = "DEDCDF" +local gui06 = "EDEAEF" +local gui07 = "BBAADD" +local gui08 = "A92258" +local gui09 = "918889" +local gui0A = "804ead" +local gui0B = "C6914B" +local gui0C = "7263AA" +local gui0D = "8E7DC6" +local gui0E = "953B9D" +local gui0F = "59325C" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-pasque" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-phd.lua b/colors/base16-phd.lua new file mode 100644 index 0000000..8cdacfc --- /dev/null +++ b/colors/base16-phd.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- PhD scheme by Hennig Hasemann (http://leetless.de/vim.html) + +local gui00 = "061229" +local gui01 = "2a3448" +local gui02 = "4d5666" +local gui03 = "717885" +local gui04 = "9a99a3" +local gui05 = "b8bbc2" +local gui06 = "dbdde0" +local gui07 = "ffffff" +local gui08 = "d07346" +local gui09 = "f0a000" +local gui0A = "fbd461" +local gui0B = "99bf52" +local gui0C = "72b9bf" +local gui0D = "5299bf" +local gui0E = "9989cc" +local gui0F = "b08060" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-phd" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-pico.lua b/colors/base16-pico.lua new file mode 100644 index 0000000..a70e08d --- /dev/null +++ b/colors/base16-pico.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Pico scheme by PICO-8 (http://www.lexaloffle.com/pico-8.php) + +local gui00 = "000000" +local gui01 = "1d2b53" +local gui02 = "7e2553" +local gui03 = "008751" +local gui04 = "ab5236" +local gui05 = "5f574f" +local gui06 = "c2c3c7" +local gui07 = "fff1e8" +local gui08 = "ff004d" +local gui09 = "ffa300" +local gui0A = "fff024" +local gui0B = "00e756" +local gui0C = "29adff" +local gui0D = "83769c" +local gui0E = "ff77a8" +local gui0F = "ffccaa" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-pico" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-pinky.lua b/colors/base16-pinky.lua new file mode 100644 index 0000000..c701965 --- /dev/null +++ b/colors/base16-pinky.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- pinky scheme by Benjamin (https://github.com/b3nj5m1n) + +local gui00 = "171517" +local gui01 = "1b181b" +local gui02 = "1d1b1d" +local gui03 = "383338" +local gui04 = "e7dbdb" +local gui05 = "f5f5f5" +local gui06 = "ffffff" +local gui07 = "f7f3f7" +local gui08 = "ffa600" +local gui09 = "00ff66" +local gui0A = "20df6c" +local gui0B = "ff0066" +local gui0C = "6600ff" +local gui0D = "00ffff" +local gui0E = "007fff" +local gui0F = "df206c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-pinky" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-pop.lua b/colors/base16-pop.lua new file mode 100644 index 0000000..f96477b --- /dev/null +++ b/colors/base16-pop.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Pop scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "000000" +local gui01 = "202020" +local gui02 = "303030" +local gui03 = "505050" +local gui04 = "b0b0b0" +local gui05 = "d0d0d0" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "eb008a" +local gui09 = "f29333" +local gui0A = "f8ca12" +local gui0B = "37b349" +local gui0C = "00aabb" +local gui0D = "0e5a94" +local gui0E = "b31e8d" +local gui0F = "7a2d00" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-pop" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-porple.lua b/colors/base16-porple.lua new file mode 100644 index 0000000..ba3d350 --- /dev/null +++ b/colors/base16-porple.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Porple scheme by Niek den Breeje (https://github.com/AuditeMarlow) + +local gui00 = "292c36" +local gui01 = "333344" +local gui02 = "474160" +local gui03 = "65568a" +local gui04 = "b8b8b8" +local gui05 = "d8d8d8" +local gui06 = "e8e8e8" +local gui07 = "f8f8f8" +local gui08 = "f84547" +local gui09 = "d28e5d" +local gui0A = "efa16b" +local gui0B = "95c76f" +local gui0C = "64878f" +local gui0D = "8485ce" +local gui0E = "b74989" +local gui0F = "986841" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-porple" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-purpledream.lua b/colors/base16-purpledream.lua new file mode 100644 index 0000000..4c75cf1 --- /dev/null +++ b/colors/base16-purpledream.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Purpledream scheme by malet + +local gui00 = "100510" +local gui01 = "302030" +local gui02 = "403040" +local gui03 = "605060" +local gui04 = "bbb0bb" +local gui05 = "ddd0dd" +local gui06 = "eee0ee" +local gui07 = "fff0ff" +local gui08 = "FF1D0D" +local gui09 = "CCAE14" +local gui0A = "F000A0" +local gui0B = "14CC64" +local gui0C = "0075B0" +local gui0D = "00A0F0" +local gui0E = "B000D0" +local gui0F = "6A2A3C" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-purpledream" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-qualia.lua b/colors/base16-qualia.lua new file mode 100644 index 0000000..5ea537c --- /dev/null +++ b/colors/base16-qualia.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Qualia scheme by isaacwhanson + +local gui00 = "101010" +local gui01 = "454545" +local gui02 = "454545" +local gui03 = "454545" +local gui04 = "808080" +local gui05 = "C0C0C0" +local gui06 = "C0C0C0" +local gui07 = "454545" +local gui08 = "EFA6A2" +local gui09 = "A3B8EF" +local gui0A = "E6A3DC" +local gui0B = "80C990" +local gui0C = "C8C874" +local gui0D = "50CACD" +local gui0E = "E0AF85" +local gui0F = "808080" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-qualia" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-railscasts.lua b/colors/base16-railscasts.lua new file mode 100644 index 0000000..c35ce1e --- /dev/null +++ b/colors/base16-railscasts.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Railscasts scheme by Ryan Bates (http://railscasts.com) + +local gui00 = "2b2b2b" +local gui01 = "272935" +local gui02 = "3a4055" +local gui03 = "5a647e" +local gui04 = "d4cfc9" +local gui05 = "e6e1dc" +local gui06 = "f4f1ed" +local gui07 = "f9f7f3" +local gui08 = "da4939" +local gui09 = "cc7833" +local gui0A = "ffc66d" +local gui0B = "a5c261" +local gui0C = "519f50" +local gui0D = "6d9cbe" +local gui0E = "b6b3eb" +local gui0F = "bc9458" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-railscasts" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-rebecca.lua b/colors/base16-rebecca.lua new file mode 100644 index 0000000..1a3de83 --- /dev/null +++ b/colors/base16-rebecca.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Rebecca scheme by Victor Borja (http://github.com/vic) based on Rebecca Theme (http://github.com/vic/rebecca-theme) + +local gui00 = "292a44" +local gui01 = "663399" +local gui02 = "383a62" +local gui03 = "666699" +local gui04 = "a0a0c5" +local gui05 = "f1eff8" +local gui06 = "ccccff" +local gui07 = "53495d" +local gui08 = "a0a0c5" +local gui09 = "efe4a1" +local gui0A = "ae81ff" +local gui0B = "6dfedf" +local gui0C = "8eaee0" +local gui0D = "2de0a7" +local gui0E = "7aa5ff" +local gui0F = "ff79c6" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-rebecca" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-rose-pine-dawn.lua b/colors/base16-rose-pine-dawn.lua new file mode 100644 index 0000000..b40e354 --- /dev/null +++ b/colors/base16-rose-pine-dawn.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Rosé Pine Dawn scheme by Emilia Dunfelt + +local gui00 = "faf4ed" +local gui01 = "fffaf3" +local gui02 = "f2e9de" +local gui03 = "9893a5" +local gui04 = "6e6a86" +local gui05 = "575279" +local gui06 = "555169" +local gui07 = "26233a" +local gui08 = "1f1d2e" +local gui09 = "b4637a" +local gui0A = "ea9d34" +local gui0B = "d7827e" +local gui0C = "286983" +local gui0D = "56949f" +local gui0E = "907aa9" +local gui0F = "c5c3ce" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-rose-pine-dawn" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-rose-pine-moon.lua b/colors/base16-rose-pine-moon.lua new file mode 100644 index 0000000..0c81e6f --- /dev/null +++ b/colors/base16-rose-pine-moon.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Rosé Pine Moon scheme by Emilia Dunfelt + +local gui00 = "232136" +local gui01 = "2a273f" +local gui02 = "393552" +local gui03 = "59546d" +local gui04 = "817c9c" +local gui05 = "e0def4" +local gui06 = "f5f5f7" +local gui07 = "d9d7e1" +local gui08 = "ecebf0" +local gui09 = "eb6f92" +local gui0A = "f6c177" +local gui0B = "ea9a97" +local gui0C = "3e8fb0" +local gui0D = "9ccfd8" +local gui0E = "c4a7e7" +local gui0F = "b9b9bc" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-rose-pine-moon" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-rose-pine.lua b/colors/base16-rose-pine.lua new file mode 100644 index 0000000..60ad957 --- /dev/null +++ b/colors/base16-rose-pine.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Rosé Pine scheme by Emilia Dunfelt + +local gui00 = "191724" +local gui01 = "1f1d2e" +local gui02 = "26233a" +local gui03 = "555169" +local gui04 = "6e6a86" +local gui05 = "e0def4" +local gui06 = "f0f0f3" +local gui07 = "c5c3ce" +local gui08 = "e2e1e7" +local gui09 = "eb6f92" +local gui0A = "f6c177" +local gui0B = "ebbcba" +local gui0C = "31748f" +local gui0D = "9ccfd8" +local gui0E = "c4a7e7" +local gui0F = "e5e5e5" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-rose-pine" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-sagelight.lua b/colors/base16-sagelight.lua new file mode 100644 index 0000000..42a3cd3 --- /dev/null +++ b/colors/base16-sagelight.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Sagelight scheme by Carter Veldhuizen + +local gui00 = "f8f8f8" +local gui01 = "e8e8e8" +local gui02 = "d8d8d8" +local gui03 = "b8b8b8" +local gui04 = "585858" +local gui05 = "383838" +local gui06 = "282828" +local gui07 = "181818" +local gui08 = "fa8480" +local gui09 = "ffaa61" +local gui0A = "ffdc61" +local gui0B = "a0d2c8" +local gui0C = "a2d6f5" +local gui0D = "a0a7d2" +local gui0E = "c8a0d2" +local gui0F = "d2b2a0" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-sagelight" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-sakura.lua b/colors/base16-sakura.lua new file mode 100644 index 0000000..0b7d12a --- /dev/null +++ b/colors/base16-sakura.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Sakura scheme by Misterio77 (http://github.com/Misterio77) + +local gui00 = "feedf3" +local gui01 = "f8e2e7" +local gui02 = "e0ccd1" +local gui03 = "755f64" +local gui04 = "665055" +local gui05 = "564448" +local gui06 = "42383a" +local gui07 = "33292b" +local gui08 = "df2d52" +local gui09 = "f6661e" +local gui0A = "c29461" +local gui0B = "2e916d" +local gui0C = "1d8991" +local gui0D = "006e93" +local gui0E = "5e2180" +local gui0F = "ba0d35" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-sakura" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-sandcastle.lua b/colors/base16-sandcastle.lua new file mode 100644 index 0000000..d50a2a3 --- /dev/null +++ b/colors/base16-sandcastle.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Sandcastle scheme by George Essig (https://github.com/gessig) + +local gui00 = "282c34" +local gui01 = "2c323b" +local gui02 = "3e4451" +local gui03 = "665c54" +local gui04 = "928374" +local gui05 = "a89984" +local gui06 = "d5c4a1" +local gui07 = "fdf4c1" +local gui08 = "83a598" +local gui09 = "a07e3b" +local gui0A = "a07e3b" +local gui0B = "528b8b" +local gui0C = "83a598" +local gui0D = "83a598" +local gui0E = "d75f5f" +local gui0F = "a87322" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-sandcastle" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-seti.lua b/colors/base16-seti.lua new file mode 100644 index 0000000..6e54e54 --- /dev/null +++ b/colors/base16-seti.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Seti UI scheme by + +local gui00 = "151718" +local gui01 = "282a2b" +local gui02 = "3B758C" +local gui03 = "41535B" +local gui04 = "43a5d5" +local gui05 = "d6d6d6" +local gui06 = "eeeeee" +local gui07 = "ffffff" +local gui08 = "Cd3f45" +local gui09 = "db7b55" +local gui0A = "e6cd69" +local gui0B = "9fca56" +local gui0C = "55dbbe" +local gui0D = "55b5db" +local gui0E = "a074c4" +local gui0F = "8a553f" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-seti" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-shades-of-purple.lua b/colors/base16-shades-of-purple.lua new file mode 100644 index 0000000..e6e8363 --- /dev/null +++ b/colors/base16-shades-of-purple.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Shades of Purple scheme by Iolar Demartini Junior (http://github.com/demartini) based on Shades of Purple Theme (https://github.com/ahmadawais/shades-of-purple-vscode). + +local gui00 = "1e1e3f" +local gui01 = "43d426" +local gui02 = "f1d000" +local gui03 = "808080" +local gui04 = "6871ff" +local gui05 = "c7c7c7" +local gui06 = "ff77ff" +local gui07 = "ffffff" +local gui08 = "d90429" +local gui09 = "f92a1c" +local gui0A = "ffe700" +local gui0B = "3ad900" +local gui0C = "00c5c7" +local gui0D = "6943ff" +local gui0E = "ff2c70" +local gui0F = "79e8fb" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-shades-of-purple" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-shapeshifter.lua b/colors/base16-shapeshifter.lua new file mode 100644 index 0000000..779ccae --- /dev/null +++ b/colors/base16-shapeshifter.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Shapeshifter scheme by Tyler Benziger (http://tybenz.com) + +local gui00 = "f9f9f9" +local gui01 = "e0e0e0" +local gui02 = "ababab" +local gui03 = "555555" +local gui04 = "343434" +local gui05 = "102015" +local gui06 = "040404" +local gui07 = "000000" +local gui08 = "e92f2f" +local gui09 = "e09448" +local gui0A = "dddd13" +local gui0B = "0ed839" +local gui0C = "23edda" +local gui0D = "3b48e3" +local gui0E = "f996e2" +local gui0F = "69542d" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-shapeshifter" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-silk-dark.lua b/colors/base16-silk-dark.lua new file mode 100644 index 0000000..fbe7725 --- /dev/null +++ b/colors/base16-silk-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Silk Dark scheme by Gabriel Fontes (https://github.com/Misterio77) + +local gui00 = "0e3c46" +local gui01 = "1D494E" +local gui02 = "2A5054" +local gui03 = "587073" +local gui04 = "9DC8CD" +local gui05 = "C7DBDD" +local gui06 = "CBF2F7" +local gui07 = "D2FAFF" +local gui08 = "fb6953" +local gui09 = "fcab74" +local gui0A = "fce380" +local gui0B = "73d8ad" +local gui0C = "3fb2b9" +local gui0D = "46bddd" +local gui0E = "756b8a" +local gui0F = "9b647b" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-silk-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-silk-light.lua b/colors/base16-silk-light.lua new file mode 100644 index 0000000..866b820 --- /dev/null +++ b/colors/base16-silk-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Silk Light scheme by Gabriel Fontes (https://github.com/Misterio77) + +local gui00 = "E9F1EF" +local gui01 = "CCD4D3" +local gui02 = "90B7B6" +local gui03 = "5C787B" +local gui04 = "4B5B5F" +local gui05 = "385156" +local gui06 = "0e3c46" +local gui07 = "D2FAFF" +local gui08 = "CF432E" +local gui09 = "D27F46" +local gui0A = "CFAD25" +local gui0B = "6CA38C" +local gui0C = "329CA2" +local gui0D = "39AAC9" +local gui0E = "6E6582" +local gui0F = "865369" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-silk-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-snazzy.lua b/colors/base16-snazzy.lua new file mode 100644 index 0000000..8c032b6 --- /dev/null +++ b/colors/base16-snazzy.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Snazzy scheme by Chawye Hsu (https://github.com/chawyehsu) based on Hyper Snazzy Theme (https://github.com/sindresorhus/hyper-snazzy) + +local gui00 = "282a36" +local gui01 = "34353e" +local gui02 = "43454f" +local gui03 = "78787e" +local gui04 = "a5a5a9" +local gui05 = "e2e4e5" +local gui06 = "eff0eb" +local gui07 = "f1f1f0" +local gui08 = "ff5c57" +local gui09 = "ff9f43" +local gui0A = "f3f99d" +local gui0B = "5af78e" +local gui0C = "9aedfe" +local gui0D = "57c7ff" +local gui0E = "ff6ac1" +local gui0F = "b2643c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-snazzy" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-solarflare-light.lua b/colors/base16-solarflare-light.lua new file mode 100644 index 0000000..90b0ce5 --- /dev/null +++ b/colors/base16-solarflare-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Solar Flare Light scheme by Chuck Harmston (https://chuck.harmston.ch) + +local gui00 = "F5F7FA" +local gui01 = "E8E9ED" +local gui02 = "A6AFB8" +local gui03 = "85939E" +local gui04 = "667581" +local gui05 = "586875" +local gui06 = "222E38" +local gui07 = "18262F" +local gui08 = "EF5253" +local gui09 = "E66B2B" +local gui0A = "E4B51C" +local gui0B = "7CC844" +local gui0C = "52CBB0" +local gui0D = "33B5E1" +local gui0E = "A363D5" +local gui0F = "D73C9A" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-solarflare-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-solarflare.lua b/colors/base16-solarflare.lua new file mode 100644 index 0000000..9e67597 --- /dev/null +++ b/colors/base16-solarflare.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Solar Flare scheme by Chuck Harmston (https://chuck.harmston.ch) + +local gui00 = "18262F" +local gui01 = "222E38" +local gui02 = "586875" +local gui03 = "667581" +local gui04 = "85939E" +local gui05 = "A6AFB8" +local gui06 = "E8E9ED" +local gui07 = "F5F7FA" +local gui08 = "EF5253" +local gui09 = "E66B2B" +local gui0A = "E4B51C" +local gui0B = "7CC844" +local gui0C = "52CBB0" +local gui0D = "33B5E1" +local gui0E = "A363D5" +local gui0F = "D73C9A" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-solarflare" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-solarized-dark.lua b/colors/base16-solarized-dark.lua new file mode 100644 index 0000000..f1fcb11 --- /dev/null +++ b/colors/base16-solarized-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) + +local gui00 = "002b36" +local gui01 = "073642" +local gui02 = "586e75" +local gui03 = "657b83" +local gui04 = "839496" +local gui05 = "93a1a1" +local gui06 = "eee8d5" +local gui07 = "fdf6e3" +local gui08 = "dc322f" +local gui09 = "cb4b16" +local gui0A = "b58900" +local gui0B = "859900" +local gui0C = "2aa198" +local gui0D = "268bd2" +local gui0E = "6c71c4" +local gui0F = "d33682" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-solarized-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-solarized-light.lua b/colors/base16-solarized-light.lua new file mode 100644 index 0000000..81481a4 --- /dev/null +++ b/colors/base16-solarized-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Solarized Light scheme by Ethan Schoonover (modified by aramisgithub) + +local gui00 = "fdf6e3" +local gui01 = "eee8d5" +local gui02 = "93a1a1" +local gui03 = "839496" +local gui04 = "657b83" +local gui05 = "586e75" +local gui06 = "073642" +local gui07 = "002b36" +local gui08 = "dc322f" +local gui09 = "cb4b16" +local gui0A = "b58900" +local gui0B = "859900" +local gui0C = "2aa198" +local gui0D = "268bd2" +local gui0E = "6c71c4" +local gui0F = "d33682" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-solarized-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-spacemacs.lua b/colors/base16-spacemacs.lua new file mode 100644 index 0000000..e0dcb00 --- /dev/null +++ b/colors/base16-spacemacs.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Spacemacs scheme by Nasser Alshammari (https://github.com/nashamri/spacemacs-theme) + +local gui00 = "1f2022" +local gui01 = "282828" +local gui02 = "444155" +local gui03 = "585858" +local gui04 = "b8b8b8" +local gui05 = "a3a3a3" +local gui06 = "e8e8e8" +local gui07 = "f8f8f8" +local gui08 = "f2241f" +local gui09 = "ffa500" +local gui0A = "b1951d" +local gui0B = "67b11d" +local gui0C = "2d9574" +local gui0D = "4f97d7" +local gui0E = "a31db1" +local gui0F = "b03060" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-spacemacs" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-summercamp.lua b/colors/base16-summercamp.lua new file mode 100644 index 0000000..748c24e --- /dev/null +++ b/colors/base16-summercamp.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- summercamp scheme by zoe firi (zoefiri.github.io) + +local gui00 = "1c1810" +local gui01 = "2a261c" +local gui02 = "3a3527" +local gui03 = "504b38" +local gui04 = "5f5b45" +local gui05 = "736e55" +local gui06 = "bab696" +local gui07 = "f8f5de" +local gui08 = "e35142" +local gui09 = "fba11b" +local gui0A = "f2ff27" +local gui0B = "5ceb5a" +local gui0C = "5aebbc" +local gui0D = "489bf0" +local gui0E = "FF8080" +local gui0F = "F69BE7" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-summercamp" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-summerfruit-dark.lua b/colors/base16-summerfruit-dark.lua new file mode 100644 index 0000000..ec6c34f --- /dev/null +++ b/colors/base16-summerfruit-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Summerfruit Dark scheme by Christopher Corley (http://christop.club/) + +local gui00 = "151515" +local gui01 = "202020" +local gui02 = "303030" +local gui03 = "505050" +local gui04 = "B0B0B0" +local gui05 = "D0D0D0" +local gui06 = "E0E0E0" +local gui07 = "FFFFFF" +local gui08 = "FF0086" +local gui09 = "FD8900" +local gui0A = "ABA800" +local gui0B = "00C918" +local gui0C = "1FAAAA" +local gui0D = "3777E6" +local gui0E = "AD00A1" +local gui0F = "CC6633" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-summerfruit-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-summerfruit-light.lua b/colors/base16-summerfruit-light.lua new file mode 100644 index 0000000..278d2bd --- /dev/null +++ b/colors/base16-summerfruit-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Summerfruit Light scheme by Christopher Corley (http://christop.club/) + +local gui00 = "FFFFFF" +local gui01 = "E0E0E0" +local gui02 = "D0D0D0" +local gui03 = "B0B0B0" +local gui04 = "000000" +local gui05 = "101010" +local gui06 = "151515" +local gui07 = "202020" +local gui08 = "FF0086" +local gui09 = "FD8900" +local gui0A = "ABA800" +local gui0B = "00C918" +local gui0C = "1FAAAA" +local gui0D = "3777E6" +local gui0E = "AD00A1" +local gui0F = "CC6633" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-summerfruit-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-synth-midnight-dark.lua b/colors/base16-synth-midnight-dark.lua new file mode 100644 index 0000000..f1a95f6 --- /dev/null +++ b/colors/base16-synth-midnight-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Synth Midnight Terminal Dark scheme by Michaël Ball (http://github.com/michael-ball/) + +local gui00 = "050608" +local gui01 = "1a1b1c" +local gui02 = "28292a" +local gui03 = "474849" +local gui04 = "a3a5a6" +local gui05 = "c1c3c4" +local gui06 = "cfd1d2" +local gui07 = "dddfe0" +local gui08 = "b53b50" +local gui09 = "ea770d" +local gui0A = "c9d364" +local gui0B = "06ea61" +local gui0C = "42fff9" +local gui0D = "03aeff" +local gui0E = "ea5ce2" +local gui0F = "cd6320" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-synth-midnight-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-synth-midnight-light.lua b/colors/base16-synth-midnight-light.lua new file mode 100644 index 0000000..9a086b6 --- /dev/null +++ b/colors/base16-synth-midnight-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Synth Midnight Terminal Light scheme by Michaël Ball (http://github.com/michael-ball/) + +local gui00 = "dddfe0" +local gui01 = "cfd1d2" +local gui02 = "c1c3c4" +local gui03 = "a3a5a6" +local gui04 = "474849" +local gui05 = "28292a" +local gui06 = "1a1b1c" +local gui07 = "050608" +local gui08 = "b53b50" +local gui09 = "ea770d" +local gui0A = "c9d364" +local gui0B = "06ea61" +local gui0C = "42fff9" +local gui0D = "03aeff" +local gui0E = "ea5ce2" +local gui0F = "cd6320" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-synth-midnight-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-tango.lua b/colors/base16-tango.lua new file mode 100644 index 0000000..6bcbb03 --- /dev/null +++ b/colors/base16-tango.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Tango scheme by @Schnouki, based on the Tango Desktop Project + +local gui00 = "2e3436" +local gui01 = "8ae234" +local gui02 = "fce94f" +local gui03 = "555753" +local gui04 = "729fcf" +local gui05 = "d3d7cf" +local gui06 = "ad7fa8" +local gui07 = "eeeeec" +local gui08 = "cc0000" +local gui09 = "ef2929" +local gui0A = "c4a000" +local gui0B = "4e9a06" +local gui0C = "06989a" +local gui0D = "3465a4" +local gui0E = "75507b" +local gui0F = "34e2e2" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-tango" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-tender.lua b/colors/base16-tender.lua new file mode 100644 index 0000000..bbe06f0 --- /dev/null +++ b/colors/base16-tender.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- tender scheme by Jacobo Tabernero (https://github/com/jacoborus/tender.vim) + +local gui00 = "282828" +local gui01 = "383838" +local gui02 = "484848" +local gui03 = "1d1d1d" +local gui04 = "b8b8b8" +local gui05 = "eeeeee" +local gui06 = "e8e8e8" +local gui07 = "ffffff" +local gui08 = "f43753" +local gui09 = "dc9656" +local gui0A = "ffc24b" +local gui0B = "c9d05c" +local gui0C = "73cef4" +local gui0D = "b3deef" +local gui0E = "d3b987" +local gui0F = "a16946" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-tender" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-tomorrow-night-eighties.lua b/colors/base16-tomorrow-night-eighties.lua new file mode 100644 index 0000000..09153cc --- /dev/null +++ b/colors/base16-tomorrow-night-eighties.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Tomorrow Night scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "2d2d2d" +local gui01 = "393939" +local gui02 = "515151" +local gui03 = "999999" +local gui04 = "b4b7b4" +local gui05 = "cccccc" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "f2777a" +local gui09 = "f99157" +local gui0A = "ffcc66" +local gui0B = "99cc99" +local gui0C = "66cccc" +local gui0D = "6699cc" +local gui0E = "cc99cc" +local gui0F = "a3685a" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-tomorrow-night-eighties" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-tomorrow-night.lua b/colors/base16-tomorrow-night.lua new file mode 100644 index 0000000..ddfbde7 --- /dev/null +++ b/colors/base16-tomorrow-night.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Tomorrow Night scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "1d1f21" +local gui01 = "282a2e" +local gui02 = "373b41" +local gui03 = "969896" +local gui04 = "b4b7b4" +local gui05 = "c5c8c6" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "cc6666" +local gui09 = "de935f" +local gui0A = "f0c674" +local gui0B = "b5bd68" +local gui0C = "8abeb7" +local gui0D = "81a2be" +local gui0E = "b294bb" +local gui0F = "a3685a" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-tomorrow-night" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-tomorrow.lua b/colors/base16-tomorrow.lua new file mode 100644 index 0000000..8fb6859 --- /dev/null +++ b/colors/base16-tomorrow.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Tomorrow scheme by Chris Kempson (http://chriskempson.com) + +local gui00 = "ffffff" +local gui01 = "e0e0e0" +local gui02 = "d6d6d6" +local gui03 = "8e908c" +local gui04 = "969896" +local gui05 = "4d4d4c" +local gui06 = "282a2e" +local gui07 = "1d1f21" +local gui08 = "c82829" +local gui09 = "f5871f" +local gui0A = "eab700" +local gui0B = "718c00" +local gui0C = "3e999f" +local gui0D = "4271ae" +local gui0E = "8959a8" +local gui0F = "a3685a" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-tomorrow" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-tube.lua b/colors/base16-tube.lua new file mode 100644 index 0000000..ee68436 --- /dev/null +++ b/colors/base16-tube.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- London Tube scheme by Jan T. Sott + +local gui00 = "231f20" +local gui01 = "1c3f95" +local gui02 = "5a5758" +local gui03 = "737171" +local gui04 = "959ca1" +local gui05 = "d9d8d8" +local gui06 = "e7e7e8" +local gui07 = "ffffff" +local gui08 = "ee2e24" +local gui09 = "f386a1" +local gui0A = "ffd204" +local gui0B = "00853e" +local gui0C = "85cebc" +local gui0D = "009ddc" +local gui0E = "98005d" +local gui0F = "b06110" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-tube" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-twilight.lua b/colors/base16-twilight.lua new file mode 100644 index 0000000..d193dec --- /dev/null +++ b/colors/base16-twilight.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Twilight scheme by David Hart (https://github.com/hartbit) + +local gui00 = "1e1e1e" +local gui01 = "323537" +local gui02 = "464b50" +local gui03 = "5f5a60" +local gui04 = "838184" +local gui05 = "a7a7a7" +local gui06 = "c3c3c3" +local gui07 = "ffffff" +local gui08 = "cf6a4c" +local gui09 = "cda869" +local gui0A = "f9ee98" +local gui0B = "8f9d6a" +local gui0C = "afc4db" +local gui0D = "7587a6" +local gui0E = "9b859d" +local gui0F = "9b703f" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-twilight" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-unikitty-dark.lua b/colors/base16-unikitty-dark.lua new file mode 100644 index 0000000..becb121 --- /dev/null +++ b/colors/base16-unikitty-dark.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Unikitty Dark scheme by Josh W Lewis (@joshwlewis) + +local gui00 = "2e2a31" +local gui01 = "4a464d" +local gui02 = "666369" +local gui03 = "838085" +local gui04 = "9f9da2" +local gui05 = "bcbabe" +local gui06 = "d8d7da" +local gui07 = "f5f4f7" +local gui08 = "d8137f" +local gui09 = "d65407" +local gui0A = "dc8a0e" +local gui0B = "17ad98" +local gui0C = "149bda" +local gui0D = "796af5" +local gui0E = "bb60ea" +local gui0F = "c720ca" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-unikitty-dark" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-unikitty-light.lua b/colors/base16-unikitty-light.lua new file mode 100644 index 0000000..f2d0362 --- /dev/null +++ b/colors/base16-unikitty-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Unikitty Light scheme by Josh W Lewis (@joshwlewis) + +local gui00 = "ffffff" +local gui01 = "e1e1e2" +local gui02 = "c4c3c5" +local gui03 = "a7a5a8" +local gui04 = "89878b" +local gui05 = "6c696e" +local gui06 = "4f4b51" +local gui07 = "322d34" +local gui08 = "d8137f" +local gui09 = "d65407" +local gui0A = "dc8a0e" +local gui0B = "17ad98" +local gui0C = "149bda" +local gui0D = "775dff" +local gui0E = "aa17e6" +local gui0F = "e013d0" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-unikitty-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-unikitty-reversible.lua b/colors/base16-unikitty-reversible.lua new file mode 100644 index 0000000..f2bba6b --- /dev/null +++ b/colors/base16-unikitty-reversible.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Unikitty Reversible scheme by Josh W Lewis (@joshwlewis) + +local gui00 = "2e2a31" +local gui01 = "4b484e" +local gui02 = "69666b" +local gui03 = "878589" +local gui04 = "a5a3a6" +local gui05 = "c3c2c4" +local gui06 = "e1e0e1" +local gui07 = "ffffff" +local gui08 = "d8137f" +local gui09 = "d65407" +local gui0A = "dc8a0e" +local gui0B = "17ad98" +local gui0C = "149bda" +local gui0D = "7864fa" +local gui0E = "b33ce8" +local gui0F = "d41acd" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-unikitty-reversible" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-vulcan.lua b/colors/base16-vulcan.lua new file mode 100644 index 0000000..427037f --- /dev/null +++ b/colors/base16-vulcan.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- vulcan scheme by Andrey Varfolomeev + +local gui00 = "041523" +local gui01 = "122339" +local gui02 = "003552" +local gui03 = "7a5759" +local gui04 = "6b6977" +local gui05 = "5b778c" +local gui06 = "333238" +local gui07 = "214d68" +local gui08 = "818591" +local gui09 = "9198a3" +local gui0A = "adb4b9" +local gui0B = "977d7c" +local gui0C = "977d7c" +local gui0D = "977d7c" +local gui0E = "9198a3" +local gui0F = "977d7c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-vulcan" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-10-light.lua b/colors/base16-windows-10-light.lua new file mode 100644 index 0000000..3e11688 --- /dev/null +++ b/colors/base16-windows-10-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows 10 Light scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "f2f2f2" +local gui01 = "e5e5e5" +local gui02 = "d9d9d9" +local gui03 = "cccccc" +local gui04 = "ababab" +local gui05 = "767676" +local gui06 = "414141" +local gui07 = "0c0c0c" +local gui08 = "c50f1f" +local gui09 = "f9f1a5" +local gui0A = "c19c00" +local gui0B = "13a10e" +local gui0C = "3a96dd" +local gui0D = "0037da" +local gui0E = "881798" +local gui0F = "16c60c" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-10-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-10.lua b/colors/base16-windows-10.lua new file mode 100644 index 0000000..ee15ee7 --- /dev/null +++ b/colors/base16-windows-10.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows 10 scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "0c0c0c" +local gui01 = "2f2f2f" +local gui02 = "535353" +local gui03 = "767676" +local gui04 = "b9b9b9" +local gui05 = "cccccc" +local gui06 = "dfdfdf" +local gui07 = "f2f2f2" +local gui08 = "e74856" +local gui09 = "c19c00" +local gui0A = "f9f1a5" +local gui0B = "16c60c" +local gui0C = "61d6d6" +local gui0D = "3b78ff" +local gui0E = "b4009e" +local gui0F = "13a10e" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-10" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-95-light.lua b/colors/base16-windows-95-light.lua new file mode 100644 index 0000000..1426ace --- /dev/null +++ b/colors/base16-windows-95-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows 95 Light scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "fcfcfc" +local gui01 = "e0e0e0" +local gui02 = "c4c4c4" +local gui03 = "a8a8a8" +local gui04 = "7e7e7e" +local gui05 = "545454" +local gui06 = "2a2a2a" +local gui07 = "000000" +local gui08 = "a80000" +local gui09 = "fcfc54" +local gui0A = "a85400" +local gui0B = "00a800" +local gui0C = "00a8a8" +local gui0D = "0000a8" +local gui0E = "a800a8" +local gui0F = "54fc54" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-95-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-95.lua b/colors/base16-windows-95.lua new file mode 100644 index 0000000..937860f --- /dev/null +++ b/colors/base16-windows-95.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows 95 scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "000000" +local gui01 = "1C1C1C" +local gui02 = "383838" +local gui03 = "545454" +local gui04 = "7e7e7e" +local gui05 = "a8a8a8" +local gui06 = "d2d2d2" +local gui07 = "fcfcfc" +local gui08 = "fc5454" +local gui09 = "a85400" +local gui0A = "fcfc54" +local gui0B = "54fc54" +local gui0C = "54fcfc" +local gui0D = "5454fc" +local gui0E = "fc54fc" +local gui0F = "00a800" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-95" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-highcontrast-light.lua b/colors/base16-windows-highcontrast-light.lua new file mode 100644 index 0000000..0bdd2c6 --- /dev/null +++ b/colors/base16-windows-highcontrast-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows High Contrast Light scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "fcfcfc" +local gui01 = "e8e8e8" +local gui02 = "d4d4d4" +local gui03 = "c0c0c0" +local gui04 = "7e7e7e" +local gui05 = "545454" +local gui06 = "2a2a2a" +local gui07 = "000000" +local gui08 = "800000" +local gui09 = "fcfc54" +local gui0A = "808000" +local gui0B = "008000" +local gui0C = "008080" +local gui0D = "000080" +local gui0E = "800080" +local gui0F = "54fc54" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-highcontrast-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-highcontrast.lua b/colors/base16-windows-highcontrast.lua new file mode 100644 index 0000000..94326bd --- /dev/null +++ b/colors/base16-windows-highcontrast.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows High Contrast scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "000000" +local gui01 = "1C1C1C" +local gui02 = "383838" +local gui03 = "545454" +local gui04 = "a2a2a2" +local gui05 = "c0c0c0" +local gui06 = "dedede" +local gui07 = "fcfcfc" +local gui08 = "fc5454" +local gui09 = "808000" +local gui0A = "fcfc54" +local gui0B = "54fc54" +local gui0C = "54fcfc" +local gui0D = "5454fc" +local gui0E = "fc54fc" +local gui0F = "008000" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-highcontrast" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-nt-light.lua b/colors/base16-windows-nt-light.lua new file mode 100644 index 0000000..e3da953 --- /dev/null +++ b/colors/base16-windows-nt-light.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows NT Light scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "ffffff" +local gui01 = "eaeaea" +local gui02 = "d5d5d5" +local gui03 = "c0c0c0" +local gui04 = "a0a0a0" +local gui05 = "808080" +local gui06 = "404040" +local gui07 = "000000" +local gui08 = "800000" +local gui09 = "ffff00" +local gui0A = "808000" +local gui0B = "008000" +local gui0C = "008080" +local gui0D = "000080" +local gui0E = "800080" +local gui0F = "00ff00" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-nt-light" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-windows-nt.lua b/colors/base16-windows-nt.lua new file mode 100644 index 0000000..d0fcd54 --- /dev/null +++ b/colors/base16-windows-nt.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Windows NT scheme by Fergus Collins (https://github.com/C-Fergus) + +local gui00 = "000000" +local gui01 = "2a2a2a" +local gui02 = "555555" +local gui03 = "808080" +local gui04 = "a1a1a1" +local gui05 = "c0c0c0" +local gui06 = "e0e0e0" +local gui07 = "ffffff" +local gui08 = "ff0000" +local gui09 = "808000" +local gui0A = "ffff00" +local gui0B = "00ff00" +local gui0C = "00ffff" +local gui0D = "0000ff" +local gui0E = "ff00ff" +local gui0F = "008000" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-windows-nt" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-woodland.lua b/colors/base16-woodland.lua new file mode 100644 index 0000000..73c615a --- /dev/null +++ b/colors/base16-woodland.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Woodland scheme by Jay Cornwall (https://jcornwall.com) + +local gui00 = "231e18" +local gui01 = "302b25" +local gui02 = "48413a" +local gui03 = "9d8b70" +local gui04 = "b4a490" +local gui05 = "cabcb1" +local gui06 = "d7c8bc" +local gui07 = "e4d4c8" +local gui08 = "d35c5c" +local gui09 = "ca7f32" +local gui0A = "e0ac16" +local gui0B = "b7ba53" +local gui0C = "6eb958" +local gui0D = "88a4d3" +local gui0E = "bb90e2" +local gui0F = "b49368" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-woodland" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-xcode-dusk.lua b/colors/base16-xcode-dusk.lua new file mode 100644 index 0000000..6e523ff --- /dev/null +++ b/colors/base16-xcode-dusk.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- XCode Dusk scheme by Elsa Gonsiorowski (https://github.com/gonsie) + +local gui00 = "282B35" +local gui01 = "3D4048" +local gui02 = "53555D" +local gui03 = "686A71" +local gui04 = "7E8086" +local gui05 = "939599" +local gui06 = "A9AAAE" +local gui07 = "BEBFC2" +local gui08 = "B21889" +local gui09 = "786DC5" +local gui0A = "438288" +local gui0B = "DF0002" +local gui0C = "00A0BE" +local gui0D = "790EAD" +local gui0E = "B21889" +local gui0F = "C77C48" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-xcode-dusk" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua diff --git a/colors/base16-zenburn.lua b/colors/base16-zenburn.lua new file mode 100644 index 0000000..2000240 --- /dev/null +++ b/colors/base16-zenburn.lua @@ -0,0 +1,306 @@ +-- base16-nvim (https://github.com/wincent/base16-nvim) +-- by Greg Hurrell (https://github.com/wincent) +-- based on +-- base16-vim (https://github.com/chriskempson/base16-vim) +-- by Chris Kempson (http://chriskempson.com) +-- Zenburn scheme by elnawe + +local gui00 = "383838" +local gui01 = "404040" +local gui02 = "606060" +local gui03 = "6f6f6f" +local gui04 = "808080" +local gui05 = "dcdccc" +local gui06 = "c0c0c0" +local gui07 = "ffffff" +local gui08 = "dca3a3" +local gui09 = "dfaf8f" +local gui0A = "e0cf9f" +local gui0B = "5f7f5f" +local gui0C = "93e0e3" +local gui0D = "7cb8bb" +local gui0E = "dc8cc3" +local gui0F = "000000" + +local cterm00 = "00" +local cterm03 = "08" +local cterm05 = "07" +local cterm07 = "15" +local cterm08 = "01" +local cterm0A = "03" +local cterm0B = "02" +local cterm0C = "06" +local cterm0D = "04" +local cterm0E = "05" +local cterm01 = "10" +local cterm02 = "11" +local cterm04 = "12" +local cterm06 = "13" +local cterm09 = "09" +local cterm0F = "14" + +vim.cmd [[ + highlight clear + syntax reset +]] +vim.g.colors_name = "base16-zenburn" + +local highlight = function(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) + attr = attr or "" + guisp = guisp or "" + + local command = "" + + if guifg ~= "" then + command = command .. " guifg=#" .. guifg + end + if guibg ~= "" then + command = command .. " guibg=#" .. guibg + end + if ctermfg ~= "" then + command = command .. " ctermfg=" .. ctermfg + end + if ctermbg ~= "" then + command = command .. " ctermbg=" .. ctermbg + end + if attr ~= "" then + command = command .. " gui=" .. attr .. " cterm=" .. attr + end + if guisp ~= "" then + command = command .. " guisp=#" .. guisp + end + + if command ~= "" then + vim.cmd("highlight " .. group .. command) + end +end + +-- Vim editor colors +highlight("Normal", gui05, gui00, cterm05, cterm00, "", "") +highlight("Bold", "", "", "", "", "bold", "") +highlight("Debug", gui08, "", cterm08, "", "", "") +highlight("Directory", gui0D, "", cterm0D, "", "", "") +highlight("Error", gui00, gui08, cterm00, cterm08, "", "") +highlight("ErrorMsg", gui08, gui00, cterm08, cterm00, "", "") +highlight("Exception", gui08, "", cterm08, "", "", "") +highlight("FoldColumn", gui0C, gui01, cterm0C, cterm01, "", "") +highlight("Folded", gui03, gui01, cterm03, cterm01, "", "") +highlight("IncSearch", gui01, gui09, cterm01, cterm09, "none", "") +highlight("Italic", "", "", "", "", "none", "") +highlight("Macro", gui08, "", cterm08, "", "", "") +highlight("MatchParen", "", gui03, "", cterm03, "", "") +highlight("ModeMsg", gui0B, "", cterm0B, "", "", "") +highlight("MoreMsg", gui0B, "", cterm0B, "", "", "") +highlight("Question", gui0D, "", cterm0D, "", "", "") +highlight("Search", gui01, gui0A, cterm01, cterm0A, "", "") +highlight("Substitute", gui01, gui0A, cterm01, cterm0A, "none", "") +highlight("SpecialKey", gui03, "", cterm03, "", "", "") +highlight("TooLong", gui08, "", cterm08, "", "", "") +highlight("Underlined", gui08, "", cterm08, "", "", "") +highlight("Visual", "", gui02, "", cterm02, "", "") +highlight("VisualNOS", gui08, "", cterm08, "", "", "") +highlight("WarningMsg", gui08, "", cterm08, "", "", "") +highlight("WildMenu", gui08, gui0A, cterm08, "", "", "") +highlight("Title", gui0D, "", cterm0D, "", "none", "") +highlight("Conceal", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("Cursor", gui00, gui05, cterm00, cterm05, "", "") +highlight("NonText", gui03, "", cterm03, "", "", "") +highlight("LineNr", gui03, gui01, cterm03, cterm01, "", "") +highlight("SignColumn", gui03, gui01, cterm03, cterm01, "", "") +highlight("StatusLine", gui04, gui02, cterm04, cterm02, "none", "") +highlight("StatusLineNC", gui03, gui01, cterm03, cterm01, "none", "") +highlight("VertSplit", gui02, gui02, cterm02, cterm02, "none", "") +highlight("ColorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorColumn", "", gui01, "", cterm01, "none", "") +highlight("CursorLine", "", gui01, "", cterm01, "none", "") +highlight("CursorLineNr", gui04, gui01, cterm04, cterm01, "", "") +highlight("QuickFixLine", "", gui01, "", cterm01, "none", "") +highlight("PMenu", gui05, gui01, cterm05, cterm01, "none", "") +highlight("PMenuSel", gui01, gui05, cterm01, cterm05, "", "") +highlight("TabLine", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineFill", gui03, gui01, cterm03, cterm01, "none", "") +highlight("TabLineSel", gui0B, gui01, cterm0B, cterm01, "none", "") + +-- Standard syntax highlighting +highlight("Boolean", gui09, "", cterm09, "", "", "") +highlight("Character", gui08, "", cterm08, "", "", "") +highlight("Comment", gui03, "", cterm03, "", "", "") +highlight("Conditional", gui0E, "", cterm0E, "", "", "") +highlight("Constant", gui09, "", cterm09, "", "", "") +highlight("Define", gui0E, "", cterm0E, "", "none", "") +highlight("Delimiter", gui0F, "", cterm0F, "", "", "") +highlight("Float", gui09, "", cterm09, "", "", "") +highlight("Function", gui0D, "", cterm0D, "", "", "") +highlight("Identifier", gui08, "", cterm08, "", "none", "") +highlight("Include", gui0D, "", cterm0D, "", "", "") +highlight("Keyword", gui0E, "", cterm0E, "", "", "") +highlight("Label", gui0A, "", cterm0A, "", "", "") +highlight("Number", gui09, "", cterm09, "", "", "") +highlight("Operator", gui05, "", cterm05, "", "none", "") +highlight("PreProc", gui0A, "", cterm0A, "", "", "") +highlight("Repeat", gui0A, "", cterm0A, "", "", "") +highlight("Special", gui0C, "", cterm0C, "", "", "") +highlight("SpecialChar", gui0F, "", cterm0F, "", "", "") +highlight("Statement", gui08, "", cterm08, "", "", "") +highlight("StorageClass", gui0A, "", cterm0A, "", "", "") +highlight("String", gui0B, "", cterm0B, "", "", "") +highlight("Structure", gui0E, "", cterm0E, "", "", "") +highlight("Tag", gui0A, "", cterm0A, "", "", "") +highlight("Todo", gui0A, gui01, cterm0A, cterm01, "", "") +highlight("Type", gui0A, "", cterm0A, "", "none", "") +highlight("Typedef", gui0A, "", cterm0A, "", "", "") + +-- C highlighting +highlight("cOperator", gui0C, "", cterm0C, "", "", "") +highlight("cPreCondit", gui0E, "", cterm0E, "", "", "") + +-- C# highlighting +highlight("csClass", gui0A, "", cterm0A, "", "", "") +highlight("csAttribute", gui0A, "", cterm0A, "", "", "") +highlight("csModifier", gui0E, "", cterm0E, "", "", "") +highlight("csType", gui08, "", cterm08, "", "", "") +highlight("csUnspecifiedStatement", gui0D, "", cterm0D, "", "", "") +highlight("csContextualStatement", gui0E, "", cterm0E, "", "", "") +highlight("csNewDecleration", gui08, "", cterm08, "", "", "") + +-- CSS highlighting +highlight("cssBraces", gui05, "", cterm05, "", "", "") +highlight("cssClassName", gui0E, "", cterm0E, "", "", "") +highlight("cssColor", gui0C, "", cterm0C, "", "", "") + +-- Diff highlighting +highlight("DiffAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("DiffChange", gui03, gui01, cterm03, cterm01, "", "") +highlight("DiffDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("DiffText", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("DiffAdded", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffFile", gui08, gui00, cterm08, cterm00, "", "") +highlight("DiffNewFile", gui0B, gui00, cterm0B, cterm00, "", "") +highlight("DiffLine", gui0D, gui00, cterm0D, cterm00, "", "") +highlight("DiffRemoved", gui08, gui00, cterm08, cterm00, "", "") + +-- Git highlighting +highlight("gitcommitOverflow", gui08, "", cterm08, "", "", "") +highlight("gitcommitSummary", gui0B, "", cterm0B, "", "", "") +highlight("gitcommitComment", gui03, "", cterm03, "", "", "") +highlight("gitcommitUntracked", gui03, "", cterm03, "", "", "") +highlight("gitcommitDiscarded", gui03, "", cterm03, "", "", "") +highlight("gitcommitSelected", gui03, "", cterm03, "", "", "") +highlight("gitcommitHeader", gui0E, "", cterm0E, "", "", "") +highlight("gitcommitSelectedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitUnmergedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitDiscardedType", gui0D, "", cterm0D, "", "", "") +highlight("gitcommitBranch", gui09, "", cterm09, "", "bold", "") +highlight("gitcommitUntrackedFile", gui0A, "", cterm0A, "", "", "") +highlight("gitcommitUnmergedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitDiscardedFile", gui08, "", cterm08, "", "bold", "") +highlight("gitcommitSelectedFile", gui0B, "", cterm0B, "", "bold", "") + +-- GitGutter highlighting +highlight("GitGutterAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("GitGutterChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("GitGutterDelete", gui08, gui01, cterm08, cterm01, "", "") +highlight("GitGutterChangeDelete", gui0E, gui01, cterm0E, cterm01, "", "") + +-- HTML highlighting +highlight("htmlBold", gui0A, "", cterm0A, "", "", "") +highlight("htmlItalic", gui0E, "", cterm0E, "", "", "") +highlight("htmlEndTag", gui05, "", cterm05, "", "", "") +highlight("htmlTag", gui05, "", cterm05, "", "", "") + +-- JavaScript highlighting +highlight("javaScript", gui05, "", cterm05, "", "", "") +highlight("javaScriptBraces", gui05, "", cterm05, "", "", "") +highlight("javaScriptNumber", gui09, "", cterm09, "", "", "") + +-- pangloss/vim-javascript highlighting +highlight("jsOperator", gui0D, "", cterm0D, "", "", "") +highlight("jsStatement", gui0E, "", cterm0E, "", "", "") +highlight("jsReturn", gui0E, "", cterm0E, "", "", "") +highlight("jsThis", gui08, "", cterm08, "", "", "") +highlight("jsClassDefinition", gui0A, "", cterm0A, "", "", "") +highlight("jsFunction", gui0E, "", cterm0E, "", "", "") +highlight("jsFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsFuncCall", gui0D, "", cterm0D, "", "", "") +highlight("jsClassFuncName", gui0D, "", cterm0D, "", "", "") +highlight("jsClassMethodType", gui0E, "", cterm0E, "", "", "") +highlight("jsRegexpString", gui0C, "", cterm0C, "", "", "") +highlight("jsGlobalObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsGlobalNodeObjects", gui0A, "", cterm0A, "", "", "") +highlight("jsExceptions", gui0A, "", cterm0A, "", "", "") +highlight("jsBuiltins", gui0A, "", cterm0A, "", "", "") + +-- Mail highlighting +highlight("mailQuoted1", gui0A, "", cterm0A, "", "", "") +highlight("mailQuoted2", gui0B, "", cterm0B, "", "", "") +highlight("mailQuoted3", gui0E, "", cterm0E, "", "", "") +highlight("mailQuoted4", gui0C, "", cterm0C, "", "", "") +highlight("mailQuoted5", gui0D, "", cterm0D, "", "", "") +highlight("mailQuoted6", gui0A, "", cterm0A, "", "", "") +highlight("mailURL", gui0D, "", cterm0D, "", "", "") +highlight("mailEmail", gui0D, "", cterm0D, "", "", "") + +-- Markdown highlighting +highlight("markdownCode", gui0B, "", cterm0B, "", "", "") +highlight("markdownError", gui05, gui00, cterm05, cterm00, "", "") +highlight("markdownCodeBlock", gui0B, "", cterm0B, "", "", "") +highlight("markdownHeadingDelimiter", gui0D, "", cterm0D, "", "", "") + +-- NERDTree highlighting +highlight("NERDTreeDirSlash", gui0D, "", cterm0D, "", "", "") +highlight("NERDTreeExecFile", gui05, "", cterm05, "", "", "") + +-- PHP highlighting +highlight("phpMemberSelector", gui05, "", cterm05, "", "", "") +highlight("phpComparison", gui05, "", cterm05, "", "", "") +highlight("phpParent", gui05, "", cterm05, "", "", "") +highlight("phpMethodsVar", gui0C, "", cterm0C, "", "", "") + +-- Python highlighting +highlight("pythonOperator", gui0E, "", cterm0E, "", "", "") +highlight("pythonRepeat", gui0E, "", cterm0E, "", "", "") +highlight("pythonInclude", gui0E, "", cterm0E, "", "", "") +highlight("pythonStatement", gui0E, "", cterm0E, "", "", "") + +-- Ruby highlighting +highlight("rubyAttribute", gui0D, "", cterm0D, "", "", "") +highlight("rubyConstant", gui0A, "", cterm0A, "", "", "") +highlight("rubyInterpolationDelimiter", gui0F, "", cterm0F, "", "", "") +highlight("rubyRegexp", gui0C, "", cterm0C, "", "", "") +highlight("rubySymbol", gui0B, "", cterm0B, "", "", "") +highlight("rubyStringDelimiter", gui0B, "", cterm0B, "", "", "") + +-- SASS highlighting +highlight("sassidChar", gui08, "", cterm08, "", "", "") +highlight("sassClassChar", gui09, "", cterm09, "", "", "") +highlight("sassInclude", gui0E, "", cterm0E, "", "", "") +highlight("sassMixing", gui0E, "", cterm0E, "", "", "") +highlight("sassMixinName", gui0D, "", cterm0D, "", "", "") + +-- Signify highlighting +highlight("SignifySignAdd", gui0B, gui01, cterm0B, cterm01, "", "") +highlight("SignifySignChange", gui0D, gui01, cterm0D, cterm01, "", "") +highlight("SignifySignDelete", gui08, gui01, cterm08, cterm01, "", "") + +-- Spelling highlighting +highlight("SpellBad", "", "", "", "", "undercurl", gui08) +highlight("SpellLocal", "", "", "", "", "undercurl", gui0C) +highlight("SpellCap", "", "", "", "", "undercurl", gui0D) +highlight("SpellRare", "", "", "", "", "undercurl", gui0E) + +-- Startify highlighting +highlight("StartifyBracket", gui03, "", cterm03, "", "", "") +highlight("StartifyFile", gui07, "", cterm07, "", "", "") +highlight("StartifyFooter", gui03, "", cterm03, "", "", "") +highlight("StartifyHeader", gui0B, "", cterm0B, "", "", "") +highlight("StartifyNumber", gui09, "", cterm09, "", "", "") +highlight("StartifyPath", gui03, "", cterm03, "", "", "") +highlight("StartifySection", gui0E, "", cterm0E, "", "", "") +highlight("StartifySelect", gui0C, "", cterm0C, "", "", "") +highlight("StartifySlash", gui03, "", cterm03, "", "", "") +highlight("StartifySpecial", gui03, "", cterm03, "", "", "") + +-- Java highlighting +highlight("javaOperator", gui0D, "", cterm0D, "", "", "") + +-- vim: filetype=lua -- cgit v1.2.3