-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
57 lines (57 loc) · 1.1 KB
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
backgroundImage: {
horizonAnimated: "url('/assets/svg/backgrounds/horizon-animated.svg')",
horizon: "url('/assets/svg/backgrounds/horizon.svg')",
},
keyframes: {
'zoom-in': {
'0%': {
opacity: 0,
transform: 'scale(0.75)',
},
'100%': {
opacity: 1,
transform: 'scale(1)',
},
},
'zoom-in-out': {
'0%': {
transform: 'scale(1.1)',
},
'100%': {
transform: 'scale(1)',
},
},
'fade-up': {
from: {
opacity: 0,
transform: 'translateY(1.5rem)',
},
to: {
opacity: 1,
transform: 'none',
},
},
'fade-in': {
from: {
opacity: 0,
},
to: {
opacity: 1,
},
},
},
animation: {
'fade-up': 'fade-up 700ms ease 300ms',
'fade-in': 'fade-in 700ms ease 300ms',
'zoom-in': 'zoom-in 500ms ease 300ms',
'zoom-in-out': 'zoom-in-out 700ms ease',
},
},
},
plugins: [],
};