Commit Graph

24 Commits (9a4e6fdf2573cca5e14e16b8b3b8bdeb0fc6eb23)

Author SHA1 Message Date
Pascal Kuthe 66a49080bc
merge underline-style and underline-color into a single table 2 years ago
Pascal Kuthe 7bc324fde9
make casing consistent with other configuration 2 years ago
Pascal Kuthe 71ee589bbc
make underline_style a seperate option
Underline styles are mutally exclusive and overwrite each other.
Therefore implementing as an modifier lead to incorrect behaviour
when the underline style is overwritten.

For backwards compatability the "underline" modified is retained (but
deprecated). Instead the "underline_style" and "underline_color"
optios should be used to style underlines.
2 years ago
Gokul Soumya 79d3d44c3d
Detect extended underline support using terminfo
The cxterminfo crate has been used over popular alternatives
like `term` since it supports querying for extended capabilities
and also for it's small codebase size (which will make it easy
to inline it into helix in the future if required).
2 years ago
Gokul Soumya 999b45b28c
Support different kinds of underline rendering
Adds four new  modifiers that can be used in themes:

- undercurled
- underdashed
- underdotted
- double-underline
2 years ago
Alexander Brevig 16525349db
Themes update (#3587)
* lint: snazzy

* lint: pop-dark

* lint: penumbra+

* lint: noctis_bordo

* lint: ingrid

* lint: flatwhite

* lint: doom_acario_dark

* lint: dark_plus

* lint: boo_berry

* fix: use 47345E per author instruction

* lint: bogster

* lint: everforest

* lint: acme

* lint: serika

* fix: use nasty_red per author suggestion

* lint: nord

* lint: dracula

* lint: gruvbox

* fix: cursorline gruvbox

* lint: autumn

* fix: no fg for cursorline

* lint: ayu

* lint: rose_pine

* lint: monokai

* lint: solarized

* lint: spacebones

* fix: penumbra bg!=sky

* Update runtime/themes/ayu_light.toml

Co-authored-by: Ivan Tham <pickfire@riseup.net>

* Update runtime/themes/ayu_light.toml

Co-authored-by: Ivan Tham <pickfire@riseup.net>

* fix: fg for ui.help thanks @pickfire

* fix: ingrid with input from @intarga

Co-authored-by: Ivan Tham <pickfire@riseup.net>
2 years ago
nosa c5deb30814
Theme Related Fixes (#3412) 2 years ago
Mr. E b6e06c8c0c
feat(themes): add mode-specific styles to the onedark theme (#3098) 2 years ago
Gokul Soumya b7a3531b8f
theme(onedark): Remove bg for window separator (#3011) 2 years ago
Gokul Soumya 23ce5f1837
Add cursorline scope for onedark theme (#2892) 2 years ago
Gokul Soumya a26943de4e
Right align scrollbar with track in completion popup (#2754)
- Align the scollbar to the right edge of the popup rather than at
  a margin of one.
- Add a scrollbar track and a new scope `ui.menu.scroll`.
2 years ago
Gokul Soumya 924b4ebb39 Add theme scopes for indent guides 2 years ago
Christoph Horn 9be810fd01 add missing `ui.menu` to themes, fix issues with some themes 3 years ago
Gokul Soumya 3626e38e51 Add ui.virtual theme scopes for onedark theme 3 years ago
Michael Davis 1525e3c6c8 theme ui.virtual capture for existing themes 3 years ago
Lucy 4b1fe367fa
Remove dim attribute in onedark ui.linenr (#2155) 3 years ago
NNB 83bde1004d
Add markup support (#1525)
* Add markup support for all Base16 themes

* Fix rose_pine `markup.link.text` attribute misname

* Add basic default markup support for all themes

* Fix cursor change color on Base16 terminal and default

* Remove old markup monokai_pro support and fix Onedark `markup.link.text` attribute misname

* Remove old markup dracula support
3 years ago
Michael Davis 3b800025af add diff.{plus,minus,delta} to themes 3 years ago
Gokul Soumya b2f8f2ba77
Update onedark theme to use new scopes (#1297) 3 years ago
Gokul Soumya ea452bec80
Update onedark theme (#936)
- Use named color palette
- Remove blue highlight for variables (too much noise)
- Add purple highlight for control statements (if, match, etc)
3 years ago
Gokul Soumya eec5631140 Update popup and diagnostics in onedark theme 3 years ago
Gokul Soumya f909526ebd Update onedark theme
Add colors for matching brace, non primary selections, inactive
statusline
3 years ago
Ivan Tham 74cc4b4a49
Add default color for cursor match (#370)
* Add default color for cursor match

Not all terminals support dim, for those terminal that does not support
this (konsole, item2, wezterm), users cannot differentiate between match
and primary cursor. So set a color for this.

* Use alacritty dim color for match
3 years ago
wojciechkepka 3b534e17f4 Move themes to runtime/themes, add link from contrib/themes 3 years ago