@heycar-uikit/core
Version:
The React UI library from HeyCar
337 lines (320 loc) • 6.95 kB
CSS
: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::selection {
background-color: var(--color-secondary-700);
color: var(--color-championship-white);
}
.display1 {
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) {
.display1 {
font-size: 60px;
line-height: 68px;
letter-spacing: -2.5px;
}
}
.display2 {
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) {
.display2 {
font-size: 60px;
line-height: 68px;
letter-spacing: -2.5px;
}
}
/*
Heading
*/
.h1 {
font-size: 48px;
line-height: 56px;
letter-spacing: -2px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.h2 {
font-size: 32px;
letter-spacing: -0.5px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.h3 {
font-size: 28px;
letter-spacing: -0.5px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.h4 {
font-size: 24px;
letter-spacing: -0.5px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.h5 {
font-size: 20px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.h6 {
font-size: 16px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
/*
Sub-Heading
*/
.subheading1 {
font-size: 14px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.subheading2 {
font-size: 16px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.subheading3 {
font-size: 14px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.subheading4 {
font-size: 16px;
font-weight: var(--font-weight-regular);
font-family: var(--font-family-system);
}
/*
Body
*/
.body1 {
font-size: 16px;
line-height: 26px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.body2 {
font-size: 14px;
line-height: 22px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.body3 {
font-size: 16px;
line-height: 26px;
font-weight: var(--font-weight-regular);
font-family: var(--font-family-system);
}
.body4 {
font-size: 14px;
line-height: 22px;
font-weight: var(--font-weight-regular);
font-family: var(--font-family-system);
}
/*
Caption
*/
.caption1 {
font-size: 12px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.caption2 {
font-size: 12px;
line-height: 18px;
font-weight: var(--font-weight-regular);
font-family: var(--font-family-system);
}
.caption3 {
font-size: 10px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
}
.caption4 {
font-size: 10px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.caption5 {
font-size: 10px;
font-weight: var(--font-weight-regular);
font-family: var(--font-family-system);
}
/*
Overline
*/
.overline1 {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
.overline2 {
font-size: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: var(--font-weight-medium);
font-family: var(--font-family-system);
}
/*
Button
*/
.button1 {
font-size: 16px;
font-weight: var(--font-weight-bold);
letter-spacing: 0.2px;
font-family: var(--font-family-system);
}
.button2 {
font-size: 14px;
font-weight: var(--font-weight-bold);
letter-spacing: 0.2px;
font-family: var(--font-family-system);
}
.button3 {
font-size: 12px;
font-weight: var(--font-weight-bold);
letter-spacing: 0.2px;
font-family: var(--font-family-system);
}
.buttonLink1 {
font-size: 16px;
font-weight: var(--font-weight-bold);
letter-spacing: 0.2px;
font-family: var(--font-family-system);
text-decoration: underline;
}
.buttonLink2 {
font-size: 14px;
font-weight: var(--font-weight-bold);
letter-spacing: 0.2px;
font-family: var(--font-family-system);
text-decoration: underline;
}
.buttonLink3 {
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;
}
} */
.h1 {
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;
}
.h2 {
font-size: 32px;
letter-spacing: -0.5px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
font-size: 24px;
}
.h3 {
font-size: 28px;
letter-spacing: -0.5px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
font-size: 24px;
}
.h4 {
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;
}
.h5 {
font-size: 20px;
font-weight: var(--font-weight-bold);
font-family: var(--font-family-system);
font-size: 16px;
}
}