-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
66 lines (64 loc) · 1.5 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
/** @typedef { import('tailwindcss/defaultConfig')} DefaultConfig */
/** @typedef { import('tailwindcss/defaultTheme')} DefaultTheme */
/** @typedef { DefaultConfig & {theme:{extend:DefaultTheme}}} TailwindConfig */
const defaultTheme = require('tailwindcss/defaultTheme');
const sizes = {
15: '3.75rem',
17: '4.25rem',
18: '4.5rem',
68: '17rem',
75: '18.75rem',
79: '19.75rem',
86: '21.5rem',
100: '25rem',
112: '28rem',
128: '32rem',
144: '36rem',
160: '40rem',
192: '48rem',
};
/** @type {TailwindConfig} */
module.exports = {
// mode: 'jit',
presets: [require('tailwindcss/defaultConfig')],
purge: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./lib/**/*.{js,ts,jsx,tsx}',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
primary: '#1AAE94',
'review-yellow': '#FFAA00',
'private-blue': '#184D7B',
gray: {
50: '#F5F5F5',
100: '#EEEEEE',
200: '#DDDDDD',
230: '#D8D8D8',
300: '#CCCCCC',
400: '#999999',
500: '#666666',
700: '#333333',
},
},
flexGrow: {
2: 2,
},
fontFamily: {
sans: ['Open Sans', ...defaultTheme.fontFamily.sans],
},
fontSize: {
xxs: ['.65rem', { lineHeight: '0.75rem' }],
},
height: sizes,
maxHeight: sizes,
outline: {
primary: '2px solid #1AAE94',
},
},
},
plugins: [],
};