Skip to content

Adds typography, removes canvas

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

This release adds typography values to @expo/styleguide-native. It exports headers and body text.

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. Then, for each set of headers, there are three separate sizes: large, medium, and small. These sizes should match with breakpoints so that we can implement responsive typography across different sized devices.

body

The body text styles are appropriate for all situations and match the type sizes of @expo/styleguide.

Screenshots

Screen Shot 2022-01-30 at 5 56 17 PM

Breaking changes

  • This release removes the theme.background.canvas style. Replace it with theme.background.screen.