forked from golemfactory/golem-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
103 lines (102 loc) · 2.03 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx}'],
darkMode: 'class',
theme: {
fontSize: {
xs: [
'12px',
{
lineHeight: '150%',
letterSpacing: '-2%',
},
],
sm: [
'14px',
{
lineHeight: '150%',
letterSpacing: '-2%',
},
],
base: [
'16px',
{
lineHeight: '150%',
letterSpacing: '-2%',
},
],
md: [
'18px',
{
lineHeight: '150%',
letterSpacing: '-2%',
},
],
lg: [
'20px',
{
lineHeight: '120%',
letterSpacing: '-2%',
},
],
xl: [
'24px',
{
lineHeight: '120%',
letterSpacing: '-2%',
},
],
'3xl': [
'32px',
{
lineHeight: '110%',
letterSpacing: '-2%',
},
],
'4xl': [
'40px',
{
lineHeight: '120%',
letterSpacing: '-2%',
},
],
},
extend: {
maxWidth: {
'8xl': '88rem',
},
colors: {
primary: '#1C00A9',
darkprimary: '#2C80FF',
primaryhover: '#190580',
lightbluedarker: '#EBECFF',
disabledgray: '#7D7F8A',
lightblue: '#F5F8FC',
dark: '#242534',
secondary: '#F1F4F9',
darkcontent: '#2A2D3E',
lightgray: '#A3A3A3',
normalgray: '#6A6A6A',
lightergray: '#D4D4D4',
darkbg: '#242534',
info: '#ADDDEC',
success: '#D4EADD',
warning: '#FFD9BE',
danger: '#FFC1CE',
},
typography: (theme) => ({
DEFAULT: {
css: {
p: {
fontSize: '16px',
lineHeight: '150%',
letterSpacing: '-2%',
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
}