CustomHUD icon indicating copy to clipboard operation
CustomHUD copied to clipboard

Suggestion: Conditional support for theming

Open centranthus-ki opened this issue 11 months ago • 1 comments

Allow usage of conditionals, like changing the background color of an element based on a variable

centranthus-ki avatar Feb 02 '25 03:02 centranthus-ki

Hey! Diet for the long delay. This is mostly possible right now, if you use local theming instead of global theming.

Example:

==Section: TopLeft==
=if: x > 0=
=BackgroundColor: red=
=else=
=BackgroundColor: blue=
=endif=
Words

There's only a few things that are global only, and there's plans to make them all work locally.

If you mean changing theme mid line, that's also planned.

Minenash avatar Apr 29 '25 08:04 Minenash