Commit Graph

8 Commits (a7ff39fe3e8da94b50bc5595f77dc7097f546b52)

Author SHA1 Message Date
Mathspy fa4934cff9
Default rulers color to red (#2669)
* Default rulers color to red

Currently if the theme a user is using doesn't have `ui.virtual.rulers`
set and they set up a ruler it just fails silently making it really hard
to figure out what went wrong. Did they set incorrectly set the ruler?
Are they using an outdated version of Helix that doesn't support rulers?

This happened to me today, I even switched to the default theme with
the assumption that maybe my theme just doesn't have the rulers setup
properly and it still didn't work.

Not sure if this is a good idea or not, feel free to suggest better
alternatives!

* Use builtin Style methods instead of Bevy style defaults

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Only default the style if there's no ui or ui.virtual

* Update themes style from ui.virtual to ui.virtual.whitespace

* Revert ui.virtual change in onelight theme

* Prefer unwrap_or_else

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
3 years ago
Christoph Horn 9be810fd01 add missing `ui.menu` to themes, fix issues with some themes 3 years ago
Fanda Vacek f3164c1174
Monokai pro spectrum theme shows error in yellow on red background (#2433)
Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
3 years ago
Yang Tang 667cdf929f
Fix spelling errors in some themes (#2324) 3 years ago
Michael Davis 1525e3c6c8 theme ui.virtual capture for existing themes 3 years ago
WindSoilder 4563832318
add markup support for monokai pro themes (#1553) 3 years ago
Michael Davis 3b800025af add diff.{plus,minus,delta} to themes 3 years ago
WindSoilder cf40e61b0a
add more monokai pro filter themes (#1220) 3 years ago