Type Styles

We use fluid scaling for typography, meaning we don’t need to specify exact breakpoints. Instead, we define sizes for desktop & mobile and use relative units for the other values to allow the styles to scale seamlessly without much work. With this in mind, it’s important to ensure line-height and letter-spacing are set in percentage (%) values, not pixels.

Heading 1

Heading 1 (italic)

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Body (regular)

Body light

Body bold (medium)

Body Small (regular)

Body Small light

Body Small bold (medium)

Caption

Utility

Blockquote - Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa.

Fluid Utility

We use fluid scaling for utility classes, meaning we don’t need to specify exact breakpoints. Instead, we define sizes for desktop & mobile and use relative units for the other values to allow the styles to scale seamlessly without much work.

Following are the utilities are available available:

  • fluid-text-[mobile|desktop]
  • fluid-line-height-[mobile|desktop]
  • fluid-gap-[mobile|desktop]
  • fluid-pl-[mobile|desktop]
  • fluid-pr-[mobile|desktop]
  • fluid-pb-[mobile|desktop]
  • fluid-pt-[mobile|desktop]
  • fluid-ml-[mobile|desktop]
  • fluid-mr-[mobile|desktop]
  • fluid-mb-[mobile|desktop]
  • fluid-mt-[mobile|desktop]
  • fluid-inset-[mobile|desktop]
  • fluid-top-[mobile|desktop]
  • fluid-right-[mobile|desktop]
  • fluid-bottom-[mobile|desktop]
  • fluid-left-[mobile|desktop]
  • fluid-size-[mobile|desktop]

Note: Replace mobile with Mobile Pixel Size Base and desktop with Desktop Size base

Examples:

Fluid, 12|16

Fluid, 30|70

fluid-size-[200|400]

Buttons

CTA snippet

Spacing

2xs xs sm md lg xl 2xl 3xl

Border Radius

rounded-sm rounded-md rounded-lg rounded-rounded

Colors

Utilities

Utility/_Focus Utility/_Error Utility/_Success Utility/_Overlay

Checkout

Checkout/_Buttons Checkout/_Accent Checkout/_Form BG Checkout/_Order Summary BG

Primitives

Primitives/_Brand-04 Primitives/_Neutral Primitives/_Brand-01 Primitives/_White Primitives/_Dark Primitives/_Darker Primitives/_Lightest Primitives/_Brand-02 Primitives/_Light Primitives/_Darkest Primitives/_Brand-03 Primitives/_Black Primitives/_Brand-05

Tokens

Tokens/Brand Primary Tokens/Brand Primary Contrast Tokens/Brand Secondary Tokens/Brand Secondary Contrast Tokens/Foreground Tokens/Foreground Secondary Tokens/Background Tokens/Background Secondary Tokens/Border Tokens/Border-01 Tokens/Border-02 Tokens/Disabled Tokens/Link Tokens/Link Hover

Form Controls

Some help text here

This field is required

Provide a message

Select a country

Please select a country

This is a custom Select field

This is a custom Select field

Swiper Carousels

Slide1 Slide2 Slide3 Slide4 Slide5

Product Cards

Liquid error (snippets/image line 68): invalid url input

Precio habitual -
Liquid error (snippets/image line 68): invalid url input

Precio habitual -
Liquid error (snippets/image line 68): invalid url input

Precio habitual -
Liquid error (snippets/image line 68): invalid url input

Precio habitual -

Icons

Success Checkmark Checkbox Tick Error

Dialogs / Modals

Inner modal

Dynamic Product Card

Section Injection with Live Params

Enter something to search for

Tabs component

Typically, this component would be rendered dynamically as part of section blocks, or something similiar, and the attributes could all be controlled dynamically. For the sake of the styleguide, I've hardcoded three tabs.

content for tab 1