-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
46 lines (45 loc) · 1.08 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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: ['./src/**/*.{vue,js,ts}'],
safelist: [
{ pattern: /text-(xl|2xl|3xl|4xl|5xl)/ },
{
pattern:
/text-(black|white|warning|error|success|lavender|chili|papaya|paper)/
},
{
pattern:
/text-(primary|secondary|lemon|turquoise|flint|mint|coral|gray|white|coolGray|purple|blue|red|orange|yellow|green)-(50|100|200|300|400|500|600|700|800|900)/
}
],
theme: {
fontFamily: {
messina: ['Messina', 'sans-serif']
},
extend: {
colors: {
purple: {
800: '#483AC5'
},
'line-grey': '#E3E1EB'
}
}
},
plugins: [
require('tailwind-plugin-lob'),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'bg-gradient': (angle) => ({
'background-image': `linear-gradient(${angle}, var(--tw-gradient-stops))`
})
},
{
values: Object.assign(theme('bgGradientDeg', {}), {
114: '114deg'
})
}
);
})
]
};