Skip to content

chore: Pass theme directly to Selectors - #49

Merged
sestrella merged 1 commit into
mainfrom
pass_theme_directly_to_selectors
Jan 11, 2026
Merged

chore: Pass theme directly to Selectors#49
sestrella merged 1 commit into
mainfrom
pass_theme_directly_to_selectors

Conversation

@sestrella

Copy link
Copy Markdown
Owner

The huh library has been updated, and the way themes are handled has changed. Previously, themes were selected by a string name from a map of functions. Now, themes are directly passed as *huh.Theme objects.

This commit updates the rootCmd to handle the theme selection using the new approach. It also updates the NewSelectors function in selector/root.go to accept a huh.Theme directly. Additionally, the execCmd, logsCmd, and updateCmd have been adjusted to pass the selected theme correctly.

The `huh` library has been updated, and the way themes are handled has changed. Previously, themes were selected by a string name from a map of functions. Now, themes are directly passed as `*huh.Theme` objects.

This commit updates the `rootCmd` to handle the theme selection using the new approach. It also updates the `NewSelectors` function in `selector/root.go` to accept a `huh.Theme` directly. Additionally, the `execCmd`, `logsCmd`, and `updateCmd` have been adjusted to pass the selected theme correctly.
@sestrella sestrella changed the title fix(deps): update charmbracelet/huh chore: Pass theme directly to Selectors Jan 11, 2026
@sestrella
sestrella merged commit 6f3c1b9 into main Jan 11, 2026
2 checks passed
@sestrella
sestrella deleted the pass_theme_directly_to_selectors branch January 11, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant