D.A.B.Tv0.0.33 Tutorial API DABT Tools ↗ GitHub ↗

tui.theme.pick

tui.theme.pick [NAME]

Applies the theme NAME from tui.theme.list to every page and remembers it for the next start. Without NAME it removes the overlay (page default).

Returns: 1 when no theme is called NAME.

Notes

  • Same as picking a theme on the Settings page or in the command palette: tui.config.set theme FILE, then tui.theme.set, which reloads the current page.

Example

tui.theme.pick nord
tui.theme.pick          # back to the page default

See also: tui.theme.set (this run only)