Skip to content

bubbletea + lipgloss v2#217

Open
wheelibin wants to merge 2 commits intoEvertras:mainfrom
wheelibin:main
Open

bubbletea + lipgloss v2#217
wheelibin wants to merge 2 commits intoEvertras:mainfrom
wheelibin:main

Conversation

@wheelibin
Copy link
Copy Markdown
Contributor

@wheelibin wheelibin commented Apr 21, 2026

Hi @Evertras

This PR updates the charm libraries to v2 following the official upgrade guide.

I updated my app to bubbletea V2 and then needed bubble-table (which I heavily rely on) to also be updated.
I created a fork for this purpose and I'm currently using that, however I'd prefer to contribute this back if possible and drop my fork.

Relevant issues: #194 #216

Cheers!

…er lines

The top border, header/data separator, and last-row bottom border are
rendered as plain strings (not lipgloss styles) to work around lipgloss v2
Width() semantics. This means BorderForeground set via WithBaseStyle has no
effect on them. WithBorderForeground(color.Color) stores the colour on the
Border struct and applies it via lipgloss.NewStyle().Foreground().Render()
in buildBorderLine, making all border lines consistently coloured.
Copy link
Copy Markdown
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW LGTM. Thank you for your effort, @wheelibin !!! I really hope this gets merged and I can remove the hacks I've made for upgrading my app to the latest Bubble Tea version.

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.

2 participants