Skip to content

v2.2.0-alpha.2

Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 26 Nov 15:33
v2.2.0-alpha.2
023fabe

Highlights

  • roles.Lerp crossfades between dark and light tints. It used to return the target tint, so switching between a dark and a light theme snapped. Text now stays readable through the fade, flipping from light to dark once, at the frame where the background turns light.
  • Fewer collisions at 256 colors. Dialogs and menus now stay apart from the page as well as from the panel under them. A side panel's hovered and selected rows stay apart from the panel, and input wells stay apart from panels, dialogs and hovered rows. On light tints such as TokyoNight Day, a side panel's selected row used to vanish into the panel.
  • Fit at 256 colors is about 8× faster, which matters when a crossfade fits a palette on every frame. The colors it picks are unchanged.

Changelog

✨ New Features

🐞 Bug Fixes

⚡ Performance

  • b22b58d: roles: scan for the nearest 256-color index, rather than sort (@lrstanley)

Full changelog: v2.2.0-alpha.1...v2.2.0-alpha.2

📦 Install

go get github.com/lrstanley/bubbletint/chromatint/v2@v2.2.0-alpha.2
go get github.com/lrstanley/bubbletint/glamourtint/v2@v2.2.0-alpha.2
go get github.com/lrstanley/bubbletint/roles/v2@v2.2.0-alpha.2
go get github.com/lrstanley/bubbletint/sources/v2@v2.2.0-alpha.2
go get github.com/lrstanley/bubbletint/v2@v2.2.0-alpha.2

Docs:

💬 What to do next?