Crafting seamless designs with size classes, typography, and color variables

This guide provides a comprehensive overview of utilizing S — M template tokens and components. Familiarize yourself with the in-depth instructions on employing size classes, typography, color variables and components for a seamless design experience.

Sizes

Explore pre-defined functional classes such as padding-top, wrap-ver, and section-gap within this template. Based on a 4px module, these classes are ideal for effortlessly composing two elements, ensuring optimal performance across all resolutions.

Padding and Margins

Discover classes like margin-top, margin-bottom, and a universal margin for consistent spacing on all sides. Ranging from 4 to 40 with a 4-step increment, larger margins like 80-100-120 cater to specific scenarios. For nuanced spacing on various resolutions, consider creating unique class components, e.g., about__card__paddings.

Wraps

Effortlessly compose multiple elements using wrap-ver or wrap-hor classes, acting as flexbox-wrapped elements with defined spacings. While each wrap defaults to aligning elements to the top-left, introducing the combo class wrap-ver_align-center achieves centered alignment.

Sections Gap

Utilize three section gap sizes: XL, L, and M. XL (240px) offers the largest gap, recommended when the preceding section lacks internal spacing. In such cases, opt for the L gap (192px).

Typography

Embrace the Inter font, specifically adapted for typography on both small screens (below 1439px, 991px, 767px) and large screens (above 1440px). All text size based on ratio rule:

  • Desktop: 1.25 (Major third)
  • Tablet: 1.2 (Minor third)
  • Mobile: 1.125 (Major second)

The quick brown fox jumps over the lazy dog

Headline 1
Page headline

The quick brown fox jumps over the lazy dog

Headline 2
Section headline

The quick brown fox jumps over the lazy dog

Headline 3
First level section headline

The quick brown fox jumps over the lazy dog

Headline 3
Second level section headline
The quick brown fox jumps over the lazy dog
Headline 4
Element headline
The quick brown fox jumps over the lazy dog
Headline 5
Element headline

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Paragraph
Base text on the website

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Small text
Labels

Colors

Within the variables section, find a curated selection of colors employed throughout the project. To modify the color palette, it is advisable to make adjustments directly within the variables, ensuring a consistent application across the entire project.

  • Grey: Universal colors for text and icons.
  • Fill: Colors dedicated to page and cards backgrounds.
Fill
Primary
#fcfcfc
Secondary
whitesmoke
Primary Invert
#121212
Secondary Invert
#292929
Grey
Primary
#121212
Secindary
#7a7a80
Tertiary
#c8c8d0
Quaternary
#e1e1e6
Primary Invert
#fafafa
Secondary Invert
#7a7a80
Tertiary Invert
#3d3d42
Quaternary Invert
#232326
Border
Primary
rgba(18, 18, 18, 0.1)
Primary Invert
rgba(252, 252, 252, 0.08)
Overlay
20
rgba(18, 18, 18, 0.2)
40
rgba(18, 18, 18, 0.4)
10
rgba(18, 18, 18, 0.1)
20 Invert
rgba(252, 252, 252, 0.2)
Accent
Brand Primary
red
Error
#d13939

Icons

All icons on the site are added using embed code. You can view it and access the SVG code. To swap out an icon, insert an image or copy and paste the SVG code to replace the existing one.

Buttons

This template includes two types of buttons: those with a colored background and text-only buttons. Medium-sized buttons have a fixed width, while Small-sized buttons adjust to the width of the text.

Form

This template also includes all the necessary elements for creating various forms on your website. Note that the select component incorporates custom code to ensure a consistent appearance with the other form components.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.