Skip to content

v0.8.0 Better theming, layout support, internals, and docs

Compare
Choose a tag to compare
@boatbomber boatbomber released this 25 Jul 00:08
· 5 commits to main since this release
d9be2e2

What's Changed

  • Update language.lua to include v569 and v576 changes by @BenMactavsin in #27 and #30

  • Added Highlighter.getTokenColor(tokenName: types.TokenName): Color3
    Mainly useful for setting "background" token color on other UI objects behind your text.

  • Added Highlighter.matchStudioSettings(): ()
    Matches the token colors to the Studio theme settings and refreshes all highlighted textObjects.
    Does nothing when not run in a Studio plugin.

  • Support for UIPadding and LineHeight (and probably AutomaticSize but that's hard to test edge cases)

  • Support for FontFace so weights work correctly

  • Smarter internals that reduce wasted work during resizes, font changes, and other layout-only updates

  • Proper docs in the README

Full Changelog: v0.7.0...v0.8.0