Skip to content

v2.0.0

Compare
Choose a tag to compare
@chanan chanan released this 09 Mar 21:34
· 29 commits to master since this release

BREAKING CHANGES

  • Setup: No need for tags in the head anymore. Remove them all. Only setup needed is register the services (AddBlazorStyled)
  • Themes API changes: Set theme values using IStyled.SetThemeValue
  • Themes API changes: Get all values using IStyled.GetThemeValues

Other changes

  • Each Styledsheet id (WithId) now has its own style tag in the head
  • Compose now returns returns a list of classes instead of creating a new class with all the rules of the composed classes
  • You can now put rules directly in the <Styled>...</Styled> tag when composing that serve as the basis for the all the classes being composed
  • A bug was fixed where a class with just a label caused an exception