UNPKG

@heycar-uikit/core

Version:
337 lines (320 loc) 7.62 kB
:root { /* heycar mint color */ --color-heycar-mint-700: #007c63; /* mica blue color */ /* sunbeam blue color */ /* mustang yellow color */ /* old ferrari red color */ /* -- fantasy name of "green" color to be defined -- */ /* -- fantasy name of "whatsapp" color to be defined -- */ /* -- fantasy name of "red" color to be defined -- */ /* tarmac grey color */ --color-tarmac-grey-700: #303030; /* brand colors */ --color-championship-white: #fff; } /* Depricated. Do Not Use */ :root { /* Font families */ --font-family-system: Objektiv, sans-serif, 'Helvetica Neue', Helvetica, Arial; /* Font weights */ --font-weight-regular: 400; --font-weight-medium: 500; --font-weight-bold: 600; --font-weight-xbold: 800; } /* Heading */ /* Sub-Heading */ /* Body */ /* Caption */ /* Overline */ /* Button */ /* Button Old - DO NOT USE */ /* If this is ever changed please update breakpoints.json as well */ /* Mobile */ /* Tablet */ /* Desktop */ /* Default theme (light) */ :root { /* Colors */ --color-secondary-700: var(--color-heycar-mint-700); --color-neutral-700: var(--color-tarmac-grey-700); /* Sizes */ } body { color: var(--color-neutral-700); } .typography__typography_1kfjd::selection { background-color: var(--color-secondary-700); color: var(--color-championship-white); } .typography__display1_1kfjd { font-size: 48px; line-height: 56px; letter-spacing: -2px; font-family: var(--font-family-system); font-weight: var(--font-weight-xbold); } @media (min-width: 768px) { .typography__display1_1kfjd { font-size: 60px; line-height: 68px; letter-spacing: -2.5px; } } .typography__display2_1kfjd { font-size: 48px; line-height: 56px; letter-spacing: -2px; font-family: var(--font-family-system); font-weight: var(--font-weight-bold); } @media (min-width: 768px) { .typography__display2_1kfjd { font-size: 60px; line-height: 68px; letter-spacing: -2.5px; } } /* Heading */ .typography__h1_1kfjd { font-size: 48px; line-height: 56px; letter-spacing: -2px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__h2_1kfjd { font-size: 32px; letter-spacing: -0.5px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__h3_1kfjd { font-size: 28px; letter-spacing: -0.5px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__h4_1kfjd { font-size: 24px; letter-spacing: -0.5px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__h5_1kfjd { font-size: 20px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__h6_1kfjd { font-size: 16px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } /* Sub-Heading */ .typography__subheading1_1kfjd { font-size: 14px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__subheading2_1kfjd { font-size: 16px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__subheading3_1kfjd { font-size: 14px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__subheading4_1kfjd { font-size: 16px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); } /* Body */ .typography__body1_1kfjd { font-size: 16px; line-height: 26px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__body2_1kfjd { font-size: 14px; line-height: 22px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__body3_1kfjd { font-size: 16px; line-height: 26px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); } .typography__body4_1kfjd { font-size: 14px; line-height: 22px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); } /* Caption */ .typography__caption1_1kfjd { font-size: 12px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__caption2_1kfjd { font-size: 12px; line-height: 18px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); } .typography__caption3_1kfjd { font-size: 10px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); } .typography__caption4_1kfjd { font-size: 10px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__caption5_1kfjd { font-size: 10px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); } /* Overline */ .typography__overline1_1kfjd { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } .typography__overline2_1kfjd { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: var(--font-weight-medium); font-family: var(--font-family-system); } /* Button */ .typography__button1_1kfjd { font-size: 16px; font-weight: var(--font-weight-bold); letter-spacing: 0.2px; font-family: var(--font-family-system); } .typography__button2_1kfjd { font-size: 14px; font-weight: var(--font-weight-bold); letter-spacing: 0.2px; font-family: var(--font-family-system); } .typography__button3_1kfjd { font-size: 12px; font-weight: var(--font-weight-bold); letter-spacing: 0.2px; font-family: var(--font-family-system); } .typography__buttonLink1_1kfjd { font-size: 16px; font-weight: var(--font-weight-bold); letter-spacing: 0.2px; font-family: var(--font-family-system); text-decoration: underline; } .typography__buttonLink2_1kfjd { font-size: 14px; font-weight: var(--font-weight-bold); letter-spacing: 0.2px; font-family: var(--font-family-system); text-decoration: underline; } .typography__buttonLink3_1kfjd { font-size: 12px; font-weight: var(--font-weight-bold); letter-spacing: 0.2px; font-family: var(--font-family-system); text-decoration: underline; } /* Mobile */ @media screen and (max-width: 768px) { /* @for $i from 1 to 5 { .h1$(i) { @mixin typography-heading-$(i) _mobile; } } */ .typography__h1_1kfjd { font-size: 48px; line-height: 56px; letter-spacing: -2px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); letter-spacing: -0.5px; font-size: 32px; line-height: 40px; } .typography__h2_1kfjd { font-size: 32px; letter-spacing: -0.5px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); font-size: 24px; } .typography__h3_1kfjd { font-size: 28px; letter-spacing: -0.5px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); font-size: 24px; } .typography__h4_1kfjd { font-size: 24px; letter-spacing: -0.5px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); letter-spacing: 0; font-size: 20px; } .typography__h5_1kfjd { font-size: 20px; font-weight: var(--font-weight-bold); font-family: var(--font-family-system); font-size: 16px; } }