Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fluid heading styles docs #4043

Merged
merged 5 commits into from
May 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/pages/elements/typography/type-sets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,17 @@ headings are needed.

The fluid heading styles are primarily used in web pages, and are therefore part
of the expressive set of type styles. These headings are responsive and the type
styles change size at different breakpoints.
styles actually change size incrementally (almost imperceptibly) between the
different breakpoints — hence the name "fluid."

Do not use these styles inside a container. They may be used in product pages
where text sits outside of a container, and a blend of expressive and productive
type styles is desired for hierarchy and distinction. For more information, see
[Style strategies](/guidelines/typography/style-strategies).

_Note: the slider below shows the type sizes jumping abruptly between
breakpoints, which is not a good representation of the actual behavior._

<TypesetStyle typesets="fluidHeadings" breakpointControls={true} />

## Fluid display styles
Expand Down
Loading