-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
60 lines (59 loc) · 1.34 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
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
screens: {
xxs: { max: '420px' },
xs: { min: '420px', max: '520px' },
...defaultTheme.screens
},
extend: {
rotate: {
30: '30deg',
50: '50deg',
60: '60deg'
},
borderRadius: ['last', 'first']
},
linearBorderGradients: {
directions: {
// the default values
t: 'to top',
tr: 'to top right',
r: 'to right',
br: 'to bottom right',
b: 'to bottom',
bl: 'to bottom left',
l: 'to left',
tl: 'to top left'
},
colors: {
insta: ['#ec4899', '#fcd34d', '#ef4444']
},
background: {
// the default values
'gray-50': '#F9FAFB',
'gray-900': '#111827'
},
border: {
// the default values
1: '1px',
2: '2px',
4: '4px'
}
}
},
variants: {
extend: {
display: ['group-hover'],
scrollbar: ['rounded'],
linearBorderGradients: ['responsive', 'hover', 'dark']
}
},
plugins: [
require('tailwind-scrollbar'),
require('tailwind-scrollbar-hide'),
require('tailwindcss-border-gradient-radius'),
require('@tailwindcss/line-clamp')
]
};