Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Sep 12, 2021
1 parent 82fe974 commit 1dd4db9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- refactored `lua/github-theme/config.lua` fixed #29
- telescope.nvim highlights improved
- use `bg_visiual` color as floating window border
- use `bg` and `bg2` colors for `EndOfBuffer` `NoneText` fixed #66

## [v0.0.1] - 9 Jul 2021

Expand Down
8 changes: 3 additions & 5 deletions lua/github-theme/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,13 @@ function M.setup(config)

}

util.bg = colors.bg
colors.bg = config.transparent and colors.none or colors.bg

-- EndOfBuffer colors are configurable
colors.sidebar_eob = config.darkSidebar and colors.bg2 or colors.bg
colors.sidebar_eob = config.hideEndOfBuffer and colors.sidebar_eob or colors.fg_light
colors.sidebar_eob = config.transparent and colors.fg_light or colors.sidebar_eob
colors.eob = config.hideEndOfBuffer and colors.bg or colors.fg_light
colors.eob = config.transparent and colors.fg_light or colors.eob

util.bg = colors.bg
colors.bg = config.transparent and colors.none or colors.bg

colors.fg_search = colors.none
colors.border_highlight = 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 @@ -45,7 +45,7 @@ function M.setup(config)
MsgArea = {fg = c.fg, style = config.msgAreaStyle}, -- Area for messages and cmdline
-- MsgSeparator= { }, -- Separator for scrolled messages, `msgsep` flag of 'display'
MoreMsg = {fg = c.blue}, -- |more-prompt|
NonText = {fg = c.bg}, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
NonText = {fg = c.eof}, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
Normal = {fg = c.fg, bg = config.transparent and c.none or c.bg}, -- normal text
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
Expand Down

0 comments on commit 1dd4db9

Please sign in to comment.