-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
48 lines (45 loc) · 1.09 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
const typography = require('@tailwindcss/typography');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./app/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
keyframes: {
shrinkAndExpand: {
'0%': { transform: 'scale(1)' },
'50%': { transform: 'scale(0.9)' },
'100%': { transform: 'scale(1)' },
}
},
animation: {
shrinkAndExpand: 'shrinkAndExpand 0.4s ease-in-out',
},
boxShadow: {
shadowSm: 'var(--bg-shadow-sm)',
shadowMd: 'var(--bg-shadow-md)',
shadowLg: 'var(--bg-shadow-lg)'
},
fontSize: {
sm: '0.8rem',
base: '1rem',
xl: '1.25rem',
'2xl': '1.563rem',
'3xl': '2.145rem',
'4xl': '2.441rem',
'5xl': '3.052rem',
},
colors: {
black: 'var(--color-black)',
grey: 'var(--color-gray-800)',
teal: 'var(--color-teal)',
tealBright: 'var(--color-teal-bright)',
titledCream: 'var(--color-tinted-cream)'
}
},
},
plugins: [
typography()
],
}