Skip to content

Commit 7c1ed06

Browse files
committed
fix: Neotree Title highlight fixed
Fixed projekt0n#257
1 parent eb92136 commit 7c1ed06

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
### What's New?
11+
12+
### Changes
13+
1014
### Issues Fix
1115

16+
- Fixed Interactive mode in compiled colorscheme
1217
- #254 fixed
18+
- #257 fixed
1319

1420
## [v1.0.0] - 19 May 2023
1521

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ local specs = {
351351
-- Specs allow you to define a value using either a color or template. If the string does
352352
-- start with `#` the string will be used as the path of the palette table. Defining just
353353
-- a color uses the base version of that color.
354-
keyword = 'magenta.base',
354+
keyword = 'magenta',
355355

356356
-- Adding either `.bright` will change the value
357357
conditional = 'magenta.bright',
@@ -382,7 +382,7 @@ local groups = {
382382
Whitespace = { link = 'Comment' },
383383

384384
-- Specs are used for the template. Specs have their palette's as a field that can be accessed
385-
IncSearch = { bg = 'palette.cyan.base' },
385+
IncSearch = { bg = 'palette.cyan' },
386386
},
387387
github_dark = {
388388
-- As with specs and palettes, a specific style's value will be used over the `all`'s value.

Usage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ override.palettes({
6464
override.specs({
6565
github_dark = {
6666
syntax = {
67-
keyword = 'magenta.base'
67+
keyword = 'magenta'
6868
}
6969
}
7070
})
7171
override.groups({
7272
all = {
73-
IncSearch = { bg = 'palette.cyan.base' },
73+
IncSearch = { bg = 'palette.cyan' },
7474
},
7575
})
7676
```
@@ -99,13 +99,13 @@ local palettes = {
9999
local specs = {
100100
github_dark = {
101101
syntax = {
102-
keyword = 'magenta.base'
102+
keyword = 'magenta'
103103
}
104104
}
105105
}
106106
local groups = {
107107
all = {
108-
IncSearch = { bg = 'palette.cyan.base' },
108+
IncSearch = { bg = 'palette.cyan' },
109109
},
110110
}
111111
require('github-theme').setup({
@@ -133,7 +133,7 @@ local specs = {
133133
github_dark = {
134134
syntax = {
135135
-- The value does not start with `#`, so it is treated as a template.
136-
keyword = 'magenta.base',
136+
keyword = 'magenta',
137137

138138
-- Adding either `.bright` or `.base` will change the value
139139
conditional = 'magenta.bright',

doc/github-nvim-theme.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ separately to customize the theme according to your preferences.
9090
override.specs({
9191
github_dark = {
9292
syntax = {
93-
keyword = 'magenta.base'
93+
keyword = 'magenta'
9494
}
9595
}
9696
})
9797
override.groups({
9898
all = {
99-
IncSearch = { bg = 'palette.cyan.base' },
99+
IncSearch = { bg = 'palette.cyan' },
100100
},
101101
})
102102
<
@@ -131,13 +131,13 @@ function.
131131
local specs = {
132132
github_dark = {
133133
syntax = {
134-
keyword = 'magenta.base'
134+
keyword = 'magenta'
135135
}
136136
}
137137
}
138138
local groups = {
139139
all = {
140-
IncSearch = { bg = 'palette.cyan.base' },
140+
IncSearch = { bg = 'palette.cyan' },
141141
},
142142
}
143143
require('github-theme').setup({
@@ -172,7 +172,7 @@ A template path is composed of keys used to index into the table, separated by
172172
github_dark = {
173173
syntax = {
174174
-- The value does not start with `#`, so it is treated as a template.
175-
keyword = 'magenta.base',
175+
keyword = 'magenta',
176176

177177
-- Adding either `.bright` or `.base` will change the value
178178
conditional = 'magenta.bright',

lua/github-theme/group/modules/neotree.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function M.get(spec, config, opts)
1818
return {
1919
NeoTreeNormal = { link = 'NormalSB' },
2020
NeoTreeNormalNC = { link = 'NeoTreeNormal' },
21+
NeoTreeTitleBar = { fg = spec.bg1, bg = blend(c.blue.base, 0.9) },
2122
NeoTreeEndOfBuffer = { fg = (hide_eof and dark_sb) and spec.bg0 or spec.fg0 },
2223
NeoTreeIndentMarker = { fg = spec.bg4 },
2324

0 commit comments

Comments
 (0)