Skip to content

Commit

Permalink
Merge pull request #27 from projekt0n/dev
Browse files Browse the repository at this point in the history
`folded` colors are configurable
  • Loading branch information
ful1e5 authored Jul 14, 2021
2 parents a3ff01c + eade9d1 commit eb35f2b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

### Added

- `folded` colors are configurable

### Fixes

- Kitty themes typo fixed #3
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,7 @@ require("github-theme").setup({
- Font: [Ubuntu Mono](https://design.ubuntu.com/font/)
- config: [dotfiles](https://github.com/ful1e5/dotfiles)

## Support The Creator

<a href="https://www.buymeacoffee.com/Nt7Wg4V" >
<img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
</a>

<!-- Ninja -->
<p align="center">
<h1 align="center">(◣_◢)</h1>
<h3 align="center">|| || ||</h1>
</p>
4 changes: 4 additions & 0 deletions lua/github-theme/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ function M.setup(config)
colors.border_highlight = colors.blue
colors.bg_statusline = colors.blue

-- Folded colors are configurable
colors.fg_folded = colors.fg
colors.bg_folded = colors.bg_visual_selection

-- Popups always get a dark background
colors.bg_popup = colors.bg2

Expand Down
4 changes: 2 additions & 2 deletions lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function M.setup(config)
-- TermCursorNC= { }, -- cursor in an unfocused terminal
ErrorMsg = {fg = c.error}, -- error messages on the command line
VertSplit = {fg = c.bg_visual, bg = c.bg}, -- the column separating vertically split windows
Folded = {fg = c.fg, bg = c.bg_visual_selection}, -- line used for closed folds
FoldColumn = {bg = c.fg, fg = c.bg_visual_selection}, -- 'foldcolumn'
Folded = {fg = c.fg_folded, bg = c.bg_folded}, -- line used for closed folds
FoldColumn = {fg = c.fg_folded, bg = c.bg_folded}, -- 'foldcolumn'
SignColumn = {bg = config.transparent and c.none or c.bg, fg = c.fg_gutter}, -- column where |signs| are displayed
SignColumnSB = {bg = c.bg_sidebar, fg = c.fg_gutter}, -- column where |signs| are displayed
Substitute = {bg = c.red, fg = c.black}, -- |:substitute| replacement text highlighting
Expand Down

0 comments on commit eb35f2b

Please sign in to comment.