Skip to content

Adds header sizes, removes canvas

Compare
Choose a tag to compare
@jonsamp jonsamp released this 30 Jan 22:59
· 307 commits to main since this release

Changes

This release adds header typography values to @expo/styleguide. It now exports two sets of headers.

headers

There are two sets of headers: xl and default. xl is preferable when using marketing screens, while default is appropriate for general-purpose UI. We can access them with headers.default.h1, for instance.

Fixes

  • Fixes the small responsive style for <HUGE> elements under headers.xl.huge.

Breaking changes

  • Removed the theme.background.canvas style. Replace it with theme.background.screen style.