v14.0.8


design

Typography

God is in the kerning

Product text styles

Wonderflow types styles are grouped into four categories: display, headings, tagline and body. Each category comes with a default set of variants, as well as a range of options that allow for flexibility within the user interface. By using a single scale for all variants our type styles can be applied seamlessly across all screen sizes, enabling a coherent and cohesive user experience.

Typefaces

We want our digital products to feel seamless and natural to users. That's why we use system fonts, which adapt to the operating system being used. This way, the typeface matches the look and feel of other native applications, helping our product blend in with the rest of the user's system.

Font family

Wonderflow’s font families are composed of two typefaces: sans-serif and mono. Each is designed for a specific function that is core to the Wonderflow brand.

Display sans-serif

for editorial & marketing headlines

Text sans-serif

for UI text

monospace

for code

Typographic scale

Our font-sizes are based on the Minor third scale with a base font size of 16px. Each size is multiplied or divided by 1.2 from the previous size, starting with the base size, and rounded to a multiple of 4px.

Wonderflow

body-3

Wonderflow

body-2

Wonderflow

body-1

Wonderflow

subtitle-2

Wonderflow

subtitle-1

Wonderflow

tagline-3

Wonderflow

tagline-2

Wonderflow

tagline-1

Wonderflow

heading-6

Wonderflow

heading-5

Wonderflow

heading-4

Wonderflow

heading-3

Wonderflow

heading-2

Wonderflow

heading-1

Wonderflow

display-4

Wonderflow

display-3

Wonderflow

display-2

Wonderflow

display-1

Font Weight

Font weights in typography can enhance the hierarchical structure and draw attention to important content on a surface. We recommend using Heavy, Bold, Medium, Regular and Light weights to support most use cases.

    Light

    300

    Wonderflow

--wds-font-weight-light

    Regular

    400

    Wonderflow

--wds-font-weight-regular

    Semibold

    600

    Wonderflow

--wds-font-weight-semibold

    Bold

    700

    Wonderflow

--wds-font-weight-bold

    Heavy

    800

    Wonderflow

--wds-font-weight-heavy

Text Color

Our default text colour is light-dimmed-color-7. You may adjust the text colours using the recommended colour tokens that correspond to pre-defined colour values. This ensures that the text remains easily readable and has appropriate contrast against different background colours.

Light backgrounds

When placing text on a light background, all type should use the following colour values:

Dark backgrounds

When placing text on a dark background, all type should use the following colour values:

Line Length

The readability of paragraphs can be influenced by the line length. It is recommended to have between 40 to 64 characters per line. This creates easy-to-read paragraphs with optimal readability.

Alignment

Our recommendation is to use left alignment when styling UI copy in left-to-right languages. This creates a more visually consistent design and enhances the reading experience by highlighting the content hierarchy.


Relevance

Learn what drives the satisfaction and dissatisfaction of customers.

Do

- Left align text


Relevance

Learn what drives the satisfaction and dissatisfaction of customers.

Do

- Right align text for right-to-left languages

When to center

While centering text may not always be the most effective approach for information design and legibility, it can be appropriate in certain contexts such as with an empty state, card or under an image if the amount of content is small.


Relevance

Learn what drives the satisfaction and dissatisfaction of customers.

Do

- Center align text

Type styles

Our type styles are organised into three groups: Display, Heading and Body. They use one scale, allowing for easier application across a variety of screen sizes.

Display

Our type scale includes four display styles that are intended for editorial or marketing use. They work best on large screens.

Headings

Heading styles are used to establish hierarchy on a page by varying in size and weight. By combining different styles can differentiate content and help guide users through a page.

Body

Body text is available in three different sizes. Use body text for longer page content.

Responsive

Display and heading styles are responsive and will change size at different breakpoints. Heading-6, tagline-3 and body styles will remain the same size regardless of breakpoint.

Tokens

font-family

TokenCSS PropertyValue
--wds-font-family-sansfont-familysystem-ui, sans-serif
--wds-font-family-monofont-familymonospace

font-size

TokenCSS PropertyValue
--wds-font-size-12font-size12px/0.75rem
--wds-font-size-14font-size14px/0.875rem
--wds-font-size-16font-size16px/1rem
--wds-font-size-20font-size20px/1.25rem
--wds-font-size-24font-size24px/1.5rem
--wds-font-size-28font-size28px/1.75rem
--wds-font-size-32font-size32px/2rem
--wds-font-size-40font-size40px/2.5rem
--wds-font-size-48font-size48px/3rem
--wds-font-size-56font-size56px/3.5rem
--wds-font-size-68font-size68px/4rem
--wds-font-size-80font-size80px/5rem
--wds-font-size-96font-size96px/6rem

font-weight

TokenCSS PropertyValue
--wds-font-weight-heavyfont-weight800
--wds-font-weight-boldfont-weight700
--wds-font-weight-semiboldfont-weight600
--wds-font-weight-regularfont-weight400
--wds-font-weight-lightfont-weight300

letter-spacing

TokenCSS PropertyValue
--wds-letter-spacing-0letter-spacing0
--wds-letter-spacing-16letter-spacing0.01rem
--wds-letter-spacing-24letter-spacing0.015rem
--wds-letter-spacing-32letter-spacing0.02rem

line-height

TokenCSS PropertyValue
--wds-line-height-16line-height16px/1rem
--wds-line-height-20line-height20px/1.25rem
--wds-line-height-24line-height24px/1.5rem
--wds-line-height-28line-height28px/1.75rem
--wds-line-height-32line-height32px/2rem
--wds-line-height-36line-height36px/2.25rem
--wds-line-height-40line-height40px/2.5rem
--wds-line-height-48line-height48px/3rem
--wds-line-height-56line-height56px/3.5rem
--wds-line-height-64line-height64px/4rem
--wds-line-height-80line-height80px/5rem
--wds-line-height-96line-height96px/6rem
--wds-line-height-108line-height108px/6.75rem

Resources

Check the resource page to download all the Wonderflow's assets.


Created by Wonderflow Design Team for Wonderflow.

© Wonderflow 2024