├── LICENSE ├── README.md ├── colors ├── aurora.vim ├── codemonkey.vim ├── darkplus.vim ├── ferrum.vim ├── lunar.vim ├── onedark.vim ├── onedarker.vim ├── onedarkest.vim ├── onenord.vim ├── spacedark.vim ├── system76.vim └── tomorrow.vim ├── ez.py ├── generate_colorscheme.sh ├── lua ├── aurora │ ├── Git.lua │ ├── LSP.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── codemonkey │ ├── Git.lua │ ├── LSP.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── darkplus │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Crates.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── Gps.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── ferrum │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Crates.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── Gps.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── lunar │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── onedark │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Crates.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── Gps.lua │ ├── Hop.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── onedarker │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Crates.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── Gps.lua │ ├── Hop.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Navic.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── onedarkest │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Crates.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── Gps.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── onenord │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Crates.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── Gps.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── Notify.lua │ ├── NvimTree.lua │ ├── Packer.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── spacedark │ ├── Git.lua │ ├── LSP.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── system76 │ ├── Git.lua │ ├── LSP.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua └── tomorrow │ ├── Bookmarks.lua │ ├── Bqf.lua │ ├── Buffer.lua │ ├── Cmp.lua │ ├── Dashboard.lua │ ├── DiffView.lua │ ├── Git.lua │ ├── IndentBlankline.lua │ ├── LSP.lua │ ├── Lir.lua │ ├── Misc.lua │ ├── NvimTree.lua │ ├── Quickscope.lua │ ├── StatusLine.lua │ ├── SymbolOutline.lua │ ├── Telescope.lua │ ├── Treesitter.lua │ ├── Whichkey.lua │ ├── config.lua │ ├── highlights.lua │ ├── init.lua │ ├── markdown.lua │ ├── palette.lua │ └── util.lua ├── requirements.txt └── templates ├── aurora.yml ├── codemonkey.yml ├── darkplus.yml ├── example.yml ├── ferrum.yml ├── lunar.yml ├── onedark.yml ├── onedarker.yml ├── onedarkest.yml ├── onenord.yml ├── spacedark.yml ├── spacegray.yml ├── system76.yml ├── test.yml └── tomorrow.yml /README.md: -------------------------------------------------------------------------------- 1 | # LunarVimColorschemes 2 | 3 | Collection of colorschemes made to be compatible with LunarVim 4 | 5 | ## Setup 6 | 7 | ```sh 8 | pip install -r requirements.txt 9 | ``` 10 | 11 | ## Adding a template 12 | 13 | I recommend copying one of the themes in template and using it as a base to create your own 14 | 15 | ## Generate your colorscheme 16 | 17 | ``` 18 | python ez.py .yml 19 | ``` 20 | 21 | ## After generating your colorscheme the following configuration options should be available 22 | ```lua 23 | vim.g.transparent_background = true -- transparent background(Default: false) 24 | vim.g.italic_comments = true -- italic comments(Default: true) 25 | vim.g.italic_keywords = true -- italic keywords(Default: true) 26 | vim.g.italic_functions = true -- italic functions(Default: false) 27 | vim.g.italic_variables = true -- italic variables(Default: false) 28 | ``` 29 | 30 | **Credit** for the script for creating colorschemes: [repo](https://github.com/Murtaza-Udaipurwala/ez.nvim) 31 | -------------------------------------------------------------------------------- /colors/aurora.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['aurora'] = nil 5 | package.loaded['aurora.highlights'] = nil 6 | package.loaded['aurora.Treesitter'] = nil 7 | package.loaded['aurora.markdown'] = nil 8 | package.loaded['aurora.Whichkey'] = nil 9 | package.loaded['aurora.Git'] = nil 10 | package.loaded['aurora.LSP'] = nil 11 | 12 | require("aurora") 13 | EOF 14 | -------------------------------------------------------------------------------- /colors/codemonkey.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['codemonkey'] = nil 5 | package.loaded['codemonkey.highlights'] = nil 6 | package.loaded['codemonkey.Treesitter'] = nil 7 | package.loaded['codemonkey.markdown'] = nil 8 | package.loaded['codemonkey.Whichkey'] = nil 9 | package.loaded['codemonkey.Git'] = nil 10 | package.loaded['codemonkey.LSP'] = nil 11 | 12 | require("codemonkey") 13 | EOF 14 | -------------------------------------------------------------------------------- /colors/darkplus.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['darkplus'] = nil 5 | package.loaded['darkplus.highlights'] = nil 6 | package.loaded['darkplus.Treesitter'] = nil 7 | package.loaded['darkplus.markdown'] = nil 8 | package.loaded['darkplus.Whichkey'] = nil 9 | package.loaded['darkplus.Git'] = nil 10 | package.loaded['darkplus.LSP'] = nil 11 | package.loaded['darkplus.Quickscope'] = nil 12 | package.loaded['darkplus.Telescope'] = nil 13 | package.loaded['darkplus.NvimTree'] = nil 14 | package.loaded['darkplus.Lir'] = nil 15 | package.loaded['darkplus.Buffer'] = nil 16 | package.loaded['darkplus.StatusLine'] = nil 17 | package.loaded['darkplus.IndentBlankline'] = nil 18 | package.loaded['darkplus.Dashboard'] = nil 19 | package.loaded['darkplus.DiffView'] = nil 20 | package.loaded['darkplus.Bookmarks'] = nil 21 | package.loaded['darkplus.Bqf'] = nil 22 | package.loaded['darkplus.Cmp'] = nil 23 | package.loaded['darkplus.Gps'] = nil 24 | package.loaded['darkplus.Packer'] = nil 25 | package.loaded['darkplus.SymbolOutline'] = nil 26 | package.loaded['darkplus.Notify'] = nil 27 | package.loaded['darkplus.Misc'] = nil 28 | package.loaded['darkplus.Crates'] = nil 29 | 30 | require("darkplus") 31 | EOF 32 | -------------------------------------------------------------------------------- /colors/ferrum.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['ferrum'] = nil 5 | package.loaded['ferrum.highlights'] = nil 6 | package.loaded['ferrum.Treesitter'] = nil 7 | package.loaded['ferrum.markdown'] = nil 8 | package.loaded['ferrum.Whichkey'] = nil 9 | package.loaded['ferrum.Git'] = nil 10 | package.loaded['ferrum.LSP'] = nil 11 | package.loaded['ferrum.Quickscope'] = nil 12 | package.loaded['ferrum.Telescope'] = nil 13 | package.loaded['ferrum.NvimTree'] = nil 14 | package.loaded['ferrum.Lir'] = nil 15 | package.loaded['ferrum.Buffer'] = nil 16 | package.loaded['ferrum.StatusLine'] = nil 17 | package.loaded['ferrum.IndentBlankline'] = nil 18 | package.loaded['ferrum.Dashboard'] = nil 19 | package.loaded['ferrum.DiffView'] = nil 20 | package.loaded['ferrum.Bookmarks'] = nil 21 | package.loaded['ferrum.Bqf'] = nil 22 | package.loaded['ferrum.Cmp'] = nil 23 | package.loaded['ferrum.Gps'] = nil 24 | package.loaded['ferrum.Packer'] = nil 25 | package.loaded['ferrum.SymbolOutline'] = nil 26 | package.loaded['ferrum.Notify'] = nil 27 | package.loaded['ferrum.Misc'] = nil 28 | package.loaded['ferrum.Crates'] = nil 29 | 30 | require("ferrum") 31 | EOF 32 | -------------------------------------------------------------------------------- /colors/lunar.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['lunar'] = nil 5 | package.loaded['lunar.highlights'] = nil 6 | package.loaded['lunar.Treesitter'] = nil 7 | package.loaded['lunar.markdown'] = nil 8 | package.loaded['lunar.Whichkey'] = nil 9 | package.loaded['lunar.Git'] = nil 10 | package.loaded['lunar.LSP'] = nil 11 | package.loaded['lunar.Quickscope'] = nil 12 | package.loaded['lunar.Telescope'] = nil 13 | package.loaded['lunar.NvimTree'] = nil 14 | package.loaded['lunar.Lir'] = nil 15 | package.loaded['lunar.Buffer'] = nil 16 | package.loaded['lunar.StatusLine'] = nil 17 | package.loaded['lunar.IndentBlankline'] = nil 18 | package.loaded['lunar.Dashboard'] = nil 19 | package.loaded['lunar.DiffView'] = nil 20 | package.loaded['lunar.Bookmarks'] = nil 21 | package.loaded['lunar.Bqf'] = nil 22 | package.loaded['lunar.Cmp'] = nil 23 | package.loaded['lunar.Packer'] = nil 24 | package.loaded['lunar.SymbolOutline'] = nil 25 | package.loaded['lunar.Notify'] = nil 26 | package.loaded['lunar.Misc'] = nil 27 | 28 | require("lunar") 29 | EOF 30 | -------------------------------------------------------------------------------- /colors/onedark.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['onedark'] = nil 5 | package.loaded['onedark.highlights'] = nil 6 | package.loaded['onedark.Treesitter'] = nil 7 | package.loaded['onedark.markdown'] = nil 8 | package.loaded['onedark.Whichkey'] = nil 9 | package.loaded['onedark.Git'] = nil 10 | package.loaded['onedark.LSP'] = nil 11 | package.loaded['onedark.Quickscope'] = nil 12 | package.loaded['onedark.Telescope'] = nil 13 | package.loaded['onedark.NvimTree'] = nil 14 | package.loaded['onedark.Lir'] = nil 15 | package.loaded['onedark.Buffer'] = nil 16 | package.loaded['onedark.StatusLine'] = nil 17 | package.loaded['onedark.IndentBlankline'] = nil 18 | package.loaded['onedark.Dashboard'] = nil 19 | package.loaded['onedark.DiffView'] = nil 20 | package.loaded['onedark.Bookmarks'] = nil 21 | package.loaded['onedark.Bqf'] = nil 22 | package.loaded['onedark.Cmp'] = nil 23 | package.loaded['onedark.Gps'] = nil 24 | package.loaded['onedark.Packer'] = nil 25 | package.loaded['onedark.SymbolOutline'] = nil 26 | package.loaded['onedark.Notify'] = nil 27 | package.loaded['onedark.Hop'] = nil 28 | package.loaded['onedark.Misc'] = nil 29 | package.loaded['onedark.Crates'] = nil 30 | 31 | require("onedark") 32 | EOF 33 | -------------------------------------------------------------------------------- /colors/onedarker.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['onedarker'] = nil 5 | package.loaded['onedarker.highlights'] = nil 6 | package.loaded['onedarker.Treesitter'] = nil 7 | package.loaded['onedarker.markdown'] = nil 8 | package.loaded['onedarker.Whichkey'] = nil 9 | package.loaded['onedarker.Git'] = nil 10 | package.loaded['onedarker.LSP'] = nil 11 | package.loaded['onedarker.Quickscope'] = nil 12 | package.loaded['onedarker.Telescope'] = nil 13 | package.loaded['onedarker.NvimTree'] = nil 14 | package.loaded['onedarker.Lir'] = nil 15 | package.loaded['onedarker.Buffer'] = nil 16 | package.loaded['onedarker.StatusLine'] = nil 17 | package.loaded['onedarker.IndentBlankline'] = nil 18 | package.loaded['onedarker.Dashboard'] = nil 19 | package.loaded['onedarker.DiffView'] = nil 20 | package.loaded['onedarker.Bookmarks'] = nil 21 | package.loaded['onedarker.Bqf'] = nil 22 | package.loaded['onedarker.Cmp'] = nil 23 | package.loaded['onedarker.Navic'] = nil 24 | package.loaded['onedarker.Gps'] = nil 25 | package.loaded['onedarker.Packer'] = nil 26 | package.loaded['onedarker.SymbolOutline'] = nil 27 | package.loaded['onedarker.Notify'] = nil 28 | package.loaded['onedarker.Hop'] = nil 29 | package.loaded['onedarker.Misc'] = nil 30 | package.loaded['onedarker.Crates'] = nil 31 | 32 | require("onedarker") 33 | EOF 34 | -------------------------------------------------------------------------------- /colors/onedarkest.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['onedarkest'] = nil 5 | package.loaded['onedarkest.highlights'] = nil 6 | package.loaded['onedarkest.Treesitter'] = nil 7 | package.loaded['onedarkest.markdown'] = nil 8 | package.loaded['onedarkest.Whichkey'] = nil 9 | package.loaded['onedarkest.Git'] = nil 10 | package.loaded['onedarkest.LSP'] = nil 11 | package.loaded['onedarkest.Quickscope'] = nil 12 | package.loaded['onedarkest.Telescope'] = nil 13 | package.loaded['onedarkest.NvimTree'] = nil 14 | package.loaded['onedarkest.Lir'] = nil 15 | package.loaded['onedarkest.Buffer'] = nil 16 | package.loaded['onedarkest.StatusLine'] = nil 17 | package.loaded['onedarkest.IndentBlankline'] = nil 18 | package.loaded['onedarkest.Dashboard'] = nil 19 | package.loaded['onedarkest.DiffView'] = nil 20 | package.loaded['onedarkest.Bookmarks'] = nil 21 | package.loaded['onedarkest.Bqf'] = nil 22 | package.loaded['onedarkest.Cmp'] = nil 23 | package.loaded['onedarkest.Gps'] = nil 24 | package.loaded['onedarkest.Packer'] = nil 25 | package.loaded['onedarkest.SymbolOutline'] = nil 26 | package.loaded['onedarkest.Notify'] = nil 27 | package.loaded['onedarkest.Misc'] = nil 28 | package.loaded['onedarkest.Crates'] = nil 29 | 30 | require("onedarkest") 31 | EOF 32 | -------------------------------------------------------------------------------- /colors/onenord.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['onenord'] = nil 5 | package.loaded['onenord.highlights'] = nil 6 | package.loaded['onenord.Treesitter'] = nil 7 | package.loaded['onenord.markdown'] = nil 8 | package.loaded['onenord.Whichkey'] = nil 9 | package.loaded['onenord.Git'] = nil 10 | package.loaded['onenord.LSP'] = nil 11 | package.loaded['onenord.Quickscope'] = nil 12 | package.loaded['onenord.Telescope'] = nil 13 | package.loaded['onenord.NvimTree'] = nil 14 | package.loaded['onenord.Lir'] = nil 15 | package.loaded['onenord.Buffer'] = nil 16 | package.loaded['onenord.StatusLine'] = nil 17 | package.loaded['onenord.IndentBlankline'] = nil 18 | package.loaded['onenord.Dashboard'] = nil 19 | package.loaded['onenord.DiffView'] = nil 20 | package.loaded['onenord.Bookmarks'] = nil 21 | package.loaded['onenord.Bqf'] = nil 22 | package.loaded['onenord.Cmp'] = nil 23 | package.loaded['onenord.Gps'] = nil 24 | package.loaded['onenord.Packer'] = nil 25 | package.loaded['onenord.SymbolOutline'] = nil 26 | package.loaded['onenord.Notify'] = nil 27 | package.loaded['onenord.Misc'] = nil 28 | package.loaded['onenord.Crates'] = nil 29 | 30 | require("onenord") 31 | EOF 32 | -------------------------------------------------------------------------------- /colors/spacedark.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | lua require("spacedark") -------------------------------------------------------------------------------- /colors/system76.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['system76'] = nil 5 | package.loaded['system76.highlights'] = nil 6 | package.loaded['system76.Treesitter'] = nil 7 | package.loaded['system76.markdown'] = nil 8 | package.loaded['system76.Whichkey'] = nil 9 | package.loaded['system76.Git'] = nil 10 | package.loaded['system76.LSP'] = nil 11 | 12 | require("system76") 13 | EOF 14 | -------------------------------------------------------------------------------- /colors/tomorrow.vim: -------------------------------------------------------------------------------- 1 | " Author: Christian Chiarulli 2 | 3 | lua << EOF 4 | package.loaded['tomorrow'] = nil 5 | package.loaded['tomorrow.highlights'] = nil 6 | package.loaded['tomorrow.Treesitter'] = nil 7 | package.loaded['tomorrow.markdown'] = nil 8 | package.loaded['tomorrow.Whichkey'] = nil 9 | package.loaded['tomorrow.Git'] = nil 10 | package.loaded['tomorrow.LSP'] = nil 11 | package.loaded['tomorrow.Quickscope'] = nil 12 | package.loaded['tomorrow.Telescope'] = nil 13 | package.loaded['tomorrow.NvimTree'] = nil 14 | package.loaded['tomorrow.Lir'] = nil 15 | package.loaded['tomorrow.Buffer'] = nil 16 | package.loaded['tomorrow.StatusLine'] = nil 17 | package.loaded['tomorrow.IndentBlankline'] = nil 18 | package.loaded['tomorrow.Dashboard'] = nil 19 | package.loaded['tomorrow.DiffView'] = nil 20 | package.loaded['tomorrow.Bookmarks'] = nil 21 | package.loaded['tomorrow.Bqf'] = nil 22 | package.loaded['tomorrow.Cmp'] = nil 23 | package.loaded['tomorrow.SymbolOutline'] = nil 24 | package.loaded['tomorrow.Misc'] = nil 25 | 26 | require("tomorrow") 27 | EOF 28 | -------------------------------------------------------------------------------- /generate_colorscheme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | python ez.py templates/"$1".yml 4 | 5 | rm -rf ./lua/"$1" 6 | mv ./"$1"/lua/"$1" ./lua 7 | mv ./"$1"/colors/"$1".vim ./colors 8 | rm -rf "$1" 9 | -------------------------------------------------------------------------------- /lua/aurora/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/aurora/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.dark_gray, }, 3 | TSAnnotation = {fg = C.purple, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.purple, }, 6 | TSType = {fg = C.purple, }, 7 | TSTypeBuiltin = {fg = C.purple, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.blue, }, 10 | TSInclude = {fg = C.blue, }, 11 | TSKeyword = {fg = C.blue, }, 12 | TSKeywordFunction = {fg = C.blue, }, 13 | TSLabel = {fg = C.blue, }, 14 | TSNamespace = {fg = C.blue, }, 15 | TSRepeat = {fg = C.blue, }, 16 | TSConstant = {fg = C.orange, }, 17 | TSConstBuiltin = {fg = C.orange, }, 18 | TSFloat = {fg = C.orange, }, 19 | TSNumber = {fg = C.orange, }, 20 | TSBoolean = {fg = C.orange, }, 21 | TSCharacter = {fg = C.green, }, 22 | TSError = {fg = C.error_red, }, 23 | TSFunction = {fg = C.yellow, }, 24 | TSFuncBuiltin = {fg = C.yellow, }, 25 | TSMethod = {fg = C.yellow, }, 26 | TSConstMacro = {fg = C.cyan, }, 27 | TSFuncMacro = {fg = C.cyan, }, 28 | TSVariable = {fg = C.cyan, }, 29 | TSVariableBuiltin = {fg = C.cyan, }, 30 | TSProperty = {fg = C.cyan, }, 31 | TSOperator = {fg = C.gray_blue, }, 32 | TSField = {fg = C.cyan, }, 33 | TSParameter = {fg = C.cyan, }, 34 | TSParameterReference = {fg = C.cyan, }, 35 | TSSymbol = {fg = C.white, }, 36 | TSText = {fg = C.fg, }, 37 | TSPunctDelimiter = {fg = C.gray, }, 38 | TSTagDelimiter = {fg = C.gray, }, 39 | TSPunctBracket = {fg = C.gray, }, 40 | TSPunctSpecial = {fg = C.gray, }, 41 | TSString = {fg = C.green, }, 42 | TSStringRegex = {fg = C.light_green, }, 43 | TSStringEscape = {fg = C.light_green, }, 44 | TSTag = {fg = C.blue, }, 45 | TSEmphasis = {style = "italic", }, 46 | TSUnderline = {style = "underline", }, 47 | TSWarning = {fg = C.warning_orange, }, 48 | TSDanger = {fg = C.error_red, }, 49 | TSTitle = {fg = C.blue, style = "bold", }, 50 | TSLiteral = {fg = C.green, }, 51 | TSURI = {fg = C.cyan, style = "underline", }, 52 | TSKeywordOperator = {fg = C.blue, }, 53 | TSStructure = {fg = C.purple_test, }, 54 | TSStrong = {fg = C.yellow, }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TSNote = {fg = C.red, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/aurora/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.cyan, }, 6 | WhichKeyFloat = {bg = C.alt_bg, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/aurora/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/aurora/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "aurora" 8 | 9 | local util = require("aurora.util") 10 | Config = require("aurora.config") 11 | C = require("aurora.palette") 12 | local highlights = require("aurora.highlights") 13 | local Treesitter = require("aurora.Treesitter") 14 | local markdown = require("aurora.markdown") 15 | local Whichkey = require("aurora.Whichkey") 16 | local Git = require("aurora.Git") 17 | local LSP = require("aurora.LSP") 18 | 19 | 20 | local skeletons = { 21 | highlights, Treesitter, markdown, Whichkey, Git, LSP 22 | } 23 | 24 | for _, skeleton in ipairs(skeletons) do 25 | util.initialise(skeleton) 26 | end -------------------------------------------------------------------------------- /lua/aurora/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.accent, }, 3 | markdownBold = {fg = C.yellow, style = "bold", }, 4 | markdownCode = {fg = C.green, }, 5 | markdownCodeBlock = {fg = C.green, }, 6 | markdownCodeDelimiter = {fg = C.green, }, 7 | markdownH1 = {fg = C.blue, }, 8 | markdownH2 = {fg = C.blue, }, 9 | markdownH3 = {fg = C.blue, }, 10 | markdownH4 = {fg = C.blue, }, 11 | markdownH5 = {fg = C.blue, }, 12 | markdownH6 = {fg = C.blue, }, 13 | markdownHeadingDelimiter = {fg = C.red, }, 14 | markdownHeadingRule = {fg = C.accent, }, 15 | markdownId = {fg = C.purple, }, 16 | markdownIdDeclaration = {fg = C.blue, }, 17 | markdownIdDelimiter = {fg = C.light_gray, }, 18 | markdownLinkDelimiter = {fg = C.light_gray, }, 19 | markdownItalic = {style = "italic", }, 20 | markdownLinkText = {fg = C.blue, }, 21 | markdownListMarker = {fg = C.red, }, 22 | markdownOrderedListMarker = {fg = C.red, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | } 26 | 27 | return markdown -------------------------------------------------------------------------------- /lua/aurora/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#ABB2BF", 3 | bg = "#1f2227", 4 | alt_bg = "#282c34", 5 | accent = "#434C5E", 6 | context = "#4b5263", 7 | white = "#ABB2BF", 8 | gray = "#9BA1AB", 9 | light_gray = "#c8c9c1", 10 | dark_gray = "#2a3a3e", 11 | blue = "#5e81ac", 12 | gray_blue = "#81A1C1", 13 | cyan = "#88c0d0", 14 | red = "#BF616A", 15 | green = "#A3BE8C", 16 | light_green = "#B5CEA8", 17 | yellow = "#E7cb93", 18 | orange = "#c68a75", 19 | purple = "#B48EAD", 20 | pale_purple = "#7199ee", 21 | magenta = "#D16D9E", 22 | cursor_fg = "#515052", 23 | cursor_bg = "#AEAFAD", 24 | sign_add = "#587c0c", 25 | sign_change = "#0c7d9d", 26 | sign_delete = "#94151b", 27 | error_red = "#F44747", 28 | warning_orange = "#ff8800", 29 | info_yellow = "#FFCC66", 30 | hint_blue = "#4FC1FF", 31 | purple_test = "#ff00ff", 32 | cyan_test = "#00ffff", 33 | } 34 | 35 | return colors -------------------------------------------------------------------------------- /lua/aurora/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/codemonkey/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/codemonkey/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.orange, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.purple, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.blue, }, 10 | TSInclude = {fg = C.blue, }, 11 | TSKeyword = {fg = C.purple, }, 12 | TSKeywordFunction = {fg = C.purple, }, 13 | TSLabel = {fg = C.fg, }, 14 | TSNamespace = {fg = C.cyan, }, 15 | TSRepeat = {fg = C.blue, }, 16 | TSConstant = {fg = C.yellow, }, 17 | TSConstBuiltin = {fg = C.red, }, 18 | TSFloat = {fg = C.red, }, 19 | TSNumber = {fg = C.red, }, 20 | TSBoolean = {fg = C.red, }, 21 | TSCharacter = {fg = C.green, }, 22 | TSError = {fg = C.error_red, }, 23 | TSFunction = {fg = C.orange, }, 24 | TSFuncBuiltin = {fg = C.orange, }, 25 | TSMethod = {fg = C.orange, }, 26 | TSConstMacro = {fg = C.cyan, }, 27 | TSFuncMacro = {fg = C.orange, }, 28 | TSVariable = {fg = C.fg, }, 29 | TSVariableBuiltin = {fg = C.fg, }, 30 | TSProperty = {fg = C.light_blue, }, 31 | TSOperator = {fg = C.light_blue, }, 32 | TSField = {fg = C.fg, }, 33 | TSParameter = {fg = C.fg, }, 34 | TSParameterReference = {fg = C.fg, }, 35 | TSSymbol = {fg = C.fg, }, 36 | TSText = {fg = C.fg, }, 37 | TSPunctDelimiter = {fg = C.fg, }, 38 | TSTagDelimiter = {fg = C.gray, }, 39 | TSPunctBracket = {fg = C.fg, }, 40 | TSPunctSpecial = {fg = C.fg, }, 41 | TSString = {fg = C.green, }, 42 | TSStringRegex = {fg = C.green, }, 43 | TSStringEscape = {fg = C.yellow_orange, }, 44 | TSTag = {fg = C.blue, }, 45 | TSEmphasis = {style = "italic", }, 46 | TSUnderline = {style = "underline", }, 47 | TSTitle = {fg = C.blue, style = "bold", }, 48 | TSLiteral = {fg = C.yellow_orange, }, 49 | TSURI = {fg = C.yellow_orange, style = "underline", }, 50 | TSKeywordOperator = {fg = C.blue, }, 51 | TSStructure = {fg = C.fg, }, 52 | TSStrong = {fg = C.yellow_orange, }, 53 | TSQueryLinterError = {fg = C.warning_orange, }, 54 | } 55 | 56 | return Treesitter -------------------------------------------------------------------------------- /lua/codemonkey/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/codemonkey/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/codemonkey/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "codemonkey" 8 | 9 | local util = require("codemonkey.util") 10 | Config = require("codemonkey.config") 11 | C = require("codemonkey.palette") 12 | local highlights = require("codemonkey.highlights") 13 | local Treesitter = require("codemonkey.Treesitter") 14 | local markdown = require("codemonkey.markdown") 15 | local Whichkey = require("codemonkey.Whichkey") 16 | local Git = require("codemonkey.Git") 17 | local LSP = require("codemonkey.LSP") 18 | 19 | 20 | local skeletons = { 21 | highlights, Treesitter, markdown, Whichkey, Git, LSP 22 | } 23 | 24 | for _, skeleton in ipairs(skeletons) do 25 | util.initialise(skeleton) 26 | end -------------------------------------------------------------------------------- /lua/codemonkey/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.accent, }, 3 | markdownBold = {fg = C.yellow, style = "bold", }, 4 | markdownCode = {fg = C.green, }, 5 | markdownCodeBlock = {fg = C.green, }, 6 | markdownCodeDelimiter = {fg = C.green, }, 7 | markdownH1 = {fg = C.blue, }, 8 | markdownH2 = {fg = C.blue, }, 9 | markdownH3 = {fg = C.blue, }, 10 | markdownH4 = {fg = C.blue, }, 11 | markdownH5 = {fg = C.blue, }, 12 | markdownH6 = {fg = C.blue, }, 13 | markdownHeadingDelimiter = {fg = C.red, }, 14 | markdownHeadingRule = {fg = C.accent, }, 15 | markdownId = {fg = C.purple, }, 16 | markdownIdDeclaration = {fg = C.blue, }, 17 | markdownIdDelimiter = {fg = C.light_gray, }, 18 | markdownLinkDelimiter = {fg = C.light_gray, }, 19 | markdownItalic = {style = "italic", }, 20 | markdownLinkText = {fg = C.blue, }, 21 | markdownListMarker = {fg = C.red, }, 22 | markdownOrderedListMarker = {fg = C.red, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | } 26 | 27 | return markdown -------------------------------------------------------------------------------- /lua/codemonkey/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#cccbca", 3 | bg = "#212329", 4 | alt_bg = "#282c34", 5 | dark = "#282c34", 6 | accent = "#BBBBBB", 7 | dark_gray = "#3a3a4e", 8 | context = "#5a5d70", 9 | popup_back = "#282c34", 10 | search_orange = "#613214", 11 | search_blue = "#5e81ac", 12 | gray = "#808080", 13 | light_gray = "#c8c9c1", 14 | blue = "#6196cc", 15 | dark_blue = "#223E55", 16 | light_blue = "#67cdcc", 17 | green = "#7ec699", 18 | cyan = "#42b983", 19 | red = "#e2777a", 20 | orange = "#f08d49", 21 | light_red = "#D16969", 22 | yellow = "#e7c000", 23 | yellow_orange = "#D7BA7D", 24 | purple = "#aa77ab", 25 | magenta = "#D16D9E", 26 | cursor_fg = "#515052", 27 | cursor_bg = "#AEAFAD", 28 | sign_add = "#587c0c", 29 | sign_change = "#0c7d9d", 30 | sign_delete = "#94151b", 31 | error_red = "#F44747", 32 | warning_orange = "#ff8800", 33 | info_yellow = "#FFCC66", 34 | hint_blue = "#4FC1FF", 35 | purple_test = "#ff007c", 36 | cyan_test = "#00dfff", 37 | ui_blue = "#264F78", 38 | } 39 | 40 | return colors -------------------------------------------------------------------------------- /lua/codemonkey/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/darkplus/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow_orange, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/darkplus/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/darkplus/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/darkplus/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.ui_purple, }, 6 | CmpItemKindMethod = {fg = C.ui_purple, }, 7 | CmpItemKindConstructor = {fg = C.ui_orange, }, 8 | CmpItemKindClass = {fg = C.ui_orange, }, 9 | CmpItemKindEnum = {fg = C.ui_orange, }, 10 | CmpItemKindEvent = {fg = C.ui_purple, }, 11 | CmpItemKindInterface = {fg = C.light_blue, }, 12 | CmpItemKindStruct = {fg = C.ui4_blue, }, 13 | CmpItemKindVariable = {fg = C.ui4_blue, }, 14 | CmpItemKindField = {fg = C.ui4_blue, }, 15 | CmpItemKindProperty = {fg = C.ui4_blue, }, 16 | CmpItemKindEnumMember = {fg = C.light_blue, }, 17 | CmpItemKindConstant = {fg = C.ui4_blue, }, 18 | CmpItemKindKeyword = {fg = C.fg, }, 19 | CmpItemKindModule = {fg = C.fg, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.fg, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.fg, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/darkplus/Crates.lua: -------------------------------------------------------------------------------- 1 | local Crates = { 2 | CratesNvimLoading = {fg = C.hint_blue, }, 3 | CratesNvimVersion = {fg = C.hint_blue, }, 4 | } 5 | 6 | return Crates -------------------------------------------------------------------------------- /lua/darkplus/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/darkplus/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/darkplus/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/darkplus/Gps.lua: -------------------------------------------------------------------------------- 1 | local Gps = { 2 | GpsNormal = {fg = C.gray, bg = "#1d1d1d", }, 3 | GpsItemKindFunction = {fg = C.ui_purple, }, 4 | GpsItemKindMethod = {fg = C.ui_purple, }, 5 | GpsItemKindConstructor = {fg = C.ui_orange, }, 6 | GpsItemKindClass = {fg = C.ui_orange, }, 7 | GpsItemKindEnum = {fg = C.ui_orange, }, 8 | GpsItemKindEvent = {fg = C.ui_purple, }, 9 | GpsItemKindInterface = {fg = C.light_blue, }, 10 | GpsItemKindStruct = {fg = C.ui4_blue, }, 11 | GpsItemKindVariable = {fg = C.ui4_blue, }, 12 | GpsItemKindField = {fg = C.ui4_blue, }, 13 | GpsItemKindProperty = {fg = C.ui4_blue, }, 14 | GpsItemKindEnumMember = {fg = C.light_blue, }, 15 | GpsItemKindConstant = {fg = C.ui4_blue, }, 16 | GpsItemKindKeyword = {fg = C.fg, }, 17 | GpsItemKindModule = {fg = C.fg, }, 18 | GpsItemKindValue = {fg = C.fg, }, 19 | GpsItemKindUnit = {fg = C.fg, }, 20 | GpsItemKindText = {fg = C.fg, }, 21 | GpsItemKindSnippet = {fg = C.fg, }, 22 | GpsItemKindFile = {fg = C.fg, }, 23 | GpsItemKindFolder = {fg = C.fg, }, 24 | GpsItemKindColor = {fg = C.fg, }, 25 | GpsItemKindReference = {fg = C.fg, }, 26 | GpsItemKindOperator = {fg = C.fg, }, 27 | GpsItemKindTypeParameter = {fg = C.fg, }, 28 | } 29 | 30 | return Gps -------------------------------------------------------------------------------- /lua/darkplus/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/darkplus/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultInfo = {fg = C.info_yellow, }, 6 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 7 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 8 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 9 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 10 | LspDiagnosticsVirtualTextInfo = {fg = C.info_yellow, }, 11 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 12 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 13 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 14 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 15 | LspDiagnosticsFloatingInfo = {fg = C.info_yellow, }, 16 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 17 | DiagnosticSignError = {fg = C.error_red, }, 18 | DiagnosticSignWarning = {fg = C.warning_orange, }, 19 | DiagnosticSignInformation = {fg = C.info_yellow, }, 20 | DiagnosticSignInfo = {fg = C.info_yellow, }, 21 | DiagnosticSignHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsSignError = {fg = C.error_red, }, 23 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 24 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 25 | LspDiagnosticsSignInfo = {fg = C.info_yellow, }, 26 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 27 | LspDiagnosticsError = {fg = C.error_red, }, 28 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 29 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 30 | LspDiagnosticsInfo = {fg = C.info_yellow, }, 31 | LspDiagnosticsHint = {fg = C.hint_blue, }, 32 | LspDiagnosticsUnderlineError = {style = "underline", }, 33 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 34 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 35 | LspDiagnosticsUnderlineInfo = {style = "underline", }, 36 | LspDiagnosticsUnderlineHint = {style = "underline", }, 37 | LspReferenceRead = {bg = "#36383F", }, 38 | LspReferenceText = {bg = "#36383F", }, 39 | LspReferenceWrite = {bg = "#36383f", }, 40 | LspCodeLens = {fg = C.context, style = "italic", }, 41 | LspCodeLensSeparator = {fg = C.context, style = "italic", }, 42 | } 43 | 44 | return LSP -------------------------------------------------------------------------------- /lua/darkplus/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/darkplus/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/darkplus/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#2A2D2E", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/darkplus/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/darkplus/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/darkplus/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.alt_bg, bg = C.gray, }, 3 | StatusLineNC = {fg = C.alt_bg, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.alt_bg, }, 5 | StatusLineTerm = {fg = C.alt_bg, }, 6 | StatusLineTermNC = {fg = C.alt_bg, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/darkplus/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/darkplus/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/darkplus/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.green, }, 3 | TSAnnotation = {fg = C.yellow, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.blue, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.blue, }, 13 | TSKeywordFunction = {fg = C.blue, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.purple, }, 17 | TSConstant = {fg = C.vivid_blue, }, 18 | TSConstBuiltin = {fg = C.vivid_blue, }, 19 | TSFloat = {fg = C.light_green, }, 20 | TSNumber = {fg = C.light_green, }, 21 | TSBoolean = {fg = C.blue, }, 22 | TSCharacter = {fg = C.orange, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.yellow, }, 25 | TSFuncBuiltin = {fg = C.yellow, }, 26 | TSMethod = {fg = C.yellow, }, 27 | TSConstMacro = {fg = C.cyan, }, 28 | TSFuncMacro = {fg = C.yellow, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.cyan, }, 31 | TSProperty = {fg = C.light_blue, }, 32 | TSOperator = {fg = C.fg, }, 33 | TSField = {fg = C.light_blue, }, 34 | TSParameter = {fg = C.light_blue, }, 35 | TSParameterReference = {fg = C.light_blue, }, 36 | TSSymbol = {fg = C.light_blue, }, 37 | TSText = {fg = C.fg, }, 38 | TSPunctDelimiter = {fg = C.fg, }, 39 | TSTagDelimiter = {fg = C.gray, }, 40 | TSTagAttribute = {fg = C.light_blue, }, 41 | TSPunctBracket = {fg = C.fg, }, 42 | TSPunctSpecial = {fg = C.blue, }, 43 | TSString = {fg = C.orange, }, 44 | TSStringRegex = {fg = C.orange, }, 45 | TSStringEscape = {fg = C.yellow_orange, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.blue, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/darkplus/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/darkplus/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/darkplus/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "darkplus" 8 | 9 | local util = require("darkplus.util") 10 | Config = require("darkplus.config") 11 | C = require("darkplus.palette") 12 | local highlights = require("darkplus.highlights") 13 | local Treesitter = require("darkplus.Treesitter") 14 | local markdown = require("darkplus.markdown") 15 | local Whichkey = require("darkplus.Whichkey") 16 | local Git = require("darkplus.Git") 17 | local LSP = require("darkplus.LSP") 18 | local Quickscope = require("darkplus.Quickscope") 19 | local Telescope = require("darkplus.Telescope") 20 | local NvimTree = require("darkplus.NvimTree") 21 | local Lir = require("darkplus.Lir") 22 | local Buffer = require("darkplus.Buffer") 23 | local StatusLine = require("darkplus.StatusLine") 24 | local IndentBlankline = require("darkplus.IndentBlankline") 25 | local Dashboard = require("darkplus.Dashboard") 26 | local DiffView = require("darkplus.DiffView") 27 | local Bookmarks = require("darkplus.Bookmarks") 28 | local Bqf = require("darkplus.Bqf") 29 | local Cmp = require("darkplus.Cmp") 30 | local Gps = require("darkplus.Gps") 31 | local Packer = require("darkplus.Packer") 32 | local SymbolOutline = require("darkplus.SymbolOutline") 33 | local Notify = require("darkplus.Notify") 34 | local Misc = require("darkplus.Misc") 35 | local Crates = require("darkplus.Crates") 36 | 37 | 38 | local skeletons = { 39 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Gps, Packer, SymbolOutline, Notify, Misc, Crates 40 | } 41 | 42 | for _, skeleton in ipairs(skeletons) do 43 | util.initialise(skeleton) 44 | end -------------------------------------------------------------------------------- /lua/darkplus/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.vivid_blue, }, 7 | markdownH2 = {fg = C.vivid_blue, }, 8 | markdownH3 = {fg = C.vivid_blue, }, 9 | markdownH4 = {fg = C.vivid_blue, }, 10 | markdownH5 = {fg = C.vivid_blue, }, 11 | markdownH6 = {fg = C.vivid_blue, }, 12 | markdownHeadingDelimiter = {fg = C.vivid_blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow_orange, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow_orange, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/darkplus/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#D4D4D4", 3 | bg = "#1E1E1E", 4 | alt_bg = "#252525", 5 | dark = "#222222", 6 | accent = "#BBBBBB", 7 | popup_back = "#2D2D30", 8 | search_orange = "#613214", 9 | search_blue = "#083C5A", 10 | white = "#D8DEE9", 11 | gray = "#808080", 12 | dark_gray = "#3e3e3e", 13 | context = "#606060", 14 | light_gray = "#cccccc", 15 | tree_gray = "#252526", 16 | blue = "#569CD6", 17 | vivid_blue = "#4FC1FF", 18 | dark_blue = "#223E55", 19 | folder_blue = "#42A5F5", 20 | light_blue = "#9CDCFE", 21 | green = "#6A9955", 22 | cyan = "#4EC9B0", 23 | light_green = "#B5CEA8", 24 | red = "#F44747", 25 | orange = "#CE9178", 26 | light_red = "#D16969", 27 | yellow = "#DCDCAA", 28 | yellow_orange = "#D7BA7D", 29 | purple = "#C586C0", 30 | magenta = "#D16D9E", 31 | cursor_fg = "#515052", 32 | cursor_bg = "#AEAFAD", 33 | sign_add = "#587c0c", 34 | sign_change = "#0c7d9d", 35 | sign_delete = "#94151b", 36 | tree_sign_add = "#73C991", 37 | tree_sign_change = "#CCA700", 38 | error_red = "#F44747", 39 | warning_orange = "#ff8800", 40 | info_yellow = "#FFCC66", 41 | hint_blue = "#4FC1FF", 42 | success_green = "#14C50B", 43 | purple_test = "#ff007c", 44 | cyan_test = "#00dfff", 45 | ui_blue = "#264F78", 46 | ui2_blue = "#042E48", 47 | ui3_blue = "#0195F7", 48 | ui4_blue = "#75BEFF", 49 | ui_orange = "#E8AB53", 50 | ui_purple = "#B180D7", 51 | } 52 | 53 | return colors -------------------------------------------------------------------------------- /lua/darkplus/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/ferrum/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow_orange, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/ferrum/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/ferrum/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/ferrum/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.ui_purple, }, 6 | CmpItemKindMethod = {fg = C.ui_purple, }, 7 | CmpItemKindConstructor = {fg = C.ui_orange, }, 8 | CmpItemKindClass = {fg = C.ui_orange, }, 9 | CmpItemKindEnum = {fg = C.ui_orange, }, 10 | CmpItemKindEvent = {fg = C.ui_purple, }, 11 | CmpItemKindInterface = {fg = C.light_blue, }, 12 | CmpItemKindStruct = {fg = C.ui4_blue, }, 13 | CmpItemKindVariable = {fg = C.ui4_blue, }, 14 | CmpItemKindField = {fg = C.ui4_blue, }, 15 | CmpItemKindProperty = {fg = C.ui4_blue, }, 16 | CmpItemKindEnumMember = {fg = C.light_blue, }, 17 | CmpItemKindConstant = {fg = C.ui4_blue, }, 18 | CmpItemKindKeyword = {fg = C.fg, }, 19 | CmpItemKindModule = {fg = C.fg, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.fg, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.fg, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/ferrum/Crates.lua: -------------------------------------------------------------------------------- 1 | local Crates = { 2 | CratesNvimLoading = {fg = C.hint_blue, }, 3 | CratesNvimVersion = {fg = C.hint_blue, }, 4 | } 5 | 6 | return Crates -------------------------------------------------------------------------------- /lua/ferrum/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/ferrum/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/ferrum/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/ferrum/Gps.lua: -------------------------------------------------------------------------------- 1 | local Gps = { 2 | GpsNormal = {fg = C.gray, bg = "#1d1d1d", }, 3 | GpsItemKindFunction = {fg = C.ui_purple, }, 4 | GpsItemKindMethod = {fg = C.ui_purple, }, 5 | GpsItemKindConstructor = {fg = C.ui_orange, }, 6 | GpsItemKindClass = {fg = C.ui_orange, }, 7 | GpsItemKindEnum = {fg = C.ui_orange, }, 8 | GpsItemKindEvent = {fg = C.ui_purple, }, 9 | GpsItemKindInterface = {fg = C.light_blue, }, 10 | GpsItemKindStruct = {fg = C.ui4_blue, }, 11 | GpsItemKindVariable = {fg = C.ui4_blue, }, 12 | GpsItemKindField = {fg = C.ui4_blue, }, 13 | GpsItemKindProperty = {fg = C.ui4_blue, }, 14 | GpsItemKindEnumMember = {fg = C.light_blue, }, 15 | GpsItemKindConstant = {fg = C.ui4_blue, }, 16 | GpsItemKindKeyword = {fg = C.fg, }, 17 | GpsItemKindModule = {fg = C.fg, }, 18 | GpsItemKindValue = {fg = C.fg, }, 19 | GpsItemKindUnit = {fg = C.fg, }, 20 | GpsItemKindText = {fg = C.fg, }, 21 | GpsItemKindSnippet = {fg = C.fg, }, 22 | GpsItemKindFile = {fg = C.fg, }, 23 | GpsItemKindFolder = {fg = C.fg, }, 24 | GpsItemKindColor = {fg = C.fg, }, 25 | GpsItemKindReference = {fg = C.fg, }, 26 | GpsItemKindOperator = {fg = C.fg, }, 27 | GpsItemKindTypeParameter = {fg = C.fg, }, 28 | } 29 | 30 | return Gps -------------------------------------------------------------------------------- /lua/ferrum/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/ferrum/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultInfo = {fg = C.info_yellow, }, 6 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 7 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 8 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 9 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 10 | LspDiagnosticsVirtualTextInfo = {fg = C.info_yellow, }, 11 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 12 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 13 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 14 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 15 | LspDiagnosticsFloatingInfo = {fg = C.info_yellow, }, 16 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 17 | DiagnosticSignError = {fg = C.error_red, }, 18 | DiagnosticSignWarning = {fg = C.warning_orange, }, 19 | DiagnosticSignInformation = {fg = C.info_yellow, }, 20 | DiagnosticSignInfo = {fg = C.info_yellow, }, 21 | DiagnosticSignHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsSignError = {fg = C.error_red, }, 23 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 24 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 25 | LspDiagnosticsSignInfo = {fg = C.info_yellow, }, 26 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 27 | LspDiagnosticsError = {fg = C.error_red, }, 28 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 29 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 30 | LspDiagnosticsInfo = {fg = C.info_yellow, }, 31 | LspDiagnosticsHint = {fg = C.hint_blue, }, 32 | LspDiagnosticsUnderlineError = {style = "underline", }, 33 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 34 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 35 | LspDiagnosticsUnderlineInfo = {style = "underline", }, 36 | LspDiagnosticsUnderlineHint = {style = "underline", }, 37 | LspReferenceRead = {bg = "#35373b", }, 38 | LspReferenceText = {bg = "#35373b", }, 39 | LspReferenceWrite = {bg = "#35373b", }, 40 | LspCodeLens = {fg = C.context, style = "italic", }, 41 | LspCodeLensSeparator = {fg = C.context, style = "italic", }, 42 | } 43 | 44 | return LSP -------------------------------------------------------------------------------- /lua/ferrum/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/ferrum/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/ferrum/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#2A2D2E", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/ferrum/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/ferrum/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/ferrum/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.alt_bg, bg = C.gray, }, 3 | StatusLineNC = {fg = C.alt_bg, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.alt_bg, }, 5 | StatusLineTerm = {fg = C.alt_bg, }, 6 | StatusLineTermNC = {fg = C.alt_bg, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/ferrum/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/ferrum/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/ferrum/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.green, }, 3 | TSAnnotation = {fg = C.yellow, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.blue, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.blue, }, 13 | TSKeywordFunction = {fg = C.blue, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.purple, }, 17 | TSConstant = {fg = C.vivid_blue, }, 18 | TSConstBuiltin = {fg = C.vivid_blue, }, 19 | TSFloat = {fg = C.light_green, }, 20 | TSNumber = {fg = C.light_green, }, 21 | TSBoolean = {fg = C.blue, }, 22 | TSCharacter = {fg = C.orange, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.yellow, }, 25 | TSFuncBuiltin = {fg = C.yellow, }, 26 | TSMethod = {fg = C.yellow, }, 27 | TSConstMacro = {fg = C.cyan, }, 28 | TSFuncMacro = {fg = C.yellow, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.cyan, }, 31 | TSProperty = {fg = C.light_blue, }, 32 | TSOperator = {fg = C.fg, }, 33 | TSField = {fg = C.light_blue, }, 34 | TSParameter = {fg = C.light_blue, }, 35 | TSParameterReference = {fg = C.light_blue, }, 36 | TSSymbol = {fg = C.light_blue, }, 37 | TSText = {fg = C.fg, }, 38 | TSPunctDelimiter = {fg = C.fg, }, 39 | TSTagDelimiter = {fg = C.gray, }, 40 | TSTagAttribute = {fg = C.light_blue, }, 41 | TSPunctBracket = {fg = C.fg, }, 42 | TSPunctSpecial = {fg = C.blue, }, 43 | TSString = {fg = C.orange, }, 44 | TSStringRegex = {fg = C.orange, }, 45 | TSStringEscape = {fg = C.yellow_orange, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.blue, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/ferrum/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/ferrum/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/ferrum/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "ferrum" 8 | 9 | local util = require("ferrum.util") 10 | Config = require("ferrum.config") 11 | C = require("ferrum.palette") 12 | local highlights = require("ferrum.highlights") 13 | local Treesitter = require("ferrum.Treesitter") 14 | local markdown = require("ferrum.markdown") 15 | local Whichkey = require("ferrum.Whichkey") 16 | local Git = require("ferrum.Git") 17 | local LSP = require("ferrum.LSP") 18 | local Quickscope = require("ferrum.Quickscope") 19 | local Telescope = require("ferrum.Telescope") 20 | local NvimTree = require("ferrum.NvimTree") 21 | local Lir = require("ferrum.Lir") 22 | local Buffer = require("ferrum.Buffer") 23 | local StatusLine = require("ferrum.StatusLine") 24 | local IndentBlankline = require("ferrum.IndentBlankline") 25 | local Dashboard = require("ferrum.Dashboard") 26 | local DiffView = require("ferrum.DiffView") 27 | local Bookmarks = require("ferrum.Bookmarks") 28 | local Bqf = require("ferrum.Bqf") 29 | local Cmp = require("ferrum.Cmp") 30 | local Gps = require("ferrum.Gps") 31 | local Packer = require("ferrum.Packer") 32 | local SymbolOutline = require("ferrum.SymbolOutline") 33 | local Notify = require("ferrum.Notify") 34 | local Misc = require("ferrum.Misc") 35 | local Crates = require("ferrum.Crates") 36 | 37 | 38 | local skeletons = { 39 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Gps, Packer, SymbolOutline, Notify, Misc, Crates 40 | } 41 | 42 | for _, skeleton in ipairs(skeletons) do 43 | util.initialise(skeleton) 44 | end -------------------------------------------------------------------------------- /lua/ferrum/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.vivid_blue, }, 7 | markdownH2 = {fg = C.vivid_blue, }, 8 | markdownH3 = {fg = C.vivid_blue, }, 9 | markdownH4 = {fg = C.vivid_blue, }, 10 | markdownH5 = {fg = C.vivid_blue, }, 11 | markdownH6 = {fg = C.vivid_blue, }, 12 | markdownHeadingDelimiter = {fg = C.vivid_blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow_orange, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow_orange, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/ferrum/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#c3c6c4", 3 | bg = "#1D1F21", 4 | alt_bg = "#252525", 5 | dark = "#222222", 6 | accent = "#BBBBBB", 7 | popup_back = "#2D2D30", 8 | search_orange = "#613214", 9 | search_blue = "#083C5A", 10 | white = "#D8DEE9", 11 | gray = "#808080", 12 | dark_gray = "#3e3e3e", 13 | context = "#606060", 14 | light_gray = "#cccccc", 15 | tree_gray = "#252526", 16 | blue = "#81a2be", 17 | vivid_blue = "#D16969", 18 | dark_blue = "#223E55", 19 | folder_blue = "#42A5F5", 20 | light_blue = "#c3c6c4", 21 | green = "#969896", 22 | cyan = "#de935f", 23 | light_green = "#B5CEA8", 24 | red = "#F44747", 25 | orange = "#b5bd68", 26 | light_red = "#D16969", 27 | yellow = "#8abeb7", 28 | yellow_orange = "#D7BA7D", 29 | purple = "#b294bb", 30 | magenta = "#D16D9E", 31 | cursor_fg = "#515052", 32 | cursor_bg = "#AEAFAD", 33 | sign_add = "#587c0c", 34 | sign_change = "#0c7d9d", 35 | sign_delete = "#94151b", 36 | tree_sign_add = "#73C991", 37 | tree_sign_change = "#CCA700", 38 | error_red = "#F44747", 39 | warning_orange = "#ff8800", 40 | info_yellow = "#FFCC66", 41 | hint_blue = "#4FC1FF", 42 | success_green = "#14C50B", 43 | purple_test = "#ff007c", 44 | cyan_test = "#00dfff", 45 | ui_blue = "#264F78", 46 | ui2_blue = "#042E48", 47 | ui3_blue = "#0195F7", 48 | ui4_blue = "#75BEFF", 49 | ui_orange = "#E8AB53", 50 | ui_purple = "#B180D7", 51 | } 52 | 53 | return colors -------------------------------------------------------------------------------- /lua/ferrum/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/lunar/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow_orange, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/lunar/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/lunar/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/lunar/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.ui_purple, }, 6 | CmpItemKindMethod = {fg = C.ui_purple, }, 7 | CmpItemKindConstructor = {fg = C.ui_orange, }, 8 | CmpItemKindClass = {fg = C.ui_orange, }, 9 | CmpItemKindEnum = {fg = C.ui_orange, }, 10 | CmpItemKindEvent = {fg = C.ui_purple, }, 11 | CmpItemKindInterface = {fg = C.light_blue, }, 12 | CmpItemKindStruct = {fg = C.ui4_blue, }, 13 | CmpItemKindVariable = {fg = C.ui4_blue, }, 14 | CmpItemKindField = {fg = C.ui4_blue, }, 15 | CmpItemKindProperty = {fg = C.ui4_blue, }, 16 | CmpItemKindEnumMember = {fg = C.light_blue, }, 17 | CmpItemKindConstant = {fg = C.ui4_blue, }, 18 | CmpItemKindKeyword = {fg = C.fg, }, 19 | CmpItemKindModule = {fg = C.fg, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.fg, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.fg, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/lunar/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/lunar/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/lunar/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/lunar/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/lunar/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultInfo = {fg = C.info_yellow, }, 6 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 7 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 8 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 9 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 10 | LspDiagnosticsVirtualTextInfo = {fg = C.info_yellow, }, 11 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 12 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 13 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 14 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 15 | LspDiagnosticsFloatingInfo = {fg = C.info_yellow, }, 16 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 17 | DiagnosticSignError = {fg = C.error_red, }, 18 | DiagnosticSignWarning = {fg = C.warning_orange, }, 19 | DiagnosticSignInformation = {fg = C.info_yellow, }, 20 | DiagnosticSignInfo = {fg = C.info_yellow, }, 21 | DiagnosticSignHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsSignError = {fg = C.error_red, }, 23 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 24 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 25 | LspDiagnosticsSignInfo = {fg = C.info_yellow, }, 26 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 27 | LspDiagnosticsError = {fg = C.error_red, }, 28 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 29 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 30 | LspDiagnosticsInfo = {fg = C.info_yellow, }, 31 | LspDiagnosticsHint = {fg = C.hint_blue, }, 32 | LspDiagnosticsUnderlineError = {style = "underline", }, 33 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 34 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 35 | LspDiagnosticsUnderlineInfo = {style = "underline", }, 36 | LspDiagnosticsUnderlineHint = {style = "underline", }, 37 | LspReferenceRead = {bg = "#36383F", }, 38 | LspReferenceText = {bg = "#36383F", }, 39 | LspReferenceWrite = {bg = "#36383f", }, 40 | } 41 | 42 | return LSP -------------------------------------------------------------------------------- /lua/lunar/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/lunar/Misc.lua: -------------------------------------------------------------------------------- 1 | local Misc = { 2 | diffAdded = {fg = C.sign_add, }, 3 | diffRemoved = {fg = C.sign_delete, }, 4 | diffFileId = {fg = C.blue, style = "bold,reverse", }, 5 | diffFile = {fg = C.alt_bg, }, 6 | diffNewFile = {fg = C.green, }, 7 | diffOldFile = {fg = C.red, }, 8 | debugPc = {bg = C.cyan, }, 9 | debugBreakpoint = {fg = C.red, style = "reverse", }, 10 | CodiVirtualText = {fg = C.hint_blue, }, 11 | SniprunVirtualTextOk = {fg = C.hint_blue, }, 12 | SniprunFloatingWinOk = {fg = C.hint_blue, }, 13 | SniprunVirtualTextErr = {fg = C.error_red, }, 14 | SniprunFloatingWinErr = {fg = C.error_red, }, 15 | CompeDocumentation = {bg = C.alt_bg, }, 16 | xmlTag = {fg = C.cyan, }, 17 | xmlTagName = {fg = C.cyan, }, 18 | xmlEndTag = {fg = C.cyan, }, 19 | yamlPlainScalar = {fg = C.orange, }, 20 | yamlTSField = {fg = C.blue, }, 21 | luaFunc = {fg = C.yellow, }, 22 | luaFunction = {fg = C.blue, }, 23 | htmlH1 = {fg = C.fg, }, 24 | htmlH2 = {fg = C.fg, }, 25 | htmlH3 = {fg = C.fg, }, 26 | htmlH4 = {fg = C.fg, }, 27 | htmlH5 = {fg = C.fg, }, 28 | htmlH6 = {fg = C.fg, }, 29 | htmlHead = {fg = C.fg, }, 30 | htmlTitle = {fg = C.fg, }, 31 | htmlArg = {fg = C.light_blue, }, 32 | htmlTag = {fg = C.blue, }, 33 | htmlTagN = {fg = C.blue, }, 34 | htmlTagName = {fg = C.blue, }, 35 | htmlComment = {fg = C.green, }, 36 | htmlLink = {fg = C.orange, style = "underline", }, 37 | cssBraces = {fg = C.fg, }, 38 | cssInclude = {fg = C.purple, }, 39 | cssTagName = {fg = C.yellow_orange, }, 40 | cssClassName = {fg = C.yellow_orange, }, 41 | cssPseudoClass = {fg = C.yellow_orange, }, 42 | cssPseudoClassId = {fg = C.yellow_orange, }, 43 | cssPseudoClassLang = {fg = C.yellow_orange, }, 44 | cssIdentifier = {fg = C.yellow_orange, }, 45 | cssProp = {fg = C.light_blue, }, 46 | cssDefinition = {fg = C.light_blue, }, 47 | cssAttr = {fg = C.orange, }, 48 | cssAttrRegion = {fg = C.orange, }, 49 | cssColor = {fg = C.orange, }, 50 | cssFunction = {fg = C.purple, }, 51 | cssFunctionName = {fg = C.yellow, }, 52 | cssVendor = {fg = C.orange, }, 53 | cssValueNumber = {fg = C.light_green, }, 54 | cssValueLength = {fg = C.light_green, }, 55 | cssUnitDecorators = {fg = C.light_green, }, 56 | cssStyle = {fg = C.light_blue, }, 57 | cssImportant = {fg = C.blue, }, 58 | } 59 | 60 | return Misc -------------------------------------------------------------------------------- /lua/lunar/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/lunar/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#2A2D2E", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/lunar/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/lunar/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/lunar/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.alt_bg, bg = C.gray, }, 3 | StatusLineNC = {fg = C.alt_bg, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.alt_bg, }, 5 | StatusLineTerm = {fg = C.alt_bg, }, 6 | StatusLineTermNC = {fg = C.alt_bg, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/lunar/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/lunar/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/lunar/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.green, }, 3 | TSAnnotation = {fg = C.yellow, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.blue, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.blue, }, 13 | TSKeywordFunction = {fg = C.blue, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.purple, }, 17 | TSConstant = {fg = C.vivid_blue, }, 18 | TSConstBuiltin = {fg = C.vivid_blue, }, 19 | TSFloat = {fg = C.light_green, }, 20 | TSNumber = {fg = C.light_green, }, 21 | TSBoolean = {fg = C.blue, }, 22 | TSCharacter = {fg = C.orange, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.yellow, }, 25 | TSFuncBuiltin = {fg = C.yellow, }, 26 | TSMethod = {fg = C.yellow, }, 27 | TSConstMacro = {fg = C.cyan, }, 28 | TSFuncMacro = {fg = C.yellow, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.cyan, }, 31 | TSProperty = {fg = C.light_blue, }, 32 | TSOperator = {fg = C.fg, }, 33 | TSField = {fg = C.light_blue, }, 34 | TSParameter = {fg = C.light_blue, }, 35 | TSParameterReference = {fg = C.light_blue, }, 36 | TSSymbol = {fg = C.light_blue, }, 37 | TSText = {fg = C.fg, }, 38 | TSPunctDelimiter = {fg = C.fg, }, 39 | TSTagDelimiter = {fg = C.gray, }, 40 | TSTagAttribute = {fg = C.light_blue, }, 41 | TSPunctBracket = {fg = C.fg, }, 42 | TSPunctSpecial = {fg = C.blue, }, 43 | TSString = {fg = C.orange, }, 44 | TSStringRegex = {fg = C.orange, }, 45 | TSStringEscape = {fg = C.yellow_orange, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.blue, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/lunar/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/lunar/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/lunar/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "lunar" 8 | 9 | local util = require("lunar.util") 10 | Config = require("lunar.config") 11 | C = require("lunar.palette") 12 | local highlights = require("lunar.highlights") 13 | local Treesitter = require("lunar.Treesitter") 14 | local markdown = require("lunar.markdown") 15 | local Whichkey = require("lunar.Whichkey") 16 | local Git = require("lunar.Git") 17 | local LSP = require("lunar.LSP") 18 | local Quickscope = require("lunar.Quickscope") 19 | local Telescope = require("lunar.Telescope") 20 | local NvimTree = require("lunar.NvimTree") 21 | local Lir = require("lunar.Lir") 22 | local Buffer = require("lunar.Buffer") 23 | local StatusLine = require("lunar.StatusLine") 24 | local IndentBlankline = require("lunar.IndentBlankline") 25 | local Dashboard = require("lunar.Dashboard") 26 | local DiffView = require("lunar.DiffView") 27 | local Bookmarks = require("lunar.Bookmarks") 28 | local Bqf = require("lunar.Bqf") 29 | local Cmp = require("lunar.Cmp") 30 | local Packer = require("lunar.Packer") 31 | local SymbolOutline = require("lunar.SymbolOutline") 32 | local Notify = require("lunar.Notify") 33 | local Misc = require("lunar.Misc") 34 | 35 | 36 | local skeletons = { 37 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Packer, SymbolOutline, Notify, Misc 38 | } 39 | 40 | for _, skeleton in ipairs(skeletons) do 41 | util.initialise(skeleton) 42 | end -------------------------------------------------------------------------------- /lua/lunar/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.vivid_blue, }, 7 | markdownH2 = {fg = C.vivid_blue, }, 8 | markdownH3 = {fg = C.vivid_blue, }, 9 | markdownH4 = {fg = C.vivid_blue, }, 10 | markdownH5 = {fg = C.vivid_blue, }, 11 | markdownH6 = {fg = C.vivid_blue, }, 12 | markdownHeadingDelimiter = {fg = C.vivid_blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow_orange, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow_orange, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/lunar/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#D4D4D4", 3 | bg = "#121C27", 4 | alt_bg = "#2D333C", 5 | dark = "#2F333F", 6 | accent = "#989EAE", 7 | popup_back = "#2D2D30", 8 | search_orange = "#613214", 9 | search_blue = "#5e81ac", 10 | white = "#D8DEE9", 11 | gray = "#474E5E", 12 | dark_gray = "#3e3e3e", 13 | context = "#606060", 14 | light_gray = "#cccccc", 15 | tree_gray = "#2D333C", 16 | blue = "#7A99B6", 17 | vivid_blue = "#8BB5E4", 18 | dark_blue = "#223E55", 19 | folder_blue = "#8BB5E4", 20 | light_blue = "#F8F4F9", 21 | green = "#98B285", 22 | cyan = "#8AD2D7", 23 | light_green = "#C77EB5", 24 | red = "#B45C65", 25 | orange = "#C77EB5", 26 | light_red = "#B45C65", 27 | yellow = "#E6C98E", 28 | yellow_orange = "#D7BA7D", 29 | purple = "#B45C65", 30 | magenta = "#B45C65", 31 | cursor_fg = "#515052", 32 | cursor_bg = "#AEAFAD", 33 | sign_add = "#587c0c", 34 | sign_change = "#0c7d9d", 35 | sign_delete = "#94151b", 36 | tree_sign_add = "#73C991", 37 | tree_sign_change = "#CCA700", 38 | error_red = "#F44747", 39 | warning_orange = "#ff8800", 40 | info_yellow = "#FFCC66", 41 | hint_blue = "#4FC1FF", 42 | success_green = "#14C50B", 43 | purple_test = "#ff007c", 44 | cyan_test = "#00dfff", 45 | ui_blue = "#264F78", 46 | ui2_blue = "#042E48", 47 | ui3_blue = "#0195F7", 48 | ui4_blue = "#75BEFF", 49 | ui_orange = "#E8AB53", 50 | ui_purple = "#B180D7", 51 | } 52 | 53 | return colors -------------------------------------------------------------------------------- /lua/lunar/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/onedark/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/onedark/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/onedark/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/onedark/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.blue, }, 6 | CmpItemKindMethod = {fg = C.blue, }, 7 | CmpItemKindConstructor = {fg = C.cyan, }, 8 | CmpItemKindClass = {fg = C.cyan, }, 9 | CmpItemKindEnum = {fg = C.cyan, }, 10 | CmpItemKindEvent = {fg = C.yellow, }, 11 | CmpItemKindInterface = {fg = C.cyan, }, 12 | CmpItemKindStruct = {fg = C.cyan, }, 13 | CmpItemKindVariable = {fg = C.red, }, 14 | CmpItemKindField = {fg = C.red, }, 15 | CmpItemKindProperty = {fg = C.red, }, 16 | CmpItemKindEnumMember = {fg = C.orange, }, 17 | CmpItemKindConstant = {fg = C.orange, }, 18 | CmpItemKindKeyword = {fg = C.purple, }, 19 | CmpItemKindModule = {fg = C.cyan, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.yellow, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.red, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/onedark/Crates.lua: -------------------------------------------------------------------------------- 1 | local Crates = { 2 | CratesNvimLoading = {fg = C.hint_blue, }, 3 | CratesNvimVersion = {fg = C.hint_blue, }, 4 | } 5 | 6 | return Crates -------------------------------------------------------------------------------- /lua/onedark/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/onedark/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/onedark/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/onedark/Gps.lua: -------------------------------------------------------------------------------- 1 | local Gps = { 2 | GpsNormal = {fg = C.gray, bg = "#1d1d1d", }, 3 | GpsItemKindFunction = {fg = C.ui_purple, }, 4 | GpsItemKindMethod = {fg = C.ui_purple, }, 5 | GpsItemKindConstructor = {fg = C.ui_orange, }, 6 | GpsItemKindClass = {fg = C.ui_orange, }, 7 | GpsItemKindEnum = {fg = C.ui_orange, }, 8 | GpsItemKindEvent = {fg = C.ui_purple, }, 9 | GpsItemKindInterface = {fg = C.light_blue, }, 10 | GpsItemKindStruct = {fg = C.ui4_blue, }, 11 | GpsItemKindVariable = {fg = C.ui4_blue, }, 12 | GpsItemKindField = {fg = C.ui4_blue, }, 13 | GpsItemKindProperty = {fg = C.ui4_blue, }, 14 | GpsItemKindEnumMember = {fg = C.light_blue, }, 15 | GpsItemKindConstant = {fg = C.ui4_blue, }, 16 | GpsItemKindKeyword = {fg = C.fg, }, 17 | GpsItemKindModule = {fg = C.fg, }, 18 | GpsItemKindValue = {fg = C.fg, }, 19 | GpsItemKindUnit = {fg = C.fg, }, 20 | GpsItemKindText = {fg = C.fg, }, 21 | GpsItemKindSnippet = {fg = C.fg, }, 22 | GpsItemKindFile = {fg = C.fg, }, 23 | GpsItemKindFolder = {fg = C.fg, }, 24 | GpsItemKindColor = {fg = C.fg, }, 25 | GpsItemKindReference = {fg = C.fg, }, 26 | GpsItemKindOperator = {fg = C.fg, }, 27 | GpsItemKindTypeParameter = {fg = C.fg, }, 28 | } 29 | 30 | return Gps -------------------------------------------------------------------------------- /lua/onedark/Hop.lua: -------------------------------------------------------------------------------- 1 | local Hop = { 2 | HopNextKey = {fg = "#4ae0ff", }, 3 | HopNextKey1 = {fg = "#d44EeD", }, 4 | HopNextKey2 = {fg = "#b42EcD", }, 5 | HopUnmatched = {fg = C.gray, }, 6 | HopPreview = {fg = "#c7bA7D", }, 7 | } 8 | 9 | return Hop -------------------------------------------------------------------------------- /lua/onedark/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/onedark/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultInfo = {fg = C.info_yellow, }, 6 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 7 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 8 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 9 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 10 | LspDiagnosticsVirtualTextInfo = {fg = C.info_yellow, }, 11 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 12 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 13 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 14 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 15 | LspDiagnosticsFloatingInfo = {fg = C.info_yellow, }, 16 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 17 | DiagnosticSignError = {fg = C.error_red, }, 18 | DiagnosticSignWarning = {fg = C.warning_orange, }, 19 | DiagnosticSignInformation = {fg = C.info_yellow, }, 20 | DiagnosticSignInfo = {fg = C.info_yellow, }, 21 | DiagnosticSignHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsSignError = {fg = C.error_red, }, 23 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 24 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 25 | LspDiagnosticsSignInfo = {fg = C.info_yellow, }, 26 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 27 | LspDiagnosticsError = {fg = C.error_red, }, 28 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 29 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 30 | LspDiagnosticsInfo = {fg = C.info_yellow, }, 31 | LspDiagnosticsHint = {fg = C.hint_blue, }, 32 | LspDiagnosticsUnderlineError = {style = "underline", }, 33 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 34 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 35 | LspDiagnosticsUnderlineInfo = {style = "underline", }, 36 | LspDiagnosticsUnderlineHint = {style = "underline", }, 37 | LspReferenceRead = {bg = "#2e303b", }, 38 | LspReferenceText = {bg = "#2e303b", }, 39 | LspReferenceWrite = {bg = "#2e303b", }, 40 | LspCodeLens = {fg = C.context, style = "italic", }, 41 | LspCodeLensSeparator = {fg = C.context, style = "italic", }, 42 | } 43 | 44 | return LSP -------------------------------------------------------------------------------- /lua/onedark/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/onedark/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/onedark/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#282b37", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/onedark/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/onedark/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/onedark/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.line, bg = C.gray, }, 3 | StatusLineNC = {fg = C.line, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.line, }, 5 | StatusLineTerm = {fg = C.line, }, 6 | StatusLineTermNC = {fg = C.line, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/onedark/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/onedark/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/onedark/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.blue, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.orange, }, 8 | TSConditional = {fg = C.yellow, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.purple, }, 13 | TSKeywordFunction = {fg = C.purple, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.yellow, }, 17 | TSConstant = {fg = C.orange, }, 18 | TSConstBuiltin = {fg = C.orange, }, 19 | TSFloat = {fg = C.orange, }, 20 | TSNumber = {fg = C.orange, }, 21 | TSBoolean = {fg = C.orange, }, 22 | TSCharacter = {fg = C.green, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.blue, }, 25 | TSFuncBuiltin = {fg = C.blue, }, 26 | TSMethod = {fg = C.blue, }, 27 | TSConstMacro = {fg = C.orange, }, 28 | TSFuncMacro = {fg = C.blue, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.red, }, 31 | TSProperty = {fg = C.red, }, 32 | TSField = {fg = C.fg, }, 33 | TSParameter = {fg = C.red, }, 34 | TSParameterReference = {fg = C.red, }, 35 | TSSymbol = {fg = C.light_blue, }, 36 | TSText = {fg = C.alt_fg, }, 37 | TSOperator = {fg = C.alt_fg, }, 38 | TSPunctDelimiter = {fg = C.alt_fg, }, 39 | TSTagDelimiter = {fg = C.alt_fg, }, 40 | TSTagAttribute = {fg = C.orange, }, 41 | TSPunctBracket = {fg = C.alt_fg, }, 42 | TSPunctSpecial = {fg = C.purple, }, 43 | TSString = {fg = C.green, }, 44 | TSStringRegex = {fg = C.green, }, 45 | TSStringEscape = {fg = C.green, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.purple, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/onedark/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/onedark/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/onedark/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "onedark" 8 | 9 | local util = require("onedark.util") 10 | Config = require("onedark.config") 11 | C = require("onedark.palette") 12 | local highlights = require("onedark.highlights") 13 | local Treesitter = require("onedark.Treesitter") 14 | local markdown = require("onedark.markdown") 15 | local Whichkey = require("onedark.Whichkey") 16 | local Git = require("onedark.Git") 17 | local LSP = require("onedark.LSP") 18 | local Quickscope = require("onedark.Quickscope") 19 | local Telescope = require("onedark.Telescope") 20 | local NvimTree = require("onedark.NvimTree") 21 | local Lir = require("onedark.Lir") 22 | local Buffer = require("onedark.Buffer") 23 | local StatusLine = require("onedark.StatusLine") 24 | local IndentBlankline = require("onedark.IndentBlankline") 25 | local Dashboard = require("onedark.Dashboard") 26 | local DiffView = require("onedark.DiffView") 27 | local Bookmarks = require("onedark.Bookmarks") 28 | local Bqf = require("onedark.Bqf") 29 | local Cmp = require("onedark.Cmp") 30 | local Gps = require("onedark.Gps") 31 | local Packer = require("onedark.Packer") 32 | local SymbolOutline = require("onedark.SymbolOutline") 33 | local Notify = require("onedark.Notify") 34 | local Hop = require("onedark.Hop") 35 | local Misc = require("onedark.Misc") 36 | local Crates = require("onedark.Crates") 37 | 38 | 39 | local skeletons = { 40 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Gps, Packer, SymbolOutline, Notify, Hop, Misc, Crates 41 | } 42 | 43 | for _, skeleton in ipairs(skeletons) do 44 | util.initialise(skeleton) 45 | end -------------------------------------------------------------------------------- /lua/onedark/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.blue, }, 7 | markdownH2 = {fg = C.blue, }, 8 | markdownH3 = {fg = C.blue, }, 9 | markdownH4 = {fg = C.blue, }, 10 | markdownH5 = {fg = C.blue, }, 11 | markdownH6 = {fg = C.blue, }, 12 | markdownHeadingDelimiter = {fg = C.blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/onedark/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#abb2bf", 3 | bg = "#1F2227", 4 | alt_fg = "#8b92a8", 5 | alt_bg = "#262932", 6 | dark = "#262932", 7 | accent = "#545862", 8 | popup_back = "#1e222a", 9 | search_orange = "#613214", 10 | line = "#282C34", 11 | search_blue = "#083C5A", 12 | white = "#abb2bf", 13 | gray = "#545862", 14 | dark_gray = "#3e4451", 15 | context = "#545862", 16 | light_gray = "#c8ccd4", 17 | tree_gray = "#262932", 18 | blue = "#61afef", 19 | vivid_blue = "#4FC1FF", 20 | dark_blue = "#223E55", 21 | folder_blue = "#42A5F5", 22 | light_blue = "#abb2bf", 23 | green = "#98c379", 24 | cyan = "#56b6c2", 25 | light_green = "#d19a66", 26 | red = "#e06c75", 27 | orange = "#d19a66", 28 | light_red = "#e06c75", 29 | yellow = "#e5c07b", 30 | purple = "#c678dd", 31 | magenta = "#D16D9E", 32 | cursor_fg = "#515052", 33 | cursor_bg = "#AEAFAD", 34 | sign_add = "#587c0c", 35 | sign_change = "#0c7d9d", 36 | sign_delete = "#94151b", 37 | tree_sign_add = "#73C991", 38 | tree_sign_change = "#CCA700", 39 | error_red = "#F44747", 40 | warning_orange = "#ff8800", 41 | info_yellow = "#FFCC66", 42 | hint_blue = "#4FC1FF", 43 | success_green = "#14C50B", 44 | purple_test = "#ff007c", 45 | cyan_test = "#00dfff", 46 | ui_blue = "#264F78", 47 | ui2_blue = "#042E48", 48 | ui3_blue = "#0195F7", 49 | ui4_blue = "#75BEFF", 50 | ui_orange = "#E8AB53", 51 | ui_purple = "#B180D7", 52 | } 53 | 54 | return colors -------------------------------------------------------------------------------- /lua/onedark/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/onedarker/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/onedarker/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/onedarker/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/onedarker/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.blue, }, 6 | CmpItemKindMethod = {fg = C.blue, }, 7 | CmpItemKindConstructor = {fg = C.cyan, }, 8 | CmpItemKindClass = {fg = C.cyan, }, 9 | CmpItemKindEnum = {fg = C.cyan, }, 10 | CmpItemKindEvent = {fg = C.yellow, }, 11 | CmpItemKindInterface = {fg = C.cyan, }, 12 | CmpItemKindStruct = {fg = C.cyan, }, 13 | CmpItemKindVariable = {fg = C.red, }, 14 | CmpItemKindField = {fg = C.red, }, 15 | CmpItemKindProperty = {fg = C.red, }, 16 | CmpItemKindEnumMember = {fg = C.orange, }, 17 | CmpItemKindConstant = {fg = C.orange, }, 18 | CmpItemKindKeyword = {fg = C.purple, }, 19 | CmpItemKindModule = {fg = C.cyan, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.yellow, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.red, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/onedarker/Crates.lua: -------------------------------------------------------------------------------- 1 | local Crates = { 2 | CratesNvimLoading = {fg = C.hint_blue, }, 3 | CratesNvimVersion = {fg = C.hint_blue, }, 4 | } 5 | 6 | return Crates -------------------------------------------------------------------------------- /lua/onedarker/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/onedarker/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/onedarker/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/onedarker/Gps.lua: -------------------------------------------------------------------------------- 1 | local Gps = { 2 | GpsNormal = {fg = C.gray, bg = "#1d1d1d", }, 3 | GpsItemKindFunction = {fg = C.ui_purple, }, 4 | GpsItemKindMethod = {fg = C.ui_purple, }, 5 | GpsItemKindConstructor = {fg = C.ui_orange, }, 6 | GpsItemKindClass = {fg = C.ui_orange, }, 7 | GpsItemKindEnum = {fg = C.ui_orange, }, 8 | GpsItemKindEvent = {fg = C.ui_purple, }, 9 | GpsItemKindInterface = {fg = C.light_blue, }, 10 | GpsItemKindStruct = {fg = C.ui4_blue, }, 11 | GpsItemKindVariable = {fg = C.ui4_blue, }, 12 | GpsItemKindField = {fg = C.ui4_blue, }, 13 | GpsItemKindProperty = {fg = C.ui4_blue, }, 14 | GpsItemKindEnumMember = {fg = C.light_blue, }, 15 | GpsItemKindConstant = {fg = C.ui4_blue, }, 16 | GpsItemKindKeyword = {fg = C.fg, }, 17 | GpsItemKindModule = {fg = C.fg, }, 18 | GpsItemKindValue = {fg = C.fg, }, 19 | GpsItemKindUnit = {fg = C.fg, }, 20 | GpsItemKindText = {fg = C.fg, }, 21 | GpsItemKindSnippet = {fg = C.fg, }, 22 | GpsItemKindFile = {fg = C.fg, }, 23 | GpsItemKindFolder = {fg = C.fg, }, 24 | GpsItemKindColor = {fg = C.fg, }, 25 | GpsItemKindReference = {fg = C.fg, }, 26 | GpsItemKindOperator = {fg = C.fg, }, 27 | GpsItemKindTypeParameter = {fg = C.fg, }, 28 | } 29 | 30 | return Gps -------------------------------------------------------------------------------- /lua/onedarker/Hop.lua: -------------------------------------------------------------------------------- 1 | local Hop = { 2 | HopNextKey = {fg = "#4ae0ff", }, 3 | HopNextKey1 = {fg = "#d44EeD", }, 4 | HopNextKey2 = {fg = "#b42EcD", }, 5 | HopUnmatched = {fg = C.gray, }, 6 | HopPreview = {fg = "#c7bA7D", }, 7 | } 8 | 9 | return Hop -------------------------------------------------------------------------------- /lua/onedarker/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/onedarker/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultInfo = {fg = C.info_yellow, }, 6 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 7 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 8 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 9 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 10 | LspDiagnosticsVirtualTextInfo = {fg = C.info_yellow, }, 11 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 12 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 13 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 14 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 15 | LspDiagnosticsFloatingInfo = {fg = C.info_yellow, }, 16 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 17 | DiagnosticSignError = {fg = C.error_red, }, 18 | DiagnosticSignWarning = {fg = C.warning_orange, }, 19 | DiagnosticSignInformation = {fg = C.info_yellow, }, 20 | DiagnosticSignInfo = {fg = C.info_yellow, }, 21 | DiagnosticSignHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsSignError = {fg = C.error_red, }, 23 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 24 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 25 | LspDiagnosticsSignInfo = {fg = C.info_yellow, }, 26 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 27 | LspDiagnosticsError = {fg = C.error_red, }, 28 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 29 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 30 | LspDiagnosticsInfo = {fg = C.info_yellow, }, 31 | LspDiagnosticsHint = {fg = C.hint_blue, }, 32 | LspDiagnosticsUnderlineError = {style = "underline", }, 33 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 34 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 35 | LspDiagnosticsUnderlineInfo = {style = "underline", }, 36 | LspDiagnosticsUnderlineHint = {style = "underline", }, 37 | LspReferenceRead = {bg = "#2e303b", }, 38 | LspReferenceText = {bg = "#2e303b", }, 39 | LspReferenceWrite = {bg = "#2e303b", }, 40 | LspCodeLens = {fg = C.context, style = "italic", }, 41 | LspCodeLensSeparator = {fg = C.context, style = "italic", }, 42 | } 43 | 44 | return LSP -------------------------------------------------------------------------------- /lua/onedarker/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/onedarker/Navic.lua: -------------------------------------------------------------------------------- 1 | local Navic = { 2 | NavicIconsFile = {fg = C.fg, }, 3 | NavicIconsModule = {fg = C.cyan, }, 4 | NavicIconsNamespace = {fg = C.fg, }, 5 | NavicIconsPackage = {fg = C.fg, }, 6 | NavicIconsClass = {fg = C.cyan, }, 7 | NavicIconsMethod = {fg = C.blue, }, 8 | NavicIconsProperty = {fg = C.red, }, 9 | NavicIconsField = {fg = C.red, }, 10 | NavicIconsConstructor = {fg = C.cyan, }, 11 | NavicIconsEnum = {fg = C.cyan, }, 12 | NavicIconsInterface = {fg = C.cyan, }, 13 | NavicIconsFunction = {fg = C.blue, }, 14 | NavicIconsVariable = {fg = C.red, }, 15 | NavicIconsConstant = {fg = C.orange, }, 16 | NavicIconsString = {fg = C.green, }, 17 | NavicIconsNumber = {fg = C.orange, }, 18 | NavicIconsBoolean = {fg = C.orange, }, 19 | NavicIconsArray = {fg = C.cyan, }, 20 | NavicIconsObject = {fg = C.cyan, }, 21 | NavicIconsKey = {fg = C.purple, }, 22 | NavicIconsKeyword = {fg = C.purple, }, 23 | NavicIconsNull = {fg = C.orange, }, 24 | NavicIconsEnumMember = {fg = C.orange, }, 25 | NavicIconsStruct = {fg = C.cyan, }, 26 | NavicIconsEvent = {fg = C.yellow, }, 27 | NavicIconsOperator = {fg = C.fg, }, 28 | NavicIconsTypeParameter = {fg = C.red, }, 29 | NavicText = {fg = C.context, }, 30 | NavicSeparator = {fg = C.context, }, 31 | } 32 | 33 | return Navic -------------------------------------------------------------------------------- /lua/onedarker/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/onedarker/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#282b37", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/onedarker/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/onedarker/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/onedarker/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.line, bg = C.gray, }, 3 | StatusLineNC = {fg = C.line, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.line, }, 5 | StatusLineTerm = {fg = C.line, }, 6 | StatusLineTermNC = {fg = C.line, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/onedarker/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/onedarker/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/onedarker/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.blue, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.orange, }, 8 | TSConditional = {fg = C.yellow, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.purple, }, 13 | TSKeywordFunction = {fg = C.purple, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.yellow, }, 17 | TSConstant = {fg = C.orange, }, 18 | TSConstBuiltin = {fg = C.orange, }, 19 | TSFloat = {fg = C.orange, }, 20 | TSNumber = {fg = C.orange, }, 21 | TSBoolean = {fg = C.orange, }, 22 | TSCharacter = {fg = C.green, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.blue, }, 25 | TSFuncBuiltin = {fg = C.blue, }, 26 | TSMethod = {fg = C.blue, }, 27 | TSConstMacro = {fg = C.orange, }, 28 | TSFuncMacro = {fg = C.blue, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.red, }, 31 | TSProperty = {fg = C.red, }, 32 | TSField = {fg = C.fg, }, 33 | TSParameter = {fg = C.red, }, 34 | TSParameterReference = {fg = C.red, }, 35 | TSSymbol = {fg = C.light_blue, }, 36 | TSText = {fg = C.alt_fg, }, 37 | TSOperator = {fg = C.alt_fg, }, 38 | TSPunctDelimiter = {fg = C.alt_fg, }, 39 | TSTagDelimiter = {fg = C.alt_fg, }, 40 | TSTagAttribute = {fg = C.orange, }, 41 | TSPunctBracket = {fg = C.alt_fg, }, 42 | TSPunctSpecial = {fg = C.purple, }, 43 | TSString = {fg = C.green, }, 44 | TSStringRegex = {fg = C.green, }, 45 | TSStringEscape = {fg = C.green, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.purple, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/onedarker/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/onedarker/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/onedarker/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "onedarker" 8 | 9 | local util = require("onedarker.util") 10 | Config = require("onedarker.config") 11 | C = require("onedarker.palette") 12 | local highlights = require("onedarker.highlights") 13 | local Treesitter = require("onedarker.Treesitter") 14 | local markdown = require("onedarker.markdown") 15 | local Whichkey = require("onedarker.Whichkey") 16 | local Git = require("onedarker.Git") 17 | local LSP = require("onedarker.LSP") 18 | local Quickscope = require("onedarker.Quickscope") 19 | local Telescope = require("onedarker.Telescope") 20 | local NvimTree = require("onedarker.NvimTree") 21 | local Lir = require("onedarker.Lir") 22 | local Buffer = require("onedarker.Buffer") 23 | local StatusLine = require("onedarker.StatusLine") 24 | local IndentBlankline = require("onedarker.IndentBlankline") 25 | local Dashboard = require("onedarker.Dashboard") 26 | local DiffView = require("onedarker.DiffView") 27 | local Bookmarks = require("onedarker.Bookmarks") 28 | local Bqf = require("onedarker.Bqf") 29 | local Cmp = require("onedarker.Cmp") 30 | local Navic = require("onedarker.Navic") 31 | local Gps = require("onedarker.Gps") 32 | local Packer = require("onedarker.Packer") 33 | local SymbolOutline = require("onedarker.SymbolOutline") 34 | local Notify = require("onedarker.Notify") 35 | local Hop = require("onedarker.Hop") 36 | local Misc = require("onedarker.Misc") 37 | local Crates = require("onedarker.Crates") 38 | 39 | 40 | local skeletons = { 41 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Navic, Gps, Packer, SymbolOutline, Notify, Hop, Misc, Crates 42 | } 43 | 44 | for _, skeleton in ipairs(skeletons) do 45 | util.initialise(skeleton) 46 | end -------------------------------------------------------------------------------- /lua/onedarker/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.blue, }, 7 | markdownH2 = {fg = C.blue, }, 8 | markdownH3 = {fg = C.blue, }, 9 | markdownH4 = {fg = C.blue, }, 10 | markdownH5 = {fg = C.blue, }, 11 | markdownH6 = {fg = C.blue, }, 12 | markdownHeadingDelimiter = {fg = C.blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/onedarker/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#abb2bf", 3 | bg = "#1e222a", 4 | alt_fg = "#8b92a8", 5 | alt_bg = "#1b1f27", 6 | dark = "#1b1f27", 7 | accent = "#545862", 8 | popup_back = "#1e222a", 9 | search_orange = "#613214", 10 | line = "#282C34", 11 | search_blue = "#083C5A", 12 | white = "#abb2bf", 13 | gray = "#545862", 14 | dark_gray = "#3e4451", 15 | context = "#6b737f", 16 | light_gray = "#c8ccd4", 17 | tree_gray = "#1b1f27", 18 | blue = "#519fdf", 19 | vivid_blue = "#4FC1FF", 20 | dark_blue = "#223E55", 21 | folder_blue = "#42A5F5", 22 | light_blue = "#abb2bf", 23 | green = "#7da869", 24 | cyan = "#46a6b2", 25 | light_green = "#c18a56", 26 | red = "#d05c65", 27 | orange = "#c18a56", 28 | light_red = "#d05c65", 29 | yellow = "#d5b06b", 30 | purple = "#b668cd", 31 | magenta = "#D16D9E", 32 | cursor_fg = "#515052", 33 | cursor_bg = "#AEAFAD", 34 | sign_add = "#587c0c", 35 | sign_change = "#0c7d9d", 36 | sign_delete = "#94151b", 37 | tree_sign_add = "#73C991", 38 | tree_sign_change = "#CCA700", 39 | error_red = "#F44747", 40 | warning_orange = "#ff8800", 41 | info_yellow = "#FFCC66", 42 | hint_blue = "#4FC1FF", 43 | success_green = "#14C50B", 44 | purple_test = "#ff007c", 45 | cyan_test = "#00dfff", 46 | ui_blue = "#264F78", 47 | ui2_blue = "#042E48", 48 | ui3_blue = "#0195F7", 49 | ui4_blue = "#75BEFF", 50 | ui_orange = "#E8AB53", 51 | ui_purple = "#B180D7", 52 | } 53 | 54 | return colors -------------------------------------------------------------------------------- /lua/onedarker/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/onedarkest/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/onedarkest/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/onedarkest/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/onedarkest/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.blue, }, 6 | CmpItemKindMethod = {fg = C.blue, }, 7 | CmpItemKindConstructor = {fg = C.cyan, }, 8 | CmpItemKindClass = {fg = C.cyan, }, 9 | CmpItemKindEnum = {fg = C.cyan, }, 10 | CmpItemKindEvent = {fg = C.yellow, }, 11 | CmpItemKindInterface = {fg = C.cyan, }, 12 | CmpItemKindStruct = {fg = C.cyan, }, 13 | CmpItemKindVariable = {fg = C.red, }, 14 | CmpItemKindField = {fg = C.red, }, 15 | CmpItemKindProperty = {fg = C.red, }, 16 | CmpItemKindEnumMember = {fg = C.orange, }, 17 | CmpItemKindConstant = {fg = C.orange, }, 18 | CmpItemKindKeyword = {fg = C.purple, }, 19 | CmpItemKindModule = {fg = C.cyan, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.yellow, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.red, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/onedarkest/Crates.lua: -------------------------------------------------------------------------------- 1 | local Crates = { 2 | CratesNvimLoading = {fg = C.hint_blue, }, 3 | CratesNvimVersion = {fg = C.hint_blue, }, 4 | } 5 | 6 | return Crates -------------------------------------------------------------------------------- /lua/onedarkest/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/onedarkest/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/onedarkest/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/onedarkest/Gps.lua: -------------------------------------------------------------------------------- 1 | local Gps = { 2 | GpsNormal = {fg = C.gray, bg = "#1d1d1d", }, 3 | GpsItemKindFunction = {fg = C.ui_purple, }, 4 | GpsItemKindMethod = {fg = C.ui_purple, }, 5 | GpsItemKindConstructor = {fg = C.ui_orange, }, 6 | GpsItemKindClass = {fg = C.ui_orange, }, 7 | GpsItemKindEnum = {fg = C.ui_orange, }, 8 | GpsItemKindEvent = {fg = C.ui_purple, }, 9 | GpsItemKindInterface = {fg = C.light_blue, }, 10 | GpsItemKindStruct = {fg = C.ui4_blue, }, 11 | GpsItemKindVariable = {fg = C.ui4_blue, }, 12 | GpsItemKindField = {fg = C.ui4_blue, }, 13 | GpsItemKindProperty = {fg = C.ui4_blue, }, 14 | GpsItemKindEnumMember = {fg = C.light_blue, }, 15 | GpsItemKindConstant = {fg = C.ui4_blue, }, 16 | GpsItemKindKeyword = {fg = C.fg, }, 17 | GpsItemKindModule = {fg = C.fg, }, 18 | GpsItemKindValue = {fg = C.fg, }, 19 | GpsItemKindUnit = {fg = C.fg, }, 20 | GpsItemKindText = {fg = C.fg, }, 21 | GpsItemKindSnippet = {fg = C.fg, }, 22 | GpsItemKindFile = {fg = C.fg, }, 23 | GpsItemKindFolder = {fg = C.fg, }, 24 | GpsItemKindColor = {fg = C.fg, }, 25 | GpsItemKindReference = {fg = C.fg, }, 26 | GpsItemKindOperator = {fg = C.fg, }, 27 | GpsItemKindTypeParameter = {fg = C.fg, }, 28 | } 29 | 30 | return Gps -------------------------------------------------------------------------------- /lua/onedarkest/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/onedarkest/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultInfo = {fg = C.info_yellow, }, 6 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 7 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 8 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 9 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 10 | LspDiagnosticsVirtualTextInfo = {fg = C.info_yellow, }, 11 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 12 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 13 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 14 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 15 | LspDiagnosticsFloatingInfo = {fg = C.info_yellow, }, 16 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 17 | DiagnosticSignError = {fg = C.error_red, }, 18 | DiagnosticSignWarning = {fg = C.warning_orange, }, 19 | DiagnosticSignInformation = {fg = C.info_yellow, }, 20 | DiagnosticSignInfo = {fg = C.info_yellow, }, 21 | DiagnosticSignHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsSignError = {fg = C.error_red, }, 23 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 24 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 25 | LspDiagnosticsSignInfo = {fg = C.info_yellow, }, 26 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 27 | LspDiagnosticsError = {fg = C.error_red, }, 28 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 29 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 30 | LspDiagnosticsInfo = {fg = C.info_yellow, }, 31 | LspDiagnosticsHint = {fg = C.hint_blue, }, 32 | LspDiagnosticsUnderlineError = {style = "underline", }, 33 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 34 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 35 | LspDiagnosticsUnderlineInfo = {style = "underline", }, 36 | LspDiagnosticsUnderlineHint = {style = "underline", }, 37 | LspReferenceRead = {bg = "#2e303b", }, 38 | LspReferenceText = {bg = "#2e303b", }, 39 | LspReferenceWrite = {bg = "#2e303b", }, 40 | LspCodeLens = {fg = C.context, style = "italic", }, 41 | LspCodeLensSeparator = {fg = C.context, style = "italic", }, 42 | } 43 | 44 | return LSP -------------------------------------------------------------------------------- /lua/onedarkest/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/onedarkest/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/onedarkest/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#282b37", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/onedarkest/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/onedarkest/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/onedarkest/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.line, bg = C.gray, }, 3 | StatusLineNC = {fg = C.line, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.line, }, 5 | StatusLineTerm = {fg = C.line, }, 6 | StatusLineTermNC = {fg = C.line, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/onedarkest/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/onedarkest/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/onedarkest/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.blue, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.orange, }, 8 | TSConditional = {fg = C.yellow, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.purple, }, 13 | TSKeywordFunction = {fg = C.purple, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.yellow, }, 17 | TSConstant = {fg = C.orange, }, 18 | TSConstBuiltin = {fg = C.orange, }, 19 | TSFloat = {fg = C.orange, }, 20 | TSNumber = {fg = C.orange, }, 21 | TSBoolean = {fg = C.orange, }, 22 | TSCharacter = {fg = C.green, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.blue, }, 25 | TSFuncBuiltin = {fg = C.blue, }, 26 | TSMethod = {fg = C.blue, }, 27 | TSConstMacro = {fg = C.orange, }, 28 | TSFuncMacro = {fg = C.blue, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.red, }, 31 | TSProperty = {fg = C.red, }, 32 | TSField = {fg = C.fg, }, 33 | TSParameter = {fg = C.red, }, 34 | TSParameterReference = {fg = C.red, }, 35 | TSSymbol = {fg = C.light_blue, }, 36 | TSText = {fg = C.alt_fg, }, 37 | TSOperator = {fg = C.alt_fg, }, 38 | TSPunctDelimiter = {fg = C.alt_fg, }, 39 | TSTagDelimiter = {fg = C.alt_bg, }, 40 | TSTagAttribute = {fg = C.orange, }, 41 | TSPunctBracket = {fg = C.alt_fg, }, 42 | TSPunctSpecial = {fg = C.purple, }, 43 | TSString = {fg = C.green, }, 44 | TSStringRegex = {fg = C.green, }, 45 | TSStringEscape = {fg = C.green, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.purple, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/onedarkest/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/onedarkest/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/onedarkest/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "onedarkest" 8 | 9 | local util = require("onedarkest.util") 10 | Config = require("onedarkest.config") 11 | C = require("onedarkest.palette") 12 | local highlights = require("onedarkest.highlights") 13 | local Treesitter = require("onedarkest.Treesitter") 14 | local markdown = require("onedarkest.markdown") 15 | local Whichkey = require("onedarkest.Whichkey") 16 | local Git = require("onedarkest.Git") 17 | local LSP = require("onedarkest.LSP") 18 | local Quickscope = require("onedarkest.Quickscope") 19 | local Telescope = require("onedarkest.Telescope") 20 | local NvimTree = require("onedarkest.NvimTree") 21 | local Lir = require("onedarkest.Lir") 22 | local Buffer = require("onedarkest.Buffer") 23 | local StatusLine = require("onedarkest.StatusLine") 24 | local IndentBlankline = require("onedarkest.IndentBlankline") 25 | local Dashboard = require("onedarkest.Dashboard") 26 | local DiffView = require("onedarkest.DiffView") 27 | local Bookmarks = require("onedarkest.Bookmarks") 28 | local Bqf = require("onedarkest.Bqf") 29 | local Cmp = require("onedarkest.Cmp") 30 | local Gps = require("onedarkest.Gps") 31 | local Packer = require("onedarkest.Packer") 32 | local SymbolOutline = require("onedarkest.SymbolOutline") 33 | local Notify = require("onedarkest.Notify") 34 | local Misc = require("onedarkest.Misc") 35 | local Crates = require("onedarkest.Crates") 36 | 37 | 38 | local skeletons = { 39 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Gps, Packer, SymbolOutline, Notify, Misc, Crates 40 | } 41 | 42 | for _, skeleton in ipairs(skeletons) do 43 | util.initialise(skeleton) 44 | end -------------------------------------------------------------------------------- /lua/onedarkest/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.blue, }, 7 | markdownH2 = {fg = C.blue, }, 8 | markdownH3 = {fg = C.blue, }, 9 | markdownH4 = {fg = C.blue, }, 10 | markdownH5 = {fg = C.blue, }, 11 | markdownH6 = {fg = C.blue, }, 12 | markdownHeadingDelimiter = {fg = C.blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/onedarkest/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#abb2bf", 3 | bg = "#1e222a", 4 | alt_fg = "#7b8298", 5 | alt_bg = "#1b1f27", 6 | dark = "#1b1f27", 7 | accent = "#545862", 8 | popup_back = "#1e222a", 9 | search_orange = "#613214", 10 | line = "#282C34", 11 | search_blue = "#083C5A", 12 | white = "#9ba2af", 13 | gray = "#545862", 14 | dark_gray = "#3e4451", 15 | context = "#545862", 16 | light_gray = "#c8ccd4", 17 | tree_gray = "#1b1f27", 18 | blue = "#418fcf", 19 | vivid_blue = "#4FC1FF", 20 | dark_blue = "#223E55", 21 | folder_blue = "#3295d5", 22 | light_blue = "#abb2bf", 23 | green = "#78a379", 24 | cyan = "#3696a2", 25 | light_green = "#b17a46", 26 | red = "#c04c55", 27 | orange = "#b17a46", 28 | light_red = "#c04c55", 29 | yellow = "#c5a05b", 30 | purple = "#a658bd", 31 | magenta = "#D16D9E", 32 | cursor_fg = "#515052", 33 | cursor_bg = "#AEAFAD", 34 | sign_add = "#587c0c", 35 | sign_change = "#0c7d9d", 36 | sign_delete = "#94151b", 37 | tree_sign_add = "#73C991", 38 | tree_sign_change = "#CCA700", 39 | error_red = "#F44747", 40 | warning_orange = "#ff8800", 41 | info_yellow = "#FFCC66", 42 | hint_blue = "#4FC1FF", 43 | success_green = "#14C50B", 44 | purple_test = "#ff007c", 45 | cyan_test = "#00dfff", 46 | ui_blue = "#264F78", 47 | ui2_blue = "#042E48", 48 | ui3_blue = "#0195F7", 49 | ui4_blue = "#75BEFF", 50 | ui_orange = "#E8AB53", 51 | ui_purple = "#B180D7", 52 | } 53 | 54 | return colors -------------------------------------------------------------------------------- /lua/onedarkest/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/onenord/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.yellow, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/onenord/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/onenord/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/onenord/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = C.gray, style = "strikethrough", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKindFunction = {fg = C.ui_purple, }, 6 | CmpItemKindMethod = {fg = C.ui_purple, }, 7 | CmpItemKindConstructor = {fg = C.ui_orange, }, 8 | CmpItemKindClass = {fg = C.ui_orange, }, 9 | CmpItemKindEnum = {fg = C.ui_orange, }, 10 | CmpItemKindEvent = {fg = C.ui_purple, }, 11 | CmpItemKindInterface = {fg = C.light_blue, }, 12 | CmpItemKindStruct = {fg = C.ui4_blue, }, 13 | CmpItemKindVariable = {fg = C.ui4_blue, }, 14 | CmpItemKindField = {fg = C.ui4_blue, }, 15 | CmpItemKindProperty = {fg = C.ui4_blue, }, 16 | CmpItemKindEnumMember = {fg = C.light_blue, }, 17 | CmpItemKindConstant = {fg = C.ui4_blue, }, 18 | CmpItemKindKeyword = {fg = C.fg, }, 19 | CmpItemKindModule = {fg = C.fg, }, 20 | CmpItemKindValue = {fg = C.fg, }, 21 | CmpItemKindUnit = {fg = C.fg, }, 22 | CmpItemKindText = {fg = C.fg, }, 23 | CmpItemKindSnippet = {fg = C.fg, }, 24 | CmpItemKindFile = {fg = C.fg, }, 25 | CmpItemKindFolder = {fg = C.fg, }, 26 | CmpItemKindColor = {fg = C.fg, }, 27 | CmpItemKindReference = {fg = C.fg, }, 28 | CmpItemKindOperator = {fg = C.fg, }, 29 | CmpItemKindTypeParameter = {fg = C.fg, }, 30 | } 31 | 32 | return Cmp -------------------------------------------------------------------------------- /lua/onenord/Crates.lua: -------------------------------------------------------------------------------- 1 | local Crates = { 2 | CratesNvimLoading = {fg = C.hint_blue, }, 3 | CratesNvimVersion = {fg = C.hint_blue, }, 4 | } 5 | 6 | return Crates -------------------------------------------------------------------------------- /lua/onenord/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/onenord/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/onenord/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/onenord/Gps.lua: -------------------------------------------------------------------------------- 1 | local Gps = { 2 | GpsNormal = {fg = C.gray, bg = "#1d1d1d", }, 3 | GpsItemKindFunction = {fg = C.ui_purple, }, 4 | GpsItemKindMethod = {fg = C.ui_purple, }, 5 | GpsItemKindConstructor = {fg = C.ui_orange, }, 6 | GpsItemKindClass = {fg = C.ui_orange, }, 7 | GpsItemKindEnum = {fg = C.ui_orange, }, 8 | GpsItemKindEvent = {fg = C.ui_purple, }, 9 | GpsItemKindInterface = {fg = C.light_blue, }, 10 | GpsItemKindStruct = {fg = C.ui4_blue, }, 11 | GpsItemKindVariable = {fg = C.ui4_blue, }, 12 | GpsItemKindField = {fg = C.ui4_blue, }, 13 | GpsItemKindProperty = {fg = C.ui4_blue, }, 14 | GpsItemKindEnumMember = {fg = C.light_blue, }, 15 | GpsItemKindConstant = {fg = C.ui4_blue, }, 16 | GpsItemKindKeyword = {fg = C.fg, }, 17 | GpsItemKindModule = {fg = C.fg, }, 18 | GpsItemKindValue = {fg = C.fg, }, 19 | GpsItemKindUnit = {fg = C.fg, }, 20 | GpsItemKindText = {fg = C.fg, }, 21 | GpsItemKindSnippet = {fg = C.fg, }, 22 | GpsItemKindFile = {fg = C.fg, }, 23 | GpsItemKindFolder = {fg = C.fg, }, 24 | GpsItemKindColor = {fg = C.fg, }, 25 | GpsItemKindReference = {fg = C.fg, }, 26 | GpsItemKindOperator = {fg = C.fg, }, 27 | GpsItemKindTypeParameter = {fg = C.fg, }, 28 | } 29 | 30 | return Gps -------------------------------------------------------------------------------- /lua/onenord/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/onenord/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/onenord/Notify.lua: -------------------------------------------------------------------------------- 1 | local Notify = { 2 | NotifyERRORBorder = {fg = "#8A1F1F", }, 3 | NotifyWARNBorder = {fg = "#79491D", }, 4 | NotifyINFOBorder = {fg = C.ui_blue, }, 5 | NotifyDEBUGBorder = {fg = C.gray, }, 6 | NotifyTRACEBorder = {fg = "#4F3552", }, 7 | NotifyERRORIcon = {fg = C.error_red, }, 8 | NotifyWARNIcon = {fg = C.warning_orange, }, 9 | NotifyINFOIcon = {fg = C.ui4_blue, }, 10 | NotifyDEBUGIcon = {fg = C.gray, }, 11 | NotifyTRACEIcon = {fg = C.ui_purple, }, 12 | NotifyERRORTitle = {fg = C.error_red, }, 13 | NotifyWARNTitle = {fg = C.warning_orange, }, 14 | NotifyINFOTitle = {fg = C.ui4_blue, }, 15 | NotifyDEBUGTitle = {fg = C.gray, }, 16 | NotifyTRACETitle = {fg = C.ui_purple, }, 17 | } 18 | 19 | return Notify -------------------------------------------------------------------------------- /lua/onenord/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.folder_blue, }, 7 | NvimTreeOpenedFolderName = {fg = C.folder_blue, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.orange, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#282b37", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/onenord/Packer.lua: -------------------------------------------------------------------------------- 1 | local Packer = { 2 | packerString = {fg = C.ui_orange, }, 3 | packerHash = {fg = C.ui4_blue, }, 4 | packerOutput = {fg = C.ui_purple, }, 5 | packerRelDate = {fg = C.gray, }, 6 | packerSuccess = {fg = C.success_green, }, 7 | packerStatusSuccess = {fg = C.ui4_blue, }, 8 | } 9 | 10 | return Packer -------------------------------------------------------------------------------- /lua/onenord/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/onenord/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.line, bg = C.gray, }, 3 | StatusLineNC = {fg = C.line, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.line, }, 5 | StatusLineTerm = {fg = C.line, }, 6 | StatusLineTermNC = {fg = C.line, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/onenord/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/onenord/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/onenord/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.blue, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.cyan, }, 6 | TSType = {fg = C.cyan, }, 7 | TSTypeBuiltin = {fg = C.orange, }, 8 | TSConditional = {fg = C.yellow, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.purple, }, 13 | TSKeywordFunction = {fg = C.purple, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.cyan, }, 16 | TSRepeat = {fg = C.yellow, }, 17 | TSConstant = {fg = C.orange, }, 18 | TSConstBuiltin = {fg = C.orange, }, 19 | TSFloat = {fg = C.orange, }, 20 | TSNumber = {fg = C.orange, }, 21 | TSBoolean = {fg = C.orange, }, 22 | TSCharacter = {fg = C.green, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.blue, }, 25 | TSFuncBuiltin = {fg = C.blue, }, 26 | TSMethod = {fg = C.blue, }, 27 | TSConstMacro = {fg = C.orange, }, 28 | TSFuncMacro = {fg = C.blue, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.red, }, 31 | TSProperty = {fg = C.fg, }, 32 | TSOperator = {fg = C.fg, }, 33 | TSField = {fg = C.fg, }, 34 | TSParameter = {fg = C.red, }, 35 | TSParameterReference = {fg = C.fg, }, 36 | TSSymbol = {fg = C.light_blue, }, 37 | TSText = {fg = C.fg, }, 38 | TSPunctDelimiter = {fg = C.fg, }, 39 | TSTagDelimiter = {fg = C.gray, }, 40 | TSTagAttribute = {fg = C.orange, }, 41 | TSPunctBracket = {fg = C.fg, }, 42 | TSPunctSpecial = {fg = C.purple, }, 43 | TSString = {fg = C.green, }, 44 | TSStringRegex = {fg = C.green, }, 45 | TSStringEscape = {fg = C.green, }, 46 | TSTag = {fg = C.blue, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, }, 50 | TSLiteral = {fg = C.orange, }, 51 | TSURI = {fg = C.orange, style = "underline", }, 52 | TSKeywordOperator = {fg = C.blue, }, 53 | TSStructure = {fg = C.light_blue, }, 54 | TSStrong = {fg = C.blue, style = "bold", }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | TreesitterContext = {bg = C.tree_gray, }, 57 | } 58 | 59 | return Treesitter -------------------------------------------------------------------------------- /lua/onenord/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/onenord/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/onenord/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "onenord" 8 | 9 | local util = require("onenord.util") 10 | Config = require("onenord.config") 11 | C = require("onenord.palette") 12 | local highlights = require("onenord.highlights") 13 | local Treesitter = require("onenord.Treesitter") 14 | local markdown = require("onenord.markdown") 15 | local Whichkey = require("onenord.Whichkey") 16 | local Git = require("onenord.Git") 17 | local LSP = require("onenord.LSP") 18 | local Quickscope = require("onenord.Quickscope") 19 | local Telescope = require("onenord.Telescope") 20 | local NvimTree = require("onenord.NvimTree") 21 | local Lir = require("onenord.Lir") 22 | local Buffer = require("onenord.Buffer") 23 | local StatusLine = require("onenord.StatusLine") 24 | local IndentBlankline = require("onenord.IndentBlankline") 25 | local Dashboard = require("onenord.Dashboard") 26 | local DiffView = require("onenord.DiffView") 27 | local Bookmarks = require("onenord.Bookmarks") 28 | local Bqf = require("onenord.Bqf") 29 | local Cmp = require("onenord.Cmp") 30 | local Gps = require("onenord.Gps") 31 | local Packer = require("onenord.Packer") 32 | local SymbolOutline = require("onenord.SymbolOutline") 33 | local Notify = require("onenord.Notify") 34 | local Misc = require("onenord.Misc") 35 | local Crates = require("onenord.Crates") 36 | 37 | 38 | local skeletons = { 39 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, Gps, Packer, SymbolOutline, Notify, Misc, Crates 40 | } 41 | 42 | for _, skeleton in ipairs(skeletons) do 43 | util.initialise(skeleton) 44 | end -------------------------------------------------------------------------------- /lua/onenord/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.blue, }, 7 | markdownH2 = {fg = C.blue, }, 8 | markdownH3 = {fg = C.blue, }, 9 | markdownH4 = {fg = C.blue, }, 10 | markdownH5 = {fg = C.blue, }, 11 | markdownH6 = {fg = C.blue, }, 12 | markdownHeadingDelimiter = {fg = C.blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.yellow, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.yellow, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/onenord/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#abb2bf", 3 | bg = "#1e222a", 4 | alt_bg = "#252b37", 5 | dark = "#252b37", 6 | accent = "#566074", 7 | popup_back = "#1e222a", 8 | search_orange = "#613214", 9 | line = "#282C34", 10 | search_blue = "#083C5A", 11 | white = "#D8DEE9", 12 | gray = "#4C566A", 13 | dark_gray = "#3B4252", 14 | context = "#566074", 15 | light_gray = "#bfc5d0", 16 | tree_gray = "#252b37", 17 | blue = "#81A1C1", 18 | vivid_blue = "#4FC1FF", 19 | dark_blue = "#223E55", 20 | folder_blue = "#7797b7", 21 | light_blue = "#D8DEE9", 22 | green = "#A3BE8C", 23 | cyan = "#88c0d0", 24 | light_green = "#C68A75", 25 | red = "#bf616a", 26 | orange = "#C68A75", 27 | light_red = "#bf616a", 28 | yellow = "#D7BA7D", 29 | purple = "#B48EAD", 30 | magenta = "#D16D9E", 31 | cursor_fg = "#515052", 32 | cursor_bg = "#AEAFAD", 33 | sign_add = "#587c0c", 34 | sign_change = "#0c7d9d", 35 | sign_delete = "#94151b", 36 | tree_sign_add = "#73C991", 37 | tree_sign_change = "#CCA700", 38 | error_red = "#F44747", 39 | warning_orange = "#ff8800", 40 | info_yellow = "#FFCC66", 41 | hint_blue = "#4FC1FF", 42 | success_green = "#14C50B", 43 | purple_test = "#ff007c", 44 | cyan_test = "#00dfff", 45 | ui_blue = "#264F78", 46 | ui2_blue = "#042E48", 47 | ui3_blue = "#0195F7", 48 | ui4_blue = "#75BEFF", 49 | ui_orange = "#E8AB53", 50 | ui_purple = "#B180D7", 51 | } 52 | 53 | return colors -------------------------------------------------------------------------------- /lua/onenord/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/spacedark/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/spacedark/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.purple, }, 4 | TSAttribute = {fg = C.cyan, }, 5 | TSConstructor = {fg = C.purple, }, 6 | TSType = {fg = C.purple, }, 7 | TSTypeBuiltin = {fg = C.purple, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.blue, }, 10 | TSInclude = {fg = C.blue, }, 11 | TSKeyword = {fg = C.blue, }, 12 | TSKeywordFunction = {fg = C.blue, }, 13 | TSLabel = {fg = C.blue, }, 14 | TSNamespace = {fg = C.blue, }, 15 | TSRepeat = {fg = C.blue, }, 16 | TSConstant = {fg = C.orange, }, 17 | TSConstBuiltin = {fg = C.red, }, 18 | TSFloat = {fg = C.red, }, 19 | TSNumber = {fg = C.red, }, 20 | TSBoolean = {fg = C.red, }, 21 | TSCharacter = {fg = C.light_green, }, 22 | TSError = {fg = C.error_red, }, 23 | TSFunction = {fg = C.yellow, }, 24 | TSFuncBuiltin = {fg = C.yellow, }, 25 | TSMethod = {fg = C.yellow, }, 26 | TSConstMacro = {fg = C.cyan, }, 27 | TSFuncMacro = {fg = C.yellow, }, 28 | TSVariable = {fg = C.light_blue, }, 29 | TSVariableBuiltin = {fg = C.light_blue, }, 30 | TSProperty = {fg = C.light_blue, }, 31 | TSOperator = {fg = C.gray, }, 32 | TSField = {fg = C.light_blue, }, 33 | TSParameter = {fg = C.light_blue, }, 34 | TSParameterReference = {fg = C.light_blue, }, 35 | TSSymbol = {fg = C.light_blue, }, 36 | TSText = {fg = C.fg, }, 37 | TSPunctDelimiter = {fg = C.gray, }, 38 | TSTagDelimiter = {fg = C.gray, }, 39 | TSPunctBracket = {fg = C.gray, }, 40 | TSPunctSpecial = {fg = C.gray, }, 41 | TSString = {fg = C.green, }, 42 | TSStringRegex = {fg = C.yellow_orange, }, 43 | TSStringEscape = {fg = C.yellow_orange, }, 44 | TSTag = {fg = C.blue, }, 45 | TSEmphasis = {style = "italic", }, 46 | TSUnderline = {style = "underline", }, 47 | TSTitle = {fg = C.blue, style = "bold", }, 48 | TSLiteral = {fg = C.yellow_orange, }, 49 | TSURI = {fg = C.yellow_orange, style = "underline", }, 50 | TSKeywordOperator = {fg = C.blue, }, 51 | TSStructure = {fg = C.light_blue, }, 52 | TSStrong = {fg = C.yellow_orange, }, 53 | TSQueryLinterError = {fg = C.warning_orange, }, 54 | } 55 | 56 | return Treesitter -------------------------------------------------------------------------------- /lua/spacedark/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/spacedark/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/spacedark/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "spacedark" 8 | 9 | local util = require("spacedark.util") 10 | Config = require("spacedark.config") 11 | C = require("spacedark.palette") 12 | 13 | local async 14 | async = vim.loop.new_async(vim.schedule_wrap(function () 15 | 16 | 17 | local skeletons = { 18 | 19 | } 20 | 21 | for _, skeleton in ipairs(skeletons) do 22 | util.initialise(skeleton) 23 | end 24 | 25 | async:close() 26 | end)) 27 | 28 | local highlights = require("spacedark.highlights") 29 | local Treesitter = require("spacedark.Treesitter") 30 | local markdown = require("spacedark.markdown") 31 | local Whichkey = require("spacedark.Whichkey") 32 | local Git = require("spacedark.Git") 33 | local LSP = require("spacedark.LSP") 34 | 35 | 36 | local skeletons = { 37 | highlights, Treesitter, markdown, Whichkey, Git, LSP 38 | } 39 | 40 | for _, skeleton in ipairs(skeletons) do 41 | util.initialise(skeleton) 42 | end 43 | 44 | async:send() -------------------------------------------------------------------------------- /lua/spacedark/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.accent, }, 3 | markdownBold = {fg = C.yellow, style = "bold", }, 4 | markdownCode = {fg = C.green, }, 5 | markdownCodeBlock = {fg = C.green, }, 6 | markdownCodeDelimiter = {fg = C.green, }, 7 | markdownH1 = {fg = C.blue, }, 8 | markdownH2 = {fg = C.blue, }, 9 | markdownH3 = {fg = C.blue, }, 10 | markdownH4 = {fg = C.blue, }, 11 | markdownH5 = {fg = C.blue, }, 12 | markdownH6 = {fg = C.blue, }, 13 | markdownHeadingDelimiter = {fg = C.red, }, 14 | markdownHeadingRule = {fg = C.accent, }, 15 | markdownId = {fg = C.purple, }, 16 | markdownIdDeclaration = {fg = C.blue, }, 17 | markdownIdDelimiter = {fg = C.light_gray, }, 18 | markdownLinkDelimiter = {fg = C.light_gray, }, 19 | markdownItalic = {style = "italic", }, 20 | markdownLinkText = {fg = C.blue, }, 21 | markdownListMarker = {fg = C.red, }, 22 | markdownOrderedListMarker = {fg = C.red, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | } 26 | 27 | return markdown -------------------------------------------------------------------------------- /lua/spacedark/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#ABB2BF", 3 | bg = "#202020", 4 | alt_bg = "#262626", 5 | dark = "#222222", 6 | accent = "#AAAAAA", 7 | dark_gray = "#3e3e3e", 8 | context = "#606060", 9 | popup_back = "#2D2D30", 10 | search_orange = "#613214", 11 | search_blue = "#5e81ac", 12 | white = "#D8DEE9", 13 | gray = "#9BA1AB", 14 | light_gray = "#c8c9c1", 15 | blue = "#5f8ccd", 16 | dark_blue = "#223E55", 17 | light_blue = "#9dc0d5", 18 | green = "#83aa7b", 19 | cyan = "#4EC9B0", 20 | light_green = "#B5CEA8", 21 | red = "#D16969", 22 | orange = "#D1866B", 23 | light_red = "#CA535F", 24 | yellow = "#ECCC8E", 25 | yellow_orange = "#D7BA7D", 26 | purple = "#BF82B4", 27 | magenta = "#D16D9E", 28 | cursor_fg = "#515052", 29 | cursor_bg = "#AEAFAD", 30 | sign_add = "#587c0c", 31 | sign_change = "#0c7d9d", 32 | sign_delete = "#94151b", 33 | error_red = "#F44747", 34 | warning_orange = "#ff8800", 35 | info_yellow = "#FFCC66", 36 | hint_blue = "#4FC1FF", 37 | purple_test = "#ff007c", 38 | cyan_test = "#00dfff", 39 | ui_blue = "#264F78", 40 | } 41 | 42 | return colors -------------------------------------------------------------------------------- /lua/spacedark/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/system76/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/system76/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.comment, }, 3 | TSAnnotation = {fg = C.yellow, }, 4 | TSAttribute = {fg = C.orange, }, 5 | TSConstructor = {fg = C.orange, }, 6 | TSType = {fg = C.orange, }, 7 | TSTypeBuiltin = {fg = C.blue, }, 8 | TSConditional = {fg = C.blue, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.blue, }, 13 | TSKeywordFunction = {fg = C.blue, }, 14 | TSLabel = {fg = C.light_blue, }, 15 | TSNamespace = {fg = C.orange, }, 16 | TSRepeat = {fg = C.purple, }, 17 | TSConstant = {fg = C.yellow, }, 18 | TSConstBuiltin = {fg = C.blue, }, 19 | TSFloat = {fg = C.green, }, 20 | TSNumber = {fg = C.green, }, 21 | TSBoolean = {fg = C.blue, }, 22 | TSCharacter = {fg = C.orange, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.yellow, }, 25 | TSFuncBuiltin = {fg = C.yellow, }, 26 | TSMethod = {fg = C.yellow, }, 27 | TSConstMacro = {fg = C.orange, }, 28 | TSFuncMacro = {fg = C.yellow, }, 29 | TSVariable = {fg = C.light_blue, }, 30 | TSVariableBuiltin = {fg = C.light_blue, }, 31 | TSProperty = {fg = C.light_blue, }, 32 | TSOperator = {fg = C.fg, }, 33 | TSField = {fg = C.light_blue, }, 34 | TSParameter = {fg = C.light_blue, }, 35 | TSParameterReference = {fg = C.light_blue, }, 36 | TSSymbol = {fg = C.light_blue, }, 37 | TSText = {fg = C.fg, }, 38 | TSPunctDelimiter = {fg = C.fg, }, 39 | TSTagDelimiter = {fg = C.gray, }, 40 | TSPunctBracket = {fg = C.fg, }, 41 | TSPunctSpecial = {fg = C.fg, }, 42 | TSString = {fg = C.cyan, }, 43 | TSStringRegex = {fg = C.cyan, }, 44 | TSStringEscape = {fg = C.green, }, 45 | TSTag = {fg = C.blue, }, 46 | TSEmphasis = {style = "italic", }, 47 | TSUnderline = {style = "underline", }, 48 | TSTitle = {fg = C.blue, style = "bold", }, 49 | TSLiteral = {fg = C.yellow_orange, }, 50 | TSURI = {fg = C.yellow_orange, style = "underline", }, 51 | TSKeywordOperator = {fg = C.blue, }, 52 | TSStructure = {fg = C.light_blue, }, 53 | TSStrong = {fg = C.yellow_orange, }, 54 | TSQueryLinterError = {fg = C.warning_orange, }, 55 | } 56 | 57 | return Treesitter -------------------------------------------------------------------------------- /lua/system76/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.light_blue, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/system76/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/system76/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "system76" 8 | 9 | local util = require("system76.util") 10 | Config = require("system76.config") 11 | C = require("system76.palette") 12 | local highlights = require("system76.highlights") 13 | local Treesitter = require("system76.Treesitter") 14 | local markdown = require("system76.markdown") 15 | local Whichkey = require("system76.Whichkey") 16 | local Git = require("system76.Git") 17 | local LSP = require("system76.LSP") 18 | 19 | 20 | local skeletons = { 21 | highlights, Treesitter, markdown, Whichkey, Git, LSP 22 | } 23 | 24 | for _, skeleton in ipairs(skeletons) do 25 | util.initialise(skeleton) 26 | end -------------------------------------------------------------------------------- /lua/system76/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.accent, }, 3 | markdownBold = {fg = C.yellow, style = "bold", }, 4 | markdownCode = {fg = C.green, }, 5 | markdownCodeBlock = {fg = C.green, }, 6 | markdownCodeDelimiter = {fg = C.green, }, 7 | markdownH1 = {fg = C.blue, }, 8 | markdownH2 = {fg = C.blue, }, 9 | markdownH3 = {fg = C.blue, }, 10 | markdownH4 = {fg = C.blue, }, 11 | markdownH5 = {fg = C.blue, }, 12 | markdownH6 = {fg = C.blue, }, 13 | markdownHeadingDelimiter = {fg = C.red, }, 14 | markdownHeadingRule = {fg = C.accent, }, 15 | markdownId = {fg = C.purple, }, 16 | markdownIdDeclaration = {fg = C.blue, }, 17 | markdownIdDelimiter = {fg = C.light_gray, }, 18 | markdownLinkDelimiter = {fg = C.light_gray, }, 19 | markdownItalic = {style = "italic", }, 20 | markdownLinkText = {fg = C.blue, }, 21 | markdownListMarker = {fg = C.red, }, 22 | markdownOrderedListMarker = {fg = C.red, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | } 26 | 27 | return markdown -------------------------------------------------------------------------------- /lua/system76/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#cccccc", 3 | bg = "#222222", 4 | alt_bg = "#282828", 5 | dark = "#242424", 6 | accent = "#BBBBBB", 7 | popup_back = "#2D2D30", 8 | search_orange = "#613214", 9 | search_blue = "#5e81ac", 10 | white = "#D8DEE9", 11 | gray = "#98918d", 12 | dark_gray = "#3e3e3e", 13 | comment = "#787878", 14 | context = "#606060", 15 | light_gray = "#c8c9c1", 16 | blue = "#18a9c7", 17 | dark_blue = "#223E55", 18 | light_blue = "#81c8d6", 19 | green = "#6eaa76", 20 | cyan = "#7ec589", 21 | light_green = "#B5CEA8", 22 | red = "#f15d22", 23 | light_red = "#D16969", 24 | orange = "#d19a66", 25 | yellow = "#eece61", 26 | yellow_orange = "#D7BA7D", 27 | purple = "#ad7fa8", 28 | magenta = "#D16D9E", 29 | cursor_fg = "#515052", 30 | cursor_bg = "#AEAFAD", 31 | sign_add = "#587c0c", 32 | sign_change = "#0c7d9d", 33 | sign_delete = "#94151b", 34 | error_red = "#F44747", 35 | warning_orange = "#ff8800", 36 | info_yellow = "#FFCC66", 37 | hint_blue = "#4FC1FF", 38 | purple_test = "#ff007c", 39 | cyan_test = "#00dfff", 40 | ui_blue = "#264F78", 41 | } 42 | 43 | return colors -------------------------------------------------------------------------------- /lua/system76/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /lua/tomorrow/Bookmarks.lua: -------------------------------------------------------------------------------- 1 | local Bookmarks = { 2 | BookmarkSign = {fg = C.sign_change, }, 3 | BookmarkAnnotationSign = {fg = C.tree_sign_change, }, 4 | BookmarkLine = {fg = C.ui2_blue, }, 5 | BookmarkAnnotationLine = {fg = C.ui2_blue, }, 6 | } 7 | 8 | return Bookmarks -------------------------------------------------------------------------------- /lua/tomorrow/Bqf.lua: -------------------------------------------------------------------------------- 1 | local Bqf = { 2 | BqfPreviewBorder = {fg = C.fg, }, 3 | BqfPreviewRange = {bg = C.ui2_blue, }, 4 | } 5 | 6 | return Bqf -------------------------------------------------------------------------------- /lua/tomorrow/Buffer.lua: -------------------------------------------------------------------------------- 1 | local Buffer = { 2 | BufferCurrent = {fg = C.fg, bg = C.bg, }, 3 | BufferCurrentIndex = {fg = C.fg, bg = C.bg, }, 4 | BufferCurrentMod = {fg = C.info_yellow, bg = C.bg, }, 5 | BufferCurrentSign = {fg = C.hint_blue, bg = C.bg, }, 6 | BufferCurrentTarget = {fg = C.red, bg = C.bg, style = "bold", }, 7 | BufferVisible = {fg = C.fg, bg = C.bg, }, 8 | BufferVisibleIndex = {fg = C.fg, bg = C.bg, }, 9 | BufferVisibleMod = {fg = C.info_yellow, bg = C.bg, }, 10 | BufferVisibleSign = {fg = C.gray, bg = C.bg, }, 11 | BufferVisibleTarget = {fg = C.red, bg = C.bg, style = "bold", }, 12 | BufferInactive = {fg = C.gray, bg = C.alt_bg, }, 13 | BufferInactiveIndex = {fg = C.gray, bg = C.alt_bg, }, 14 | BufferInactiveMod = {fg = C.info_yellow, bg = C.alt_bg, }, 15 | BufferInactiveSign = {fg = C.gray, bg = C.alt_bg, }, 16 | BufferInactiveTarget = {fg = C.red, bg = C.alt_bg, style = "bold", }, 17 | } 18 | 19 | return Buffer -------------------------------------------------------------------------------- /lua/tomorrow/Cmp.lua: -------------------------------------------------------------------------------- 1 | local Cmp = { 2 | CmpItemAbbrDeprecated = {fg = "#ui3_blue", }, 3 | CmpItemAbbrMatch = {fg = C.ui3_blue, }, 4 | CmpItemAbbrMatchFuzzy = {fg = C.ui3_blue, }, 5 | CmpItemKind = {fg = C.purple, }, 6 | } 7 | 8 | return Cmp -------------------------------------------------------------------------------- /lua/tomorrow/Dashboard.lua: -------------------------------------------------------------------------------- 1 | local Dashboard = { 2 | DashboardHeader = {fg = C.blue, }, 3 | DashboardCenter = {fg = C.purple, }, 4 | DashboardFooter = {fg = C.cyan, }, 5 | } 6 | 7 | return Dashboard -------------------------------------------------------------------------------- /lua/tomorrow/DiffView.lua: -------------------------------------------------------------------------------- 1 | local DiffView = { 2 | DiffViewNormal = {fg = C.gray, bg = C.alt_bg, }, 3 | DiffviewStatusAdded = {fg = C.sign_add, }, 4 | DiffviewStatusModified = {fg = C.sign_change, }, 5 | DiffviewStatusRenamed = {fg = C.sign_change, }, 6 | DiffviewStatusDeleted = {fg = C.sign_delete, }, 7 | DiffviewFilePanelInsertion = {fg = C.sign_add, }, 8 | DiffviewFilePanelDeletion = {fg = C.sign_delete, }, 9 | DiffviewVertSplit = {bg = C.bg, }, 10 | } 11 | 12 | return DiffView -------------------------------------------------------------------------------- /lua/tomorrow/Git.lua: -------------------------------------------------------------------------------- 1 | local Git = { 2 | SignAdd = {fg = C.sign_add, }, 3 | SignChange = {fg = C.sign_change, }, 4 | SignDelete = {fg = C.sign_delete, }, 5 | GitSignsAdd = {fg = C.sign_add, }, 6 | GitSignsChange = {fg = C.sign_change, }, 7 | GitSignsDelete = {fg = C.sign_delete, }, 8 | } 9 | 10 | return Git -------------------------------------------------------------------------------- /lua/tomorrow/IndentBlankline.lua: -------------------------------------------------------------------------------- 1 | local IndentBlankline = { 2 | IndentBlanklineContextChar = {fg = C.context, }, 3 | IndentBlanklineContextStart = {style = "underline", }, 4 | IndentBlanklineChar = {fg = C.dark_gray, }, 5 | IndentBlanklineSpaceChar = {fg = C.cyan_test, }, 6 | IndentBlanklineSpaceCharBlankline = {fg = C.info_yellow, }, 7 | } 8 | 9 | return IndentBlankline -------------------------------------------------------------------------------- /lua/tomorrow/LSP.lua: -------------------------------------------------------------------------------- 1 | local LSP = { 2 | LspDiagnosticsDefaultError = {fg = C.error_red, }, 3 | LspDiagnosticsDefaultWarning = {fg = C.warning_orange, }, 4 | LspDiagnosticsDefaultInformation = {fg = C.info_yellow, }, 5 | LspDiagnosticsDefaultHint = {fg = C.hint_blue, }, 6 | LspDiagnosticsVirtualTextError = {fg = C.error_red, }, 7 | LspDiagnosticsVirtualTextWarning = {fg = C.warning_orange, }, 8 | LspDiagnosticsVirtualTextInformation = {fg = C.info_yellow, }, 9 | LspDiagnosticsVirtualTextHint = {fg = C.hint_blue, }, 10 | LspDiagnosticsFloatingError = {fg = C.error_red, }, 11 | LspDiagnosticsFloatingWarning = {fg = C.warning_orange, }, 12 | LspDiagnosticsFloatingInformation = {fg = C.info_yellow, }, 13 | LspDiagnosticsFloatingHint = {fg = C.hint_blue, }, 14 | LspDiagnosticsSignError = {fg = C.error_red, }, 15 | LspDiagnosticsSignWarning = {fg = C.warning_orange, }, 16 | LspDiagnosticsSignInformation = {fg = C.info_yellow, }, 17 | LspDiagnosticsSignHint = {fg = C.hint_blue, }, 18 | LspDiagnosticsError = {fg = C.error_red, }, 19 | LspDiagnosticsWarning = {fg = C.warning_orange, }, 20 | LspDiagnosticsInformation = {fg = C.info_yellow, }, 21 | LspDiagnosticsHint = {fg = C.hint_blue, }, 22 | LspDiagnosticsUnderlineError = {style = "underline", }, 23 | LspDiagnosticsUnderlineWarning = {style = "underline", }, 24 | LspDiagnosticsUnderlineInformation = {style = "underline", }, 25 | LspDiagnosticsUnderlineHint = {style = "underline", }, 26 | LspReferenceRead = {bg = "#36383F", }, 27 | LspReferenceText = {bg = "#36383F", }, 28 | LspReferenceWrite = {bg = "#36383f", }, 29 | } 30 | 31 | return LSP -------------------------------------------------------------------------------- /lua/tomorrow/Lir.lua: -------------------------------------------------------------------------------- 1 | local Lir = { 2 | LirFloatNormal = {fg = C.light_gray, bg = C.alt_bg, }, 3 | LirDir = {fg = C.blue, }, 4 | LirSymLink = {fg = C.cyan, }, 5 | LirEmptyDirText = {fg = C.blue, }, 6 | } 7 | 8 | return Lir -------------------------------------------------------------------------------- /lua/tomorrow/Misc.lua: -------------------------------------------------------------------------------- 1 | local Misc = { 2 | diffAdded = {fg = C.sign_add, }, 3 | diffRemoved = {fg = C.sign_delete, }, 4 | diffFileId = {fg = C.blue, style = "bold,reverse", }, 5 | diffFile = {fg = C.alt_bg, }, 6 | diffNewFile = {fg = C.green, }, 7 | diffOldFile = {fg = C.red, }, 8 | debugPc = {bg = C.cyan, }, 9 | debugBreakpoint = {fg = C.red, style = "reverse", }, 10 | CodiVirtualText = {fg = C.hint_blue, }, 11 | CompeDocumentation = {bg = C.alt_bg, }, 12 | xmlTag = {fg = C.cyan, }, 13 | xmlTagName = {fg = C.cyan, }, 14 | xmlEndTag = {fg = C.cyan, }, 15 | yamlPlainScalar = {fg = C.orange, }, 16 | yamlTSField = {fg = C.blue, }, 17 | cssTSProperty = {fg = C.yellow, }, 18 | cssTSString = {fg = C.orange, }, 19 | cssTSType = {fg = C.red, }, 20 | javascriptTSKeyword = {fg = C.blue, }, 21 | } 22 | 23 | return Misc -------------------------------------------------------------------------------- /lua/tomorrow/NvimTree.lua: -------------------------------------------------------------------------------- 1 | local NvimTree = { 2 | NvimTreeFolderIcon = {fg = C.folder_blue, }, 3 | NvimTreeIndentMarker = {fg = "#c5c5c5", }, 4 | NvimTreeNormal = {fg = C.light_gray, bg = C.tree_gray, }, 5 | NvimTreeVertSplit = {fg = C.alt_bg, bg = C.alt_bg, }, 6 | NvimTreeFolderName = {fg = C.light_gray, }, 7 | NvimTreeOpenedFolderName = {fg = C.light_gray, style = "bold,italic", }, 8 | NvimTreeEmptyFolderName = {fg = C.gray, style = "italic", }, 9 | NvimTreeGitIgnored = {fg = C.gray, style = "italic", }, 10 | NvimTreeImageFile = {fg = C.light_gray, }, 11 | NvimTreeSpecialFile = {fg = C.light_red, }, 12 | NvimTreeEndOfBuffer = {fg = C.tree_gray, }, 13 | NvimTreeCursorLine = {bg = "#2A2D2E", }, 14 | NvimTreeGitignoreIcon = {fg = "#E64A19", }, 15 | NvimTreeGitStaged = {fg = C.tree_sign_add, }, 16 | NvimTreeGitNew = {fg = C.tree_sign_add, }, 17 | NvimTreeGitRenamed = {fg = C.tree_sign_add, }, 18 | NvimTreeGitDeleted = {fg = C.sign_delete, }, 19 | NvimTreeGitMerge = {fg = C.tree_sign_change, }, 20 | NvimTreeGitDirty = {fg = C.tree_sign_change, }, 21 | NvimTreeSymlink = {fg = C.cyan, }, 22 | NvimTreeRootFolder = {fg = C.fg, style = "bold", }, 23 | NvimTreeExecFile = {fg = "#9FBA89", }, 24 | } 25 | 26 | return NvimTree -------------------------------------------------------------------------------- /lua/tomorrow/Quickscope.lua: -------------------------------------------------------------------------------- 1 | local Quickscope = { 2 | QuickScopePrimary = {fg = C.purple_test, style = "underline", }, 3 | QuickScopeSecondary = {fg = C.cyan_test, style = "underline", }, 4 | } 5 | 6 | return Quickscope -------------------------------------------------------------------------------- /lua/tomorrow/StatusLine.lua: -------------------------------------------------------------------------------- 1 | local StatusLine = { 2 | StatusLine = {fg = C.alt_bg, bg = C.gray, }, 3 | StatusLineNC = {fg = C.alt_bg, bg = C.gray, }, 4 | StatusLineSeparator = {fg = C.alt_bg, }, 5 | StatusLineTerm = {fg = C.alt_bg, }, 6 | StatusLineTermNC = {fg = C.alt_bg, }, 7 | } 8 | 9 | return StatusLine -------------------------------------------------------------------------------- /lua/tomorrow/SymbolOutline.lua: -------------------------------------------------------------------------------- 1 | local SymbolOutline = { 2 | SymbolsOutlineConnector = {fg = C.gray, }, 3 | FocusedSymbol = {bg = "#36383F", }, 4 | } 5 | 6 | return SymbolOutline -------------------------------------------------------------------------------- /lua/tomorrow/Telescope.lua: -------------------------------------------------------------------------------- 1 | local Telescope = { 2 | TelescopeSelection = {fg = C.hint_blue, }, 3 | TelescopeMatching = {fg = C.info_yellow, style = "bold", }, 4 | TelescopeBorder = {fg = C.blue, bg = Config.transparent_background and "NONE" or C.bg, }, 5 | } 6 | 7 | return Telescope -------------------------------------------------------------------------------- /lua/tomorrow/Treesitter.lua: -------------------------------------------------------------------------------- 1 | local Treesitter = { 2 | TSComment = {fg = C.gray, }, 3 | TSAnnotation = {fg = C.blue, }, 4 | TSAttribute = {fg = C.red, }, 5 | TSConstructor = {fg = C.yellow, }, 6 | TSType = {fg = C.yellow, }, 7 | TSTypeBuiltin = {fg = C.yellow, }, 8 | TSConditional = {fg = C.yellow, }, 9 | TSException = {fg = C.purple, }, 10 | TSInclude = {fg = C.purple, }, 11 | TSKeywordReturn = {fg = C.purple, }, 12 | TSKeyword = {fg = C.purple, }, 13 | TSKeywordFunction = {fg = C.purple, }, 14 | TSLabel = {fg = C.red, }, 15 | TSNamespace = {fg = C.yellow, }, 16 | TSRepeat = {fg = C.purple, }, 17 | TSConstant = {fg = C.orange, }, 18 | TSConstBuiltin = {fg = C.orange, }, 19 | TSFloat = {fg = C.orange, }, 20 | TSNumber = {fg = C.orange, }, 21 | TSBoolean = {fg = C.orange, }, 22 | TSCharacter = {fg = C.orange, }, 23 | TSError = {fg = C.error_red, }, 24 | TSFunction = {fg = C.blue, }, 25 | TSFuncBuiltin = {fg = C.blue, }, 26 | TSMethod = {fg = C.blue, }, 27 | TSConstMacro = {fg = C.cyan, }, 28 | TSFuncMacro = {fg = C.blue, }, 29 | TSVariable = {fg = C.red, }, 30 | TSVariableBuiltin = {fg = C.cyan, }, 31 | TSProperty = {fg = C.fg, }, 32 | TSOperator = {fg = C.cyan, }, 33 | TSField = {fg = C.red, }, 34 | TSParameter = {fg = C.orange, }, 35 | TSParameterReference = {fg = C.red, }, 36 | TSSymbol = {fg = C.red, }, 37 | TSText = {fg = C.fg, }, 38 | TSPunctDelimiter = {fg = C.fg, }, 39 | TSTagDelimiter = {fg = C.gray, }, 40 | TSTagAttribute = {fg = C.yellow, }, 41 | TSPunctBracket = {fg = C.fg, }, 42 | TSPunctSpecial = {fg = C.fg, }, 43 | TSString = {fg = C.green, }, 44 | TSStringRegex = {fg = C.green, }, 45 | TSStringEscape = {fg = C.green, }, 46 | TSTag = {fg = C.red, }, 47 | TSEmphasis = {style = "italic", }, 48 | TSUnderline = {style = "underline", }, 49 | TSTitle = {fg = C.fg, style = "bold", }, 50 | TSLiteral = {fg = C.fg, }, 51 | TSURI = {fg = C.cyan, style = "underline", }, 52 | TSKeywordOperator = {fg = C.purple, }, 53 | TSStructure = {fg = C.red, }, 54 | TSStrong = {fg = C.orange, }, 55 | TSQueryLinterError = {fg = C.warning_orange, }, 56 | } 57 | 58 | return Treesitter -------------------------------------------------------------------------------- /lua/tomorrow/Whichkey.lua: -------------------------------------------------------------------------------- 1 | local Whichkey = { 2 | WhichKey = {fg = C.purple, }, 3 | WhichKeySeperator = {fg = C.green, }, 4 | WhichKeyGroup = {fg = C.blue, }, 5 | WhichKeyDesc = {fg = C.red, }, 6 | WhichKeyFloat = {bg = C.dark, }, 7 | } 8 | 9 | return Whichkey -------------------------------------------------------------------------------- /lua/tomorrow/config.lua: -------------------------------------------------------------------------------- 1 | local config 2 | 3 | vim = vim or { g = {}, o = {} } 4 | 5 | local function opt(key, default) 6 | if vim.g[key] == nil then 7 | return default 8 | end 9 | if vim.g[key] == 0 then 10 | return false 11 | end 12 | return vim.g[key] 13 | end 14 | 15 | config = { 16 | transparent_background = opt("transparent_background", false), 17 | italic_comments = opt("italic_keywords", true) and "italic" or "NONE", 18 | italic_keywords = opt("italic_keywords", true) and "italic" or "NONE", 19 | italic_functions = opt("italic_function", false) and "italic" or "NONE", 20 | italic_variables = opt("italic_variables", true) and "italic" or "NONE", 21 | } 22 | 23 | return config -------------------------------------------------------------------------------- /lua/tomorrow/init.lua: -------------------------------------------------------------------------------- 1 | vim.api.nvim_command("hi clear") 2 | if vim.fn.exists("syntax_on") then 3 | vim.api.nvim_command("syntax reset") 4 | end 5 | vim.o.background = "dark" 6 | vim.o.termguicolors = true 7 | vim.g.colors_name = "tomorrow" 8 | 9 | local util = require("tomorrow.util") 10 | Config = require("tomorrow.config") 11 | C = require("tomorrow.palette") 12 | local highlights = require("tomorrow.highlights") 13 | local Treesitter = require("tomorrow.Treesitter") 14 | local markdown = require("tomorrow.markdown") 15 | local Whichkey = require("tomorrow.Whichkey") 16 | local Git = require("tomorrow.Git") 17 | local LSP = require("tomorrow.LSP") 18 | local Quickscope = require("tomorrow.Quickscope") 19 | local Telescope = require("tomorrow.Telescope") 20 | local NvimTree = require("tomorrow.NvimTree") 21 | local Lir = require("tomorrow.Lir") 22 | local Buffer = require("tomorrow.Buffer") 23 | local StatusLine = require("tomorrow.StatusLine") 24 | local IndentBlankline = require("tomorrow.IndentBlankline") 25 | local Dashboard = require("tomorrow.Dashboard") 26 | local DiffView = require("tomorrow.DiffView") 27 | local Bookmarks = require("tomorrow.Bookmarks") 28 | local Bqf = require("tomorrow.Bqf") 29 | local Cmp = require("tomorrow.Cmp") 30 | local SymbolOutline = require("tomorrow.SymbolOutline") 31 | local Misc = require("tomorrow.Misc") 32 | 33 | 34 | local skeletons = { 35 | highlights, Treesitter, markdown, Whichkey, Git, LSP, Quickscope, Telescope, NvimTree, Lir, Buffer, StatusLine, IndentBlankline, Dashboard, DiffView, Bookmarks, Bqf, Cmp, SymbolOutline, Misc 36 | } 37 | 38 | for _, skeleton in ipairs(skeletons) do 39 | util.initialise(skeleton) 40 | end -------------------------------------------------------------------------------- /lua/tomorrow/markdown.lua: -------------------------------------------------------------------------------- 1 | local markdown = { 2 | markdownBlockquote = {fg = C.green, }, 3 | markdownCode = {fg = C.orange, }, 4 | markdownCodeBlock = {fg = C.orange, }, 5 | markdownCodeDelimiter = {fg = C.orange, }, 6 | markdownH1 = {fg = C.vivid_blue, }, 7 | markdownH2 = {fg = C.vivid_blue, }, 8 | markdownH3 = {fg = C.vivid_blue, }, 9 | markdownH4 = {fg = C.vivid_blue, }, 10 | markdownH5 = {fg = C.vivid_blue, }, 11 | markdownH6 = {fg = C.vivid_blue, }, 12 | markdownHeadingDelimiter = {fg = C.vivid_blue, }, 13 | markdownHeadingRule = {fg = C.fg, style = "bold", }, 14 | markdownId = {fg = C.purple, }, 15 | markdownIdDeclaration = {fg = C.blue, }, 16 | markdownIdDelimiter = {fg = C.light_gray, }, 17 | markdownLinkDelimiter = {fg = C.light_gray, }, 18 | markdownBold = {fg = C.blue, style = "bold", }, 19 | markdownItalic = {style = "italic", }, 20 | markdownBoldItalic = {fg = C.orange, style = "bold,italic", }, 21 | markdownListMarker = {fg = C.blue, }, 22 | markdownOrderedListMarker = {fg = C.blue, }, 23 | markdownRule = {fg = C.accent, }, 24 | markdownUrl = {fg = C.cyan, style = "underline", }, 25 | markdownLinkText = {fg = C.blue, }, 26 | markdownFootnote = {fg = C.orange, }, 27 | markdownFootnoteDefinition = {fg = C.orange, }, 28 | markdownEscape = {fg = C.orange, }, 29 | } 30 | 31 | return markdown -------------------------------------------------------------------------------- /lua/tomorrow/palette.lua: -------------------------------------------------------------------------------- 1 | local colors = { 2 | fg = "#CED2CF", 3 | bg = "#1D1F21", 4 | alt_bg = "#282A2E", 5 | dark = "#282A2E", 6 | accent = "#AEAFAD", 7 | popup_back = "#2D2D30", 8 | search_orange = "#613214", 9 | search_blue = "#5e81ac", 10 | white = "#D8DEE9", 11 | gray = "#969896", 12 | dark_gray = "#373B41", 13 | context = "#4B4E55", 14 | light_gray = "#C5C8C6", 15 | tree_gray = "#282A2E", 16 | blue = "#81A2BE", 17 | vivid_blue = "#82A3BF", 18 | folder_blue = "#42A5F5", 19 | green = "#B5BD68", 20 | cyan = "#8ABEB7", 21 | red = "#CC6666", 22 | orange = "#DE935F", 23 | light_red = "#DF5F5F", 24 | yellow = "#F0C674", 25 | purple = "#B294BB", 26 | magenta = "#B798BF", 27 | cursor_fg = "#515052", 28 | cursor_bg = "#AEAFAD", 29 | sign_add = "#587c0c", 30 | sign_change = "#0c7d9d", 31 | sign_delete = "#94151b", 32 | tree_sign_add = "#73C991", 33 | tree_sign_change = "#CCA700", 34 | error_red = "#F44747", 35 | warning_orange = "#ff8800", 36 | info_yellow = "#FFCC66", 37 | hint_blue = "#4FC1FF", 38 | purple_test = "#ff007c", 39 | cyan_test = "#00dfff", 40 | ui_blue = "#264F78", 41 | ui2_blue = "#042E48", 42 | ui3_blue = "#2082C9", 43 | } 44 | 45 | return colors -------------------------------------------------------------------------------- /lua/tomorrow/util.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | 3 | local function highlight(group, properties) 4 | local bg = properties.bg == nil and "" or "guibg=" .. properties.bg 5 | local fg = properties.fg == nil and "" or "guifg=" .. properties.fg 6 | local style = properties.style == nil and "" or "gui=" .. properties.style 7 | 8 | local cmd = table.concat({ 9 | "highlight", group, bg, fg, style 10 | }, " ") 11 | 12 | vim.api.nvim_command(cmd) 13 | end 14 | 15 | 16 | function M.initialise(skeleton) 17 | for group, properties in pairs(skeleton) do 18 | highlight(group, properties) 19 | end 20 | end 21 | 22 | return M -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | PyYAML==5.4.1 2 | -------------------------------------------------------------------------------- /templates/test.yml: -------------------------------------------------------------------------------- 1 | Treesitter: 2 | TSComment: 'gray' 3 | TSAnnotation: 'blue' 4 | TSAttribute: 'blue' 5 | TSConstructor: 'yellow' 6 | TSType: 'yellow' 7 | TSTypeBuiltin: 'yellow' 8 | TSConditional: 'purple' 9 | TSException: 'purple' 10 | TSInclude: 'purple' 11 | TSKeyword: 'purple' 12 | TSKeywordReturn: 'purple' 13 | TSKeywordFunction: 'purple' 14 | TSLabel: 'red' 15 | TSNone: 'fg' 16 | TSNamespace: 'purple' 17 | TSRepeat: 'purple' 18 | TSConstant: 'red' 19 | TSConstBuiltin: 'orange' 20 | TSFloat: 'orange' 21 | TSNumber: 'orange' 22 | TSBoolean: 'orange' 23 | TSCharacter: 'green' 24 | TSError: 'error_red' 25 | TSFunction: 'cyan' 26 | TSFuncBuiltin: 'cyan' 27 | TSMethod: 'cyan' 28 | TSConstMacro: 'cyan' 29 | TSFuncMacro: 'cyan' 30 | TSProperty: 'blue' 31 | TSOperator: 'purple' 32 | TSField: 'blue' 33 | TSParameter: 'red' 34 | TSParameterReference: 'fg' 35 | TSVariable: 'fg' 36 | TSVariableBuiltin: 'blue' 37 | TSSymbol: 'blue' 38 | TSText: 'fg' 39 | TSTextReference: 'red' 40 | TSPunctDelimiter: 'fg' 41 | TSTagDelimiter: 'gray' 42 | TSTagAttribute: 'red' 43 | TSPunctBracket: 'fg' 44 | TSPunctSpecial: 'fg' 45 | TSString: 'green' 46 | TSStringRegex: 'orange' 47 | TSStringEscape: 'orange' 48 | TSTag: 'blue' 49 | TSEmphasis: '- - i' 50 | TSUnderline: '- - u' 51 | TSWarning: 'warning_orange' 52 | TSDanger: 'error_red' 53 | # TSStrike: '- - s' 54 | TSTitle: 'blue - b' 55 | TSLiteral: 'green' 56 | TSURI: 'blue - u' 57 | TSMath: 'fg' 58 | TSKeywordOperator: 'purple' 59 | TSStructure: 'fg' 60 | TSStrong: 'yellow_orange' 61 | TSQueryLinterError: 'warning_orange' 62 | TSEnvironment: 'fg' 63 | TSEnvironmentName: 'fg' 64 | TSNote: 'blue' 65 | --------------------------------------------------------------------------------