You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[plan] Implement custom Huh theme using pkg/styles color palette #21469
Create a custom Huh theme in pkg/styles/huh_theme.go that maps the existing pkg/styles color palette into a huh.Theme, giving interactive forms the same Dracula-inspired visual identity as the rest of the CLI output.
Context
From the Terminal Stylist audit (discussion #21455), all 11 Huh forms use the default Huh theme. The project has a rich pkg/styles theme with adaptive colors that could be applied via huh.Theme customization for a cohesive UX.
Approach
Create pkg/styles/huh_theme.go
Use huh.ThemeCharm() or huh.ThemeBase() as the starting point and override with project-specific colors
Map styles.ColorPrimary, styles.ColorSuccess, styles.ColorError, styles.ColorWarning, etc. to the appropriate Huh theme fields
Export a HuhTheme() function that returns *huh.Theme
Apply the theme in pkg/console/confirm.go and pkg/console/input.go (centralized form wrappers), and update interactive.go's huh.NewForm() calls to use .WithTheme(styles.HuhTheme())
Activity