forked from statamic/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
115 lines (114 loc) · 3.03 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
const defaultConfig = require('tailwindcss/defaultConfig')
module.exports = {
important: true,
theme: {
screens: {
'sm': '576px',
'md': '768px',
'lg': '992px',
'xl': '1280px',
},
borderColor: theme => ({
...theme('colors'),
default: theme('colors.blue-darkest', 'currentColor'),
}),
borderRadius: {
none: '0',
sm: '2px',
default: '5px',
full: '9999px',
},
borderWidth: {
default: '1px',
'0': '0',
'2': '2px',
'4': '4px',
'8': '8px',
},
boxShadow: {
default: "1px 1px 0 theme('colors.blue-darkest', 'currentColor')",
md: "3px 3px 0 theme('colors.blue-darkest', 'currentColor')",
teal: "1px 1px 0 theme('colors.teal', 'currentColor')",
'md-teal': "3px 3px 0 theme('colors.teal', 'currentColor')",
'lg-teal': "5px 5px 0 theme('colors.teal', 'currentColor')",
orange: "1px 1px 0 theme('colors.orange', 'currentColor')",
'md-orange': "3px 3px 0 theme('colors.orange', 'currentColor')",
'lg-orange': "5px 5px 0 theme('colors.orange', 'currentColor')",
mint: "1px 1px 0 theme('colors.mint', 'currentColor')",
'md-mint': "3px 3px 0 theme('colors.mint', 'currentColor')",
'lg-mint': "5px 5px 0 theme('colors.mint', 'currentColor')",
outline: '0 0 0 3px rgba(66, 153, 225, 0.5)',
},
colors: {
transparent: 'transparent',
'black': '#000',
'white': '#fff',
'blue-darkest': '#002F3C',
'blue-dark': '#00546b',
'blue': '#6D91D4',
'blue-light': '#66A4CF',
'blue-lightest': '#EFFEFF',
'purple': '#7C67CB',
'purple-hot': '#A832D7',
'pink': '#D365CE',
'pink-bright': '#FC6EB3',
'pink-hot': '#FF269E',
'red': '#de3618',
'green': '#38A169',
'teal-dark': '#066885',
'teal': '#01D7B0',
'orange': '#FFB47A',
'yellow': '#FAF77D',
'mint': '#b8fff3',
'cp-bg': '#F1F5F9',
'grey': {
100: '#f7fafc',
200: '#edf2f7',
300: '#e2e8f0',
400: '#cbd5e0',
500: '#a0aec0',
600: '#718096',
700: '#4a5568',
800: '#2d3748',
900: '#1a202c',
},
},
extend: {
fontFamily: {
'display': ['code-saver', 'sans-serif'],
},
fontSize: {
'2xs': '0.6rem',
},
spacing: {
'sm': '2px',
7: '1.75rem'
},
inset: {
'16': '16px',
'-16': '-16px',
'64': '64px',
},
rotate: {
'-1': '-1deg',
'-2': '-2deg',
'-3': '-3deg',
'1': '1deg',
'2': '2deg',
'3': '3deg'
},
maxWidth: theme => {
return {
'screen-xl': theme('screens.xl'),
}
},
}
},
variants: {
backgroundColor: ['responsive', 'odd', 'even', 'hover', 'focus'],
borderColor: ['responsive', 'hover', 'focus'],
borderWidth: ['responsive', 'first', 'last', 'hover', 'focus'],
opacity: ['responsive', 'hover', 'focus', 'disabled'],
outline: ['focus'],
}
}