-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
executable file
·100 lines (99 loc) · 2.18 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
/* eslint-disable @typescript-eslint/explicit-function-return-type */
const plugin = require('tailwindcss/plugin');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./app/**/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./components/**/**/*.{js,ts,jsx,tsx}',
'./contexts/**/*.{js,ts,jsx,tsx}',
'./hooks/**/*.{js,ts,jsx,tsx}'
],
theme: {
colors: {
black: 'hsl(0, 0%, 0%)',
white: 'rgb(255, 255, 255)',
transparent: 'transparent',
inherit: 'inherit',
primary: '#6366f1',
primaryHover: '#4f46e5',
neutral: {
0: '#FFFFFF',
// 50: '', unavailable
// 100: '', unavailable
200: '#F7F7F7',
300: '#F3F3F3',
400: '#DCDDDD',
// 500: '', unavailable
600: '#ADB1BD',
700: '#474F59',
800: '#272B30',
900: '#060B11'
},
red: '#D42600',
green: '#0C9000'
},
extend: {
fontFamily: {
sans: ['var(--rubik-font)', 'Rubik', 'Roboto', ...defaultTheme.fontFamily.sans],
mono: ['Source Code Pro', ...defaultTheme.fontFamily.mono]
},
height: {
content: '656px',
app: 'calc(100dvh - 80px)'
},
minHeight: {
content: '656px',
app: 'calc(100dvh - 80px)'
},
width: {
inherit: 'inherit',
sidebar: '280px',
main: '1000px',
22: '88px',
108: '432px'
},
maxWidth: {
'4xl': '888px',
'5xl': '992px',
'6xl': '1200px',
22: '88px',
108: '432px'
},
fontSize: {
xxs: ['10px', '16px'],
xs: ['12px', '16px'],
sm: ['14px', '20px'],
base: ['16px', '24px'],
intermediate: ['18px', '24px'],
lg: ['20px', '32px'],
xl: ['24px', '32px'],
'3xl': ['32px', '40px']
},
gridTemplateColumns: {
root: 'repeat(30, minmax(0, 1fr))'
},
gridColumn: {
sidebar: 'span 7 / span 7',
main: 'span 23 / span 23'
}
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwindcss-animate'),
plugin(function ({addUtilities}) {
addUtilities({
'.scrollbar-none': {
'-ms-overflow-style': 'none',
'scrollbar-width': 'none',
'&::-webkit-scrollbar': {
display: 'none'
}
}
});
})
]
};