-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
89 lines (88 loc) · 1.99 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
screens: {
'xs': '350px',
'sm': '512px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
},
fontFamily: {
sans: ['sofia-pro', 'sans-serif'],
display: ['cubano', 'sans-serif'],
body: ['sofia-pro', 'sans-serif'],
code: ['attribute-mono', 'sans-serif'],
},
colors: {
white: '#ffffff',
black: '#000000',
gray1: '#f8f8f8',
gray2: '#dbe1e8',
gray3: '#b2becd',
gray4: '#6c7983',
gray5: '#454e56',
gray6: '#2a2e35',
gray7: '#12181b',
link: '#0000ee',
blue: colors.blue,
green: colors.green,
pink: colors.pink,
purple: colors.purple,
orange: colors.orange,
red: colors.red,
yellow: colors.yellow,
},
extend: {
colors:{
gray: {
900: '#202225',
800: '#2f3136',
700: '#36393f',
600: '#4f545c',
500: '#6B7280',
400: '#d4d7dc',
300: '#e3e5e8',
200: '#ebedef',
100: '#f2f3f5',
},
},
typography: {
DEFAULT: {
scss: {
h1: {
'font-weight': 'normal',
'font-size': '1.75rem',
},
h2: {
'font-weight': 'normal',
'font-size': '1.50rem',
},
h3: {
'font-weight': 'normal',
'font-size': '1.25rem',
},
h4: {
'font-weight': 'normal',
'font-size': '1rem',
},
h5: {
'font-weight': 'normal',
'font-size': '0.75rem',
}
},
},
},
}
},
plugins: [
require('@tailwindcss/typography'),
]
};