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
This release adds two utility functions to the Lip Gloss tool belt:
StyleRunes can apply styling to runes at specific indices in a string, perfect for highlighting matched characters in a fuzzy search result, marking a hotkey on a button and so on.
SetColorProfile sets the color profile on a package-wide basis, which is very useful in testing. Note that outside of testing you probably don’t want to set the color profile as the best available option will be automatically chosen.
Changelog
New
StyleRunes: applying styling to specific runes in a string
SetColorProfile: set the color profile on a package-wide context
Changed
Bump go-runewidth to v0.0.13 for improved emoji rendering
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Miscellaneous Utility Functions
This release adds two utility functions to the Lip Gloss tool belt:
StyleRunes
can apply styling to runes at specific indices in a string, perfect for highlighting matched characters in a fuzzy search result, marking a hotkey on a button and so on.SetColorProfile
sets the color profile on a package-wide basis, which is very useful in testing. Note that outside of testing you probably don’t want to set the color profile as the best available option will be automatically chosen.Changelog
New
StyleRunes
: applying styling to specific runes in a stringSetColorProfile
: set the color profile on a package-wide contextChanged
go-runewidth
to v0.0.13 for improved emoji renderingThoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse or right here in GitHub Discussions.
This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions