-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
44 lines (43 loc) · 1.02 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
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: 'class',
theme: {
colors: {
transparent: 'transparent',
gray: colors.blueGray,
sky: {
600: colors.sky[600],
700: colors.sky[700],
},
red: {
600: colors.red[600],
700: colors.red[700],
},
},
minWidth: {
19: '19rem',
},
boxShadow: {
DEFAULT:
'0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 2px 0 rgba(0, 0, 0, 0.30)',
},
extend: {
fontFamily: {
sans: ['IBM Plex Sans', ...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono],
},
transitionProperty: {
width: 'width',
},
},
},
variants: {
extend: {
ringWidth: ['hover'],
ringOffsetWidth: ['hover'],
},
},
plugins: [require('@tailwindcss/forms')({ strategy: 'class' })],
};