Skip to content

Commit

Permalink
Merge pull request #61 from ful1e5/main
Browse files Browse the repository at this point in the history
feat: nvim-web-devicons colors updated (releated to #16)
  • Loading branch information
ful1e5 committed Aug 21, 2021
2 parents c8802ec + 4d5ee2c commit f61ebb3
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Terminal themes are structured through `extra/init.lua`
- Area for messages and cmdline with `bold` text highlight #44
- `hideEndOfBuffer` options added. Enabling this option, will hide filler lines (~) after the end of the buffer #46
- Custom [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) colors (releated to #16)

### Fixes

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Extra color configs for **kitty**, **iTerm**, **Konsole** and **Alacritty** can
- [lspsaga.nvim](https://github.com/glepnir/lspsaga.nvim)
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
- [nvim-bufferline.lua](https://github.com/akinsho/nvim-bufferline.lua)
- [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons)
- [Neogit](https://github.com/TimUntersberger/neogit)
- [NvimTree](https://github.com/kyazdani42/nvim-tree.lua)
- [Telescope](https://github.com/nvim-telescope/telescope.nvim)
Expand Down
29 changes: 29 additions & 0 deletions lua/github-theme/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,35 @@ function M.setup(config)
change = themes({dark = "#2188ff", dimmed = "#966600", light = "#2188ff"}),
add = themes({dark = "#28a745", dimmed = "#2b6a30", light = "#28a745"}),
delete = themes({dark = "#ea4a5a", dimmed = "#ad2e2c", light = "#d73a49"})
},

devIcons = {
c = "#519aba",
clojure = "#8dc149",
coffeescript = "#cbcb41",
csharp = "#519aba",
css = "#519aba",
markdown = "#519aba",
go = "#519aba",
html = "#e37933",
java = "#cc3e44",
javascript = "#cbcb41",
json = "#cbcb41",
less = "#519aba",
make = "#e37933",
mustache = "#e37933",
php = "#a074c4",
python = "#4e93b3",
ruby_on_rails = "#cc3e44",
ruby = "#cc3e44",
sass = "#f55385",
scss = "#f55385",
shellscipt = "#4d5a5e",
sql = "#f55385",
typescript = "#519aba",
xml = "#e37933",
yml = "#a074c4"

}

}
Expand Down
31 changes: 30 additions & 1 deletion lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,36 @@ function M.setup(config)

-- ALE
ALEWarningSign = {fg = c.warning},
ALEErrorSign = {fg = c.error}
ALEErrorSign = {fg = c.error},

-- DevIcons
DevIconC = {fg = c.devIcons.c},
DevIconClojure = {fg = c.devIcons.clojure},
DevIconCoffee = {fg = c.devIcons.coffeescript},
DevIconCs = {fg = c.devIcons.csharp},
DevIconCss = {fg = c.devIcons.css},
DevIconMarkdown = {fg = c.devIcons.markdown},
DevIconGo = {fg = c.devIcons.go},
DevIconHtm = {fg = c.devIcons.html},
DevIconHtml = {fg = c.devIcons.html},
DevIconJava = {fg = c.devIcons.java},
DevIconJs = {fg = c.devIcons.javascript},
DevIconJson = {fg = c.devIcons.json},
DevIconLess = {fg = c.devIcons.less},
DevIconMakefile = {fg = c.devIcons.make},
DevIconMustache = {fg = c.devIcons.mustache},
DevIconPhp = {fg = c.devIcons.php},
DevIconPython = {fg = c.devIcons.python},
DevIconErb = {fg = c.devIcons.ruby_on_rails},
DevIconRb = {fg = c.devIcons.ruby},
DevIconSass = {fg = c.devIcons.sass},
DevIconScss = {fg = c.devIcons.scss},
DevIconSh = {fg = c.devIcons.shellscript},
DevIconSql = {fg = c.devIcons.sql},
DevIconTs = {fg = c.devIcons.typescript},
DevIconXml = {fg = c.devIcons.xml},
DevIconYaml = {fg = c.devIcons.yml},
DevIconYml = {fg = c.devIcons.yml}
}

if config.hideInactiveStatusline then
Expand Down

0 comments on commit f61ebb3

Please sign in to comment.