Commit Graph

9 Commits (main)

Author SHA1 Message Date
Jonathan LEI ba3c24aa02 Set ui.text.inactive for official themes 1 year ago
Grenier Célestin 33ea3eff05
Update theme base16_default (`ui.menu`) (#2794) 2 years ago
Joel 0018545263 fix: remove duplicated `ui.help` in themes
the bottom value is used, so i've removed the top `ui.help` values from all themes

also, the values are not merged, so:

```toml
"ui.help" = { modifiers = ["reversed"] }
"ui.help" = { fg = "white", bg = "black" }
```

is equal to:

```toml
"ui.help" = { fg = "white", bg = "black" }
```
2 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
2 years ago
Michael Davis 3b800025af add diff.{plus,minus,delta} to themes 2 years ago
NNB c7ace15fd4 Add `ui.gutter` theming 2 years ago
Omnikar 42e6d96a75 Use `base16_tty` as 16-color default, fix theme name 2 years ago
NNB cff5344a13 Rename base16_theme.toml to base16_terminal.toml 2 years ago
Omnikar 98ce2a301d Load alt default theme if true color is not supported
* Move `runtime/themes/base16_default_terminal.toml` to
  `base16_theme.toml` alongside `theme.toml`
* Use `terminfo` crate to detect whether the terminal supports true
  color and, if the user has no theme configured and their terminal does
  not support true color, load the alt default theme instead of the
  normal default.

Remove `terminfo` dependency, use `COLORTERM` env instead

Prevent user from switching to an unsupported theme

Add `true-color-override` option

If the terminal is wrongly detected to not support true color,
`true-color-override = true` will override the detection.

Rename `true-color-override` to `true-color`
2 years ago