@heycar-uikit/core
Version:
The React UI library from HeyCar
105 lines (93 loc) • 1.69 kB
CSS
:root {
/* heycar mint color */
/* 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 */
}
/* Depricated. Do Not Use */
:root {
--gap-2xs: 4px;
--gap-s: 12px;
}
:root {
--spacing-8: 32px;
--spacing-12: 48px;
}
:root {
/* Font families */
--font-family-system: Objektiv, sans-serif, 'Helvetica Neue', Helvetica, Arial;
/* Font weights */
}
/*
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-neutral-700: var(--color-tarmac-grey-700);
/*
Sizes
*/
--size-small-height: var(--spacing-8);
--size-large-height: var(--spacing-12);
}
body {
color: var(--color-neutral-700);
}
/*
* Vars
*/
:root {
/* Sizes */
--button-small-height: var(--size-small-height);
--button-large-height: var(--size-large-height);
}
/*
* Sizes
*/
.small {
min-height: var(--button-small-height);
padding: var(--gap-2xs) var(--gap-s);
font-size: 12px;
font-weight: 700;
letter-spacing: 0.2px;
font-family: var(--font-family-system);
}
.large {
min-height: var(--button-large-height);
font-size: 16px;
font-weight: 700;
letter-spacing: 0.2px;
font-family: var(--font-family-system);
}