-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (83 loc) · 2.86 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
fontFamily: {
sans: ['Rubik', 'sans-serif'],
serif: ['PT Serif', 'serif'],
},
extend: {
spacing: {
base: '0.75rem',
},
colors: {
primary: {
DEFAULT: 'hsl(var(--color-primary) / <alpha-value>)',
700: 'hsl(var(--color-primary-700) / <alpha-value>)',
600: 'hsl(var(--color-primary-600) / <alpha-value>)',
500: 'hsl(var(--color-primary-500) / <alpha-value>)',
400: 'hsl(var(--color-primary-400) / <alpha-value>)',
},
secondary: {
DEFAULT: 'hsl(var(--color-secondary) / <alpha-value>)',
700: 'hsl(var(--color-secondary-700) / <alpha-value>)',
600: 'hsl(var(--color-secondary-600) / <alpha-value>)',
500: 'hsl(var(--color-secondary-500) / <alpha-value>)',
400: 'hsl(var(--color-secondary-400) / <alpha-value>)',
},
white: {
DEFAULT: 'hsl(240, 21%, 95%)',
full: 'hsl(255, 100%,100%)',
},
dark: {
DEFAULT: 'hsl(var(--color-dark) / <alpha-value>)',
900: 'hsl(var(--color-dark-900) / <alpha-value>)',
800: 'hsl(var(--color-dark-800) / <alpha-value>)',
700: 'hsl(var(--color-dark-700) / <alpha-value>)',
600: 'hsl(var(--color-dark-600) / <alpha-value>)',
500: 'hsl(var(--color-dark-500) / <alpha-value>)',
400: 'hsl(var(--color-dark-400) / <alpha-value>)',
300: 'hsl(var(--color-dark-300) / <alpha-value>)',
},
},
animation: {
slideUp: 'slideUp 0.5s ease-in-out forwards',
slideLeft: 'slideLeft 0.5s ease-in-out forwards',
fadeIn: 'fadeIn 0.5s ease-in-out forwards',
text: 'text 5s ease infinite alternate',
},
keyframes: {
slideUp: {
'0%': { transform: 'translateY(100px) scale(0.8)' },
'100%': { transform: 'translateY(0) scale(1)' },
},
slideLeft: {
'0%': { transform: 'translateX(100px) scale(1.2, 1)' },
'50%': { transform: 'translateX(0) scale(1.3, 1)' },
'70%': { transform: 'translateX(0) scale(1.1, 1)' },
'90%': { transform: 'translateX(0) scale(0.9, 1)' },
'100%': { transform: 'translateX(0) scale(1)' },
},
fadeIn: {
'0%': { opacity: 0, transform: 'scale(0.5)' },
'100%': { opacity: 1, transform: 'scale(1)' },
},
text: {
'0%, 100%': {
backgroundSize: '200% 200%',
backgroundPosition: 'left center',
},
'50%': {
backgroundSize: '200% 200%',
backgroundPosition: 'right center',
},
},
},
},
container: {
center: true,
},
},
plugins: [],
};