[next] Add new typography design tokens (#2451)

* feat: add new typography design tokens

* fix: revert renaming fontFamilySansSerif
This commit is contained in:
Vinh
2019-08-07 14:09:07 -04:00
committed by Kim Gardner
parent c979dfd7d5
commit b41ddbc22f
2 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
.variantPill {
border-radius: 20px;
padding: 2px 6px;
font-weight: var(--font-weight-medium);
font-weight: var(--font-weight-sans-medium);
&.colorGrey {
border: 1px solid var(--palette-grey-dark);
background-color: var(--palette-grey-lightest);
+29
View File
@@ -84,10 +84,39 @@ const variables = {
remBase: 16,
fontFamilySansSerif: '"Source Sans Pro"',
fontFamilySerif: '"Manuale"',
/** Deprecated */
fontWeightLight: 300,
fontWeightRegular: 400,
fontWeightMedium: 600,
fontWeightBold: 700,
/***************/
fontSize: {
1: "12px",
2: "14px",
3: "16px",
4: "18px",
5: "20px",
6: "24px",
7: "28px",
8: "32px",
},
fontWeight: {
sans: {
regular: 400,
medium: 600,
bold: 700,
},
serif: {
regular: 400,
medium: 600,
bold: 600,
},
},
lineHeight: {
1: "1.1em",
2: "1.2em",
3: "1.45em",
},
/* Breakpoints */
breakpoints: {
xs: 320,