-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.cjs
72 lines (72 loc) · 1.71 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
screens: {
xxs: '480px',
xxl: '1400px',
},
colors: {
'light': '#F3F4F6',
'dark': '#181818',
'pc-g': '#00BAAF',
'pc-b': '#317AEC',
},
fontFamily: {
lufga: ['Lufga', 'sans-serif'],
itcavantgardestdmd: ['Itcavantgardestdmd', 'sans-serif'],
},
keyframes: {
'hover': {
'0%': {
opacity: '0',
transform: 'translateY(0px)',
},
'15%': {
opacity: '1',
transform: 'translateY(-5px)',
},
'50%': {
opacity: '1',
transform: 'translateY(-5px)',
},
'75%': {
opacity: '1',
},
'100%': {
opacity: '0',
transform: 'translateY(0)',
},
},
'hover-opposite': {
'0%': {
opacity: '0',
transform: 'translateY(0px)',
},
'15%': {
opacity: '1',
},
'40%': {
opacity: '1',
transform: 'translateY(-2px)',
},
'70%': {
opacity: '1',
transform: 'translateY(-6px)',
},
'100%': {
opacity: '0',
transform: 'translateY(0)',
},
},
},
animation: {
'hover-short': 'hover 10s infinite ease-in-out',
'hover-medium': 'hover-opposite 10s infinite ease-in-out',
'hover-long': 'hover 10s infinite ease-in-out',
},
},
},
plugins: [],
}