Skip to content

Commit

Permalink
Merge pull request #17 from projekt0n/dev
Browse files Browse the repository at this point in the history
fixed #11: Added option to customize statusline background with `colors.bg_statusline`
  • Loading branch information
ful1e5 committed Jul 10, 2021
2 parents ca6a37e + b0b24dd commit c6c8a5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Kitty themes typo fixed #3
- Change terminal background color to `bg` #2
- Fold Bright background fixed #5
- Added option to customize statusline background with `bg_statusline` #11

## [v0.0.1] - 9 Jul 2021

Expand Down
4 changes: 2 additions & 2 deletions lua/github-theme/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ function M.setup(config)

colors.black = util.darken(colors.bg, 0.8, "#000000")
colors.border_highlight = colors.blue
colors.bg_statusline = colors.blue

-- Popups and statusline always get a dark background
-- Popups always get a dark background
colors.bg_popup = colors.bg2
colors.bg_statusline = colors.bg

-- Sidebar and Floats are configurable
colors.bg_sidebar = config.darkSidebar and colors.bg2 or colors.bg
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 @@ -64,7 +64,7 @@ function M.setup(config)
SpellCap = {sp = c.warning, style = "undercurl"}, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellLocal = {sp = c.info, style = "undercurl"}, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
SpellRare = {sp = c.hint, style = "undercurl"}, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
StatusLine = {fg = c.bg, bg = c.blue}, -- status line of current window
StatusLine = {fg = c.bg, bg = c.bg_statusline}, -- status line of current window
StatusLineNC = {fg = c.fg, bg = c.bg}, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
TabLine = {bg = c.bg, fg = c.fg}, -- tab pages line, not active tab page label
TabLineFill = {bg = c.bg2}, -- tab pages line, where there are no labels
Expand Down

0 comments on commit c6c8a5e

Please sign in to comment.