Browse and preview installed UI themes

SolidGroundUX DocumentationSolidGroundUX
NL

fn: show_theme

Purpose

Cycle through installed SolidGroundUX themes and preview each one.

Behavior

  • Discovers numbered NN-style-*.sh files in SGND_STYLE_DIR.
  • Starts at the currently active theme when possible.
  • Uses Left/Right arrows to switch the runtime theme without saving it.
  • Displays sgnd_style_samples after every successful switch.
  • Q returns to the smoke-test menu and leaves the selected theme active.

Returns

  • 0 after leaving the theme browser.
  • 1 when no readable themes are found.

Usage

  show_theme