From 72d448e384249103748ee83b587c45924e4bc44d Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 10 Feb 2022 00:24:03 +0900 Subject: Initial commit --- fnl/nvrc/colors.fnl | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 fnl/nvrc/colors.fnl (limited to 'fnl/nvrc/colors.fnl') diff --git a/fnl/nvrc/colors.fnl b/fnl/nvrc/colors.fnl new file mode 100644 index 0000000..854b79f --- /dev/null +++ b/fnl/nvrc/colors.fnl @@ -0,0 +1,81 @@ +(local colors {:bg "#202020" + :nvimbg "#151515" + :fg "#cbc0ab" + :white "#e8e8d3" + :black "#181818" + :black2 "#101010" + :bblack "#252525" + :grey "#888888" + :grey2 "#666666" + :bgrey "#999999" + :red "#cf6a4c" + :orange "#fabb6e" + :yellow "#fad07a" + :lyellow "#ffe2a9" + :green "#99ad6a" + :skyblue "#8fbfdc" + :blue "#8197bf" + :violet "#c6b6ee" + :magenta "#f0a0c0" + :sign "#333333"}) + +(fn colors.apply [] + (local {: highlight} (require :nvrc.macro.color)) + (vim.cmd "colorscheme jellybeans") + + ; Buffer + (highlight :EndOfBuffer {:fg (. colors :bg)}) + (highlight :FloatBorder {:fg (. colors :blue)}) + (highlight :NormalFloat {:bg (. colors :bblack)}) + + ; Pmenu + (highlight :Pmenu {:bg (. colors :bblack)}) + (highlight :PmenuSbar {:bg (. colors :bblack)}) + (highlight :PmenuSel {:fg (. colors :orange) :bg (. colors :sign)}) + (highlight :PmenuThumb {:bg (. colors :skyblue)}) + (highlight :CmpItemAbbr {:fg (. colors :fg)}) + (highlight :CmpItemAbbrMatch {:fg (. colors :fg)}) + (highlight :CmpItemKind {:fg (. colors :fg)}) + (highlight :CmpItemMenu {:fg (. colors :fg)}) + + ; Misc + (highlight :StatusLine {:bg (. colors :black)}) + (highlight :StatusLineNC {:fg (. colors :grey) :bg (. colors :black) :underline true}) + (highlight :LineNr {:fg (. colors :grey)}) + (highlight :NvimInternalError {:fg (. colors :red)}) + (highlight :VertSplit {:fg (. colors :grey2)}) + + ; Gitsigns + (highlight :DiffAdd {:fg (. colors :green) :bg (. colors :sign)}) + (highlight :DiffChange {:fg (. colors :yellow) :bg (. colors :sign)}) + (highlight :DiffChangeDelete {:fg (. colors :red) :bg (. colors :sign)}) + (highlight :DiffModified {:fg (. colors :red) :bg (. colors :sign)}) + (highlight :DiffDelete {:fg (. colors :red) :bg (. colors :sign)}) + + ; Nvimtree + (highlight :NvimTreeNormal {:bg (. colors :black)}) + (highlight :NvimTreeNormalNC {:bg (. colors :black)}) + (highlight :NvimTreeStatuslineNC {:fg (. colors :black) :bg (. colors :black)}) + (highlight :NvimTreeVertSplit {:fg (. colors :black) :bg (. colors :black)}) + (highlight :NvimTreeWindowPicker {:fg (. colors :red) :bg (. colors :black2)}) + (highlight :NvimTreeIndentMarker {:fg (. colors :grey)}) + (highlight :NvimTreeGitDirty {:fg (. colors :red)}) + (highlight :NvimTreeRootFolder {:fg (. colors :red) :underline true}) + (highlight :NvimTreeEmptyFolderName {:fg (. colors :skyblue)}) + (highlight :NvimTreeFolderIcon {:fg (. colors :skyblue)}) + (highlight :NvimTreeFolderName {:fg (. colors :skyblue)}) + (highlight :NvimTreeOpenedFolderName {:fg (. colors :magenta)}) + (highlight :NvimTreeEndOfBuffer {:fg (. colors :black2)}) + + ; Telescope + (highlight :TelescopeBorder {:fg (. colors :fg)}) + (highlight :TelescopePromptBorder {:fg (. colors :fg)}) + (highlight :TelescopePromptNormal {:fg (. colors :fg)}) + (highlight :TelescopePromptPrefix {:fg (. colors :red)}) + (highlight :TelescopeNormal {:bg :NONE}) + (highlight :TelescopePreviewTitle {:fg (. colors :nvimbg) :bg (. colors :green)}) + (highlight :TelescopePromptTitle {:fg (. colors :nvimbg) :bg (. colors :red)}) + (highlight :TelescopeResultsTitle {:fg (. colors :nvimbg) :bg (. colors :skyblue)}) + (highlight :TelescopeSelection {:link :Search})) + +colors -- cgit 1.4.1