-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
107 lines (106 loc) · 2.93 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
variants: {
extend: {
animation: ['group-hover', 'group-focus'],
},
},
theme: {
extend: {
transitionProperty: {
'height': 'height',
},
keyframes: {
wiggle: {
'0%': { transform: 'rotate(0deg)' },
'25%': { transform: 'rotate(-3deg)' },
'75%': { transform: 'rotate(3deg)' },
'100%': { transform: 'rotate(0deg)' },
},
shake: {
'0%': {
transform: 'translateX(0)',
},
'6.5%': {
transform: 'translateX(-6px) rotateY(-9deg)',
},
'18.5%': {
transform: 'translateX(5px) rotateY(7deg)',
},
'31.5%': {
transform: 'translateX(-3px) rotateY(-5deg)',
},
'43.5%': {
transform: 'translateX(2px) rotateY(3deg)',
},
'50%': {
transform: 'translateX(0)',
},
},
heartBeat: {
'0%': {
transform: 'scale(1)',
},
'14%': {
transform: 'scale(1.2)',
},
'28%': {
transform: 'scale(1)',
},
'42%': {
transform: 'scale(1.2)',
},
'70%': {
transform: 'scale(1)',
},
},
},
animation: {
wiggle: 'wiggle 1s linear infinite',
shake: 'shake 1s ease-in-out infinite',
heartBeat: 'heartBeat 1s ease-in-out infinite',
},
colors: {
'emerald-750': '#047857',
'slate-750': '#293548',
'slate-850': '#172033',
'slate-1000': '#000004',
},
boxShadow: {
'radial-sm': '0 0 5px 1px rgba(0, 0, 0, 0.2)',
'radial-md': '0 0 10px 2px rgba(0, 0, 0, 0.2)',
'radial-lg': '0 0 15px 3px rgba(0, 0, 0, 0.2)',
'radial-xl': '0 0 20px 5px rgba(0, 0, 0, 0.2)',
'radial-2xl': '0 0 25px 5px rgba(0, 0, 0, 0.2)',
'radial-3xl': '0 0 30px 5px rgba(0, 0, 0, 0.2)',
},
fontFamily: {
sans: [
"Inter var, sans-serif",
{
fontFeatureSettings: '"cv11", "cv02", "cv03", "cv04"',
fontVariationSettings: '"opsz" 32'
}, ...defaultTheme.fontFamily.sans
],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('daisyui'),
require('tailwind-scrollbar')({ nocompatible: true }),
],
}