-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (47 loc) · 1.06 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
const tailwindColors = require('tailwindcss/colors');
const colors = require('./tailwind.colors');
const fallback = [
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Helvetica Neue',
'Arial',
'Noto Sans',
'sans-serif',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
'Noto Color Emoji',
];
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
content: ['./index.html', './src/**/*.{ts,tsx}'],
theme: {
fontFamily: {
inter: ['Inter var', ...fallback],
},
extend: {
keyframes: {
bump: {
'0%': { transform: 'scale(1)' },
'50%': { transform: 'scale(1.2)' },
'100%': { transform: 'scale(1)' },
},
},
animation: {
bump: 'bump 0.3s ease-in-out',
},
colors: {
...tailwindColors,
...colors,
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/typography')],
};