THEME global variable should include Modifier as an enum #2380
Closed
boydaihungst
started this conversation in
3. Ideas
Replies: 1 comment
-
|
This is now supported with #3419 - the ya.dbg(th.indicator.current:raw())prints: {
reversed = true,
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think THEME should include Modifier (e.g., reversed) as an enum. At the moment, it seems to only return an integer, which is the sum of all modifiers.
The reason is that sometimes developers create GUI plugins with custom themes that need to recognize user modifiers to draw colors correctly. For example, your mactag.yazi won’t work well if users change the
hovered reversedmodifier tofalse.yazi/yazi-config/preset/theme-dark.toml
Line 25 in 52a5ab5
Beta Was this translation helpful? Give feedback.
All reactions