-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.theme.js
41 lines (39 loc) · 890 Bytes
/
tailwind.theme.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
const plugin = require('tailwindcss/plugin');
const colors = require('tailwindcss/colors');
const typographyPlugin = require('@tailwindcss/typography');
const typography = typographyPlugin();
module.exports = plugin(
({ addComponents, theme, variants }) => {
typography.handler({ addComponents, theme, variants });
},
{
theme: {
backgroundSize:{
'half': '50%',
},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: colors.black,
white: colors.white,
gray: colors.warmGray,
green: {
500: '#00A99D',
},
pink: {
500: '#C35484',
},
red: {
500: '#F97373',
},
amber: {
500: '#FFB53D',
},
cyan: {
500: '#2D8CAE',
},
},
},
plugins: [typography],
}
);