Adds typography, removes canvas
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
Breaking changes
- This release removes the
theme.background.canvas
style. Replace it withtheme.background.screen
.