I'm giving a try to both new lipgloss list component and huh form package, and something catch my attention.
In lipgloss list, an enumerator is both a string ("." for bullet, for instance) AND a style that is applied to.
Conversely, huh takes another approach, where enumerators are just styles, where string is set (lipgloss.NewStyle().SetString("> ")).
While i think i prefer the huh approach, I'm especially concerned about consistency between these two packages and I would like to have your opinion on this "issue".
Lipgloss list is not already officially released, maybe there is something to do :)
I'm giving a try to both new lipgloss list component and huh form package, and something catch my attention.
In lipgloss list, an enumerator is both a string (
"."
for bullet, for instance) AND a style that is applied to.Conversely, huh takes another approach, where enumerators are just styles, where string is set (
lipgloss.NewStyle().SetString("> ")
).While i think i prefer the huh approach, I'm especially concerned about consistency between these two packages and I would like to have your opinion on this "issue".
Lipgloss list is not already officially released, maybe there is something to do :)