-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind-workspace-preset.js
57 lines (56 loc) · 1.3 KB
/
tailwind-workspace-preset.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
const colors = require('tailwindcss/colors');
module.exports = {
important: true,
content: [],
darkMode: false, // or 'media' or 'class'
mode: 'jit',
theme: {
fontFamily: {
display: ['Inter', 'system-ui', 'sans-serif'],
body: ['Inter', 'system-ui', 'sans-serif'],
},
extend: {
colors: {
primary: colors.sky,
secondary: colors.pink,
dark: { ...colors.zinc, 950: '#101012' },
},
animation: {
blob: 'blob 7s infinite',
'reverse-spin': 'reverse-spin 1s linear infinite',
},
keyframes: {
blob: {
'0%': {
transform: 'translate(0px, 0px) scale(1)',
},
'33%': {
transform: 'translate(30px, -50px) scale(1.1)',
},
'66%': {
transform: 'translate(-20px, 20px) scale(0.9)',
},
'100%': {
transform: 'translate(0px, 0px) scale(1)',
},
},
'reverse-spin': {
from: {
transform: 'rotate(360deg)',
},
},
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
},
},
variants: {
extend: {},
},
plugins: [require('@tailwindcss/typography')],
};