-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
99 lines (97 loc) · 1.93 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
const plugin = require('tailwindcss/plugin')
// @ts-ignore
module.exports = {
mode: 'jit',
// purge: [],
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
0: '#FAF9EF', // Lightest Gray
1: '#DEDCD6', // Light Gray
2: '#A6A4A1', // Gray
3: '#5A5654', // Dark Gray
4: '#484540', // Darkest Gray
gray: {
lightest: '#FAF9EF', // 0
light: '#DEDCD6', // 1
DEFAULT: '#A6A4A1', // 2
dark: '#5A5654', // 3
darkest: '#484540', // 4
},
},
fontFamily: {
sans: [
'Aileron',
'Helvetica',
'ui-sans-serif',
'system-ui',
'sans-serif',
],
mono: ['Fira Code', 'ui-monospace', 'SFMono-Regular', 'monospace'],
},
fontSize: {
sm: '.75rem',
base: '1rem',
lg: '1.777rem',
xl: '4.209rem',
},
lineHeight: {
tight: '1rem',
normal: '1.5rem',
loose: '2rem',
},
letterSpacing: {
tight: '-.035em',
normal: '0',
wide: '.035em',
},
extend: {
spacing: {
4.5: '1.125rem',
18: '4.5rem',
},
zIndex: {
'-1': '-1',
},
transitionProperty: {
'clip-path': 'clip-path',
base: 'opacity, transform',
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-3deg)' },
'50%': { transform: 'rotate(3deg)' },
},
'show-element': {
'0%': {
opacity: 0,
transform: 'translateX(calc(var(--hide-el-d, 1) * 5rem))',
},
},
},
animation: {
wiggle: 'wiggle 1s ease-in-out infinite',
'show-element': 'show-element 600ms 300ms',
},
},
},
variants: {
extend: {},
},
// plugins: [
// plugin(function ({ addUtilities }) {
// const newUtilities = {
// '.filter-none': {
// filter: 'none',
// },
// '.filter-grayscale': {
// filter: 'grayscale(100%)',
// },
// }
// addUtilities(newUtilities, ['responsive'])
// }),
// ],
}