-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
77 lines (72 loc) · 1.55 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
const tailwindColors = require('tailwindcss/colors')
delete tailwindColors['lightBlue']
delete tailwindColors['warmGray']
delete tailwindColors['trueGray']
delete tailwindColors['coolGray']
delete tailwindColors['blueGray']
const fontFamilys = [
'system-ui',
'-apple-system',
'Helvetica Neue',
'Arial',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
]
const colors = {
...tailwindColors,
main: 'gray',
secondary: '#5c6bc0',
transparent: 'transparent',
current: 'currentColor',
gray: tailwindColors.neutral,
black: '#0e1116',
white: '#fff',
lightgray: 'rgb(240,241,243)',
side: 'rgb(82,92,103)',
}
const theme = {
colors,
fontFamily: {
mono: ['monospace', 'ui-monospace', 'SFMono-Regular'],
display: fontFamilys,
body: fontFamilys,
},
fontSize: {
xs: '.75rem',
sm: '.875rem',
tiny: '.875rem',
base: '1rem',
lg: '1.125rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
},
textColor: (theme) => theme('colors'),
extend: {
minHeight: {
inherit: 'inherit',
},
height: {
inherit: 'inherit',
},
content: {
before: 'before',
},
backgroundImage: {
'gradient-radial':
'radial-gradient(circle at 33.918961px 222.257324px, rgba(10, 22, 22, 0.06), rgba(0, 0, 0, 0.1))',
},
},
}
module.exports = {
darkMode: 'class',
theme,
content: ['./src/**/*.{html,js,jsx,ts,tsx}'],
plugins: [require('@tailwindcss/line-clamp')],
}