Skip to content

Commit c6c8a5e

Browse files
authored
Merge pull request #17 from projekt0n/dev
fixed #11: Added option to customize statusline background with `colors.bg_statusline`
2 parents ca6a37e + b0b24dd commit c6c8a5e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Kitty themes typo fixed #3
1313
- Change terminal background color to `bg` #2
1414
- Fold Bright background fixed #5
15+
- Added option to customize statusline background with `bg_statusline` #11
1516

1617
## [v0.0.1] - 9 Jul 2021
1718

lua/github-theme/colors.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ function M.setup(config)
113113

114114
colors.black = util.darken(colors.bg, 0.8, "#000000")
115115
colors.border_highlight = colors.blue
116+
colors.bg_statusline = colors.blue
116117

117-
-- Popups and statusline always get a dark background
118+
-- Popups always get a dark background
118119
colors.bg_popup = colors.bg2
119-
colors.bg_statusline = colors.bg
120120

121121
-- Sidebar and Floats are configurable
122122
colors.bg_sidebar = config.darkSidebar and colors.bg2 or colors.bg

lua/github-theme/theme.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function M.setup(config)
6464
SpellCap = {sp = c.warning, style = "undercurl"}, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
6565
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.
6666
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.
67-
StatusLine = {fg = c.bg, bg = c.blue}, -- status line of current window
67+
StatusLine = {fg = c.bg, bg = c.bg_statusline}, -- status line of current window
6868
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.
6969
TabLine = {bg = c.bg, fg = c.fg}, -- tab pages line, not active tab page label
7070
TabLineFill = {bg = c.bg2}, -- tab pages line, where there are no labels

0 commit comments

Comments
 (0)