• DocumentationDocs

PostCSS Theme

The theme is where all the main values of the design system are defined. You can find your PostCSS Theme in theme.css.

@custom-media --screen-xs (min-width: 0);
@custom-media --screen-sm (min-width: 576px);
@custom-media --screen-md (min-width: 768px);
@custom-media --screen-lg (min-width: 992px);
@custom-media --screen-xl (min-width: 1200px);
@custom-media --screen-xxl (min-width: 1440px);
@custom-media --screen-xxxl (min-width: 1920px);

:root {
	--max-width: 1280px;
	--max-width-limit: 1440px;
	--padding-top-body-mobile: 76px;
	--padding-top-body-desktop: 76px;
	--margin-container-mobile: 20px;
	--margin-container-desktop: 20px;
	--margin-row-default: -10px;
	--margin-row-medium: -30px;
	--margin-row-big: -50px;
	--gutter-col-default: 10px;
	--gutter-col-medium: 30px;
	--gutter-col-big: 50px;

	--color-primary-light: #FDA4AF;
	--color-primary: #F43F5E;
	--color-primary-dark: #9F1239;

	--color-secondary-light: #7DD3FC;
	--color-secondary: #0EA5E9;
	--color-secondary-dark: #075985;

	--color-tertiary-light: #D8B4FE;
	--color-tertiary: #A855F7;
	--color-tertiary-dark: #6B21A8;

	--color-dark: #000;
	--color-light: #FFF;

	--color-gray-light: #E5E7EB;
	--color-gray: #9CA3AF;
	--color-gray-dark: #4B5563;

	--color-success: #28A745;
	--color-error: #DC3545;
	--color-warning: #FFC107;
	--color-info: #17A2B8;

	--font-text: 'Inter', sans-serif;
	--font-head: 'Inter', sans-serif;
	--font-special: 'Inter', sans-serif;
	--font-mono: 'Inter', sans-serif;

	--size-hero1-mobile: 52px;
	--lineheight-hero1-mobile: 1.15;
	--size-hero1-desktop: 62px;
	--lineheight-hero1-desktop: 1.15;

	--size-hero2-mobile: 42px;
	--lineheight-hero2-mobile: 1.15;
	--size-hero2-desktop: 52px;
	--lineheight-hero2-desktop: 1.15;

	--size-hero3-mobile: 32px;
	--lineheight-hero3-mobile: 1.15;
	--size-hero3-desktop: 42px;
	--lineheight-hero3-desktop: 1.15;

	--size-h1-mobile: 38px;
	--lineheight-h1-mobile: 1.2;
	--size-h1-desktop: 40px;
	--lineheight-h1-desktop: 1.2;

	--size-h2-mobile: 28px;
	--lineheight-h2-mobile: 1.2;
	--size-h2-desktop: 32px;
	--lineheight-h2-desktop: 1.2;

	--size-h3-mobile: 24px;
	--lineheight-h3-mobile: 1.2;
	--size-h3-desktop: 28px;
	--lineheight-h3-desktop: 1.2;

	--size-h4-mobile: 22px;
	--lineheight-h4-mobile: 1.3;
	--size-h4-desktop: 24px;
	--lineheight-h4-desktop: 1.3;

	--size-h5-mobile: 18px;
	--lineheight-h5-mobile: 1.4;
	--size-h5-desktop: 20px;
	--lineheight-h5-desktop: 1.4;

	--size-h6-mobile: 16px;
	--lineheight-h6-mobile: 1.4;
	--size-h6-desktop: 18px;
	--lineheight-h6-desktop: 1.4;

	--size-eyebrow-mobile: 16px;
	--lineheight-eyebrow-mobile: 1.35;
	--size-eyebrow-desktop: 18px;
	--lineheight-eyebrow-desktop: 1.15;

	--size-subtitle-mobile: 18px;
	--lineheight-subtitle-mobile: 1.35;
	--size-subtitle-desktop: 20px;
	--lineheight-subtitle-desktop: 1.35;

	--size-button-mobile: 12px;
	--lineheight-button-mobile: 1;
	--size-button-desktop: 14px;
	--lineheight-button-desktop: 1;

	--size-button-big-mobile: 16px;
	--lineheight-button-big-mobile: 1;
	--size-button-big-desktop: 18px;
	--lineheight-button-big-desktop: 1;

	--size-lead-mobile: 16px;
	--lineheight-lead-mobile: 1.35;
	--size-lead-desktop: 18px;
	--lineheight-lead-desktop: 1.35;

	--size-input-mobile: 12px;
	--lineheight-input-mobile: 1;
	--size-input-desktop: 14px;
	--lineheight-input-desktop: 1;

	--size-input-big-mobile: 16px;
	--lineheight-input-big-mobile: 1;
	--size-input-big-desktop: 18px;
	--lineheight-input-big-desktop: 1;

	--size-strong-mobile: 14px;
	--lineheight-strong-mobile: 1.5;
	--size-strong-desktop: 16px;
	--lineheight-strong-desktop: 1.5;

	--size-text-mobile: 14px;
	--lineheight-text-mobile: 1.5;
	--size-text-desktop: 16px;
	--lineheight-text-desktop: 1.5;

	--size-small-mobile: 12px;
	--lineheight-small-mobile: 1.3;
	--size-small-desktop: 14px;
	--lineheight-small-desktop: 1.3;

	--size-blockquote-mobile: 16px;
	--lineheight-blockquote-mobile: 1.5;
	--size-blockquote-desktop: 18px;
	--lineheight-blockquote-desktop: 1.5;
}
PostCSS BreakpointsComponents Introduction

Follow the creator

Join the community