-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
56 lines (55 loc) · 1.23 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
const colors = require('tailwindcss/colors');
module.exports = {
purge: [
'src/**/*.js',
'src/**/*.jsx',
'src/**/*.ts',
'src/**/*.tsx',
'public/**/*.html',
],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: '#0068E2',
secondary: '#151515',
success: '#32C000',
error: '#FF4A4A',
validation: '#FFE5E5',
white: colors.white,
light: '#E4F1FF',
gray: colors.neutral,
dark: '#333333',
black: colors.black,
green: colors.green,
yellow: colors.amber,
red: colors.red,
},
extend: {
fontSize: {
xxs: '.65rem',
},
height: {
editor: 'calc(-7.25rem + 100vh)',
resourcePanel: '550px'
},
width: {
resourcePanel: '600px'
}
},
},
variants: {
fontFamily: {
sans: ['Graphik', 'sans-serif'],
serif: ['Merriweather', 'serif'],
},
extend: {
opacity: ['disabled'],
},
textColor: ['responsive', 'hover', 'focus', 'group-hover'],
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
],
}