-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
59 lines (58 loc) · 1.75 KB
/
tailwind.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import typography from "@tailwindcss/typography";
export default {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
roboto: ["Roboto", "sans-serif"],
overpass: ["Overpass", "sans-serif"],
"uber-move": ["Roboto", "sans-serif"],
"uber-move-text": ["Roboto", "sans-serif"],
},
fontWeight: {
bold: 700,
"semi-bold": 600,
medium: 500,
regular: 400,
},
fontSize: {
"xx-large": ["40px", "52px"],
"x-large": ["36px", "44px"],
large: ["32px", "40px"],
medium: ["28px", "36px"],
small: ["24px", "32px"],
"x-small": ["20px", "28px"],
"label-large": ["18px", "24px"],
"label-medium": ["16px", "20px"],
"label-small": ["14px", "18px"],
"label-x-small": ["12px", "16px"],
"paragraph-large": ["18px", "160%"],
"paragraph-medium": ["16px", "160%"],
"paragraph-small": ["14px", "160%"],
"paragraph-x-small": ["12px", "20px"],
title: ["24px", "32px"],
headline: ["20px", "28px"],
"sub-headline": ["16px", "24px"],
body: ["14px", "22px"],
"small-caption": ["10px", "18px"],
},
boxShadow: {
DEFAULT: "0px 6px 12px 0px rgba(32, 48, 79, 0.12)",
},
typography: theme => ({
DEFAULT: {
css: {
body: {
color: theme("colors.black"),
backgroundColor: theme("colors.primary-bg"),
fontFamily: theme("fontFamily.roboto"),
fontWeight: theme("fontWeight.regular"),
fontSize: theme("fontSize.body"),
},
},
},
}),
},
},
plugins: [typography],
};