-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
54 lines (52 loc) · 1.78 KB
/
tailwind.config.js
File metadata and controls
54 lines (52 loc) · 1.78 KB
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors');
module.exports = {
darkMode: 'class',
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
keyframes: {
'fade-in-up': {
from: { opacity: '0', transform: 'translateY(20px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
'spin-slow': {
from: { transform: 'rotate(0deg)' },
to: { transform: 'rotate(360deg)' },
},
shake: {
'0%, 100%': { transform: 'translateX(0) rotate(0deg)' },
'25%': { transform: 'translateX(var(--shake-x, -2px)) rotate(var(--shake-r, -0.5deg))' },
'75%': { transform: 'translateX(var(--shake-x-inv, 2px)) rotate(var(--shake-r-inv, 0.5deg))' },
},
},
animation: {
'fade-in-up': 'fade-in-up 0.5s ease-out both',
'spin-slow': 'spin-slow 8s linear infinite',
},
colors: {
primary: colors.neutral[900],
'primary-dark': colors.neutral[50],
secondary: colors.zinc[400],
'secondary-dark': colors.zinc[500],
accent: {
50: 'hsl(var(--accent-hue) 100% 98%)',
100: 'hsl(var(--accent-hue) 91% 95%)',
200: 'hsl(var(--accent-hue) 95% 90%)',
300: 'hsl(var(--accent-hue) 95% 82%)',
400: 'hsl(var(--accent-hue) 92% 76%)',
500: 'hsl(var(--accent-hue) 90% 66%)',
600: 'hsl(var(--accent-hue) 83% 58%)',
700: 'hsl(var(--accent-hue) 70% 50%)',
800: 'hsl(var(--accent-hue) 69% 42%)',
900: 'hsl(var(--accent-hue) 67% 35%)',
},
surface: {
light: colors.white,
dark: colors.zinc[900],
},
},
},
},
plugins: [require('@tailwindcss/typography')],
};