Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistency accross enumerators #318

Open
nervo opened this issue Jun 12, 2024 · 0 comments
Open

Consistency accross enumerators #318

nervo opened this issue Jun 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nervo
Copy link
Contributor

nervo commented Jun 12, 2024

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 :)

@nervo nervo added the enhancement New feature or request label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant