tui.get.class.style
tui.get.class.style CLASS FIELD [STATE]
Prints one field of a theme class, without a pane or widget.
Parameters
CLASS: class name without the dot.FIELD:fg,bgormods.STATE:normal(default) or a pseudo-state such asfocus; falls back to the plain class.
Returns: 2 for an invalid FIELD.
Example
accent=$(tui.get.class.style brand fg)
See also: tui.class.style (fork-free)
