Skip to content

Commit

Permalink
Merge pull request #65 from ful1e5/main
Browse files Browse the repository at this point in the history
feat: Set `border` colors according to `themeStyle`
  • Loading branch information
ful1e5 authored Aug 30, 2021
2 parents 9fbdfa5 + d3d452c commit 82fe974
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Custom [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) colors (releated to #16)
- `msgAreaStyle` config added
- `border` color added in `colors.lua`
- Set `border` colors according to `themeStyle`

### Fixes

Expand Down
3 changes: 2 additions & 1 deletion lua/github-theme/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ function M.setup(config)
bg_visual_selection = themes({dark = "#284566", dimmed = "#264466", light = "#dbe9f9"}),
bg_highlight = themes({dark = "#2c313a", dimmed = "#2d333b", light = "#f6f8fa"}),

border = themes({dark = "#c9d1d9", dimmed = "#444c56", light = "#044289"}),

fg = themes({dark = "#c9d1d9", dimmed = "#adbac7", light = "#24292e"}),
fg_light = themes({dark = "#d1d5da", dimmed = "#adbac7", light = "#586069"}),
fg_gutter = themes({dark = "#e1e4e8", dimmed = "#768390", light = "#babbbd"}),
Expand Down Expand Up @@ -150,7 +152,6 @@ function M.setup(config)
colors.eob = config.transparent and colors.fg_light or colors.eob

colors.fg_search = colors.none
colors.border = colors.bg_visual
colors.border_highlight = colors.blue
colors.bg_statusline = colors.blue

Expand Down
2 changes: 1 addition & 1 deletion lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function M.setup(config)
NormalNC = {fg = c.fg, bg = config.transparent and c.none or c.bg}, -- normal text in non-current windows
NormalSB = {fg = c.fg, bg = c.bg_sidebar}, -- normal text in non-current windows
NormalFloat = {fg = c.fg, bg = c.bg_float}, -- Normal text in floating windows.
FloatBorder = {fg = c.boder},
FloatBorder = {fg = c.border},
Pmenu = {bg = c.pmenu.bg, fg = c.fg}, -- Popup menu: normal item.
PmenuSel = {bg = c.pmenu.select, fg = c.fg}, -- Popup menu: selected item.
PmenuSbar = {bg = c.pmenu.bg}, -- Popup menu: scrollbar.
Expand Down

0 comments on commit 82fe974

Please sign in to comment.