-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (68 loc) · 1.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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
colors: {
chart: "rgb(173, 250, 29)",
"chart-dark": "rgb(167, 71, 254)"
},
minWidth: {
screen: "100vw",
},
minHeight: {
screen: "100vh",
},
data: {
"selected": "selected='true'"
},
transitionDuration: {
400: "400ms",
},
animation: {
"handdrawn": "2s ease-in-out 0.5s 1 normal forwards running handdrawn",
"to-full-height": "toFullHeight 1s cubic-bezier(0.4, 0, 0.6, 1)",
hide: 'hide 100ms ease-in',
"slide-in": 'slideIn 150ms cubic-bezier(0.16, 1, 0.3, 1)',
"swipe-out": 'swipeOut 100ms ease-out',
"slide-right": 'slideRight 150ms cubic-bezier(0.16, 1, 0.3, 1)',
},
keyframes: {
handdrawn: {
to: {
strokeDashoffset: 0,
}
},
toFullHeight: {
from: {
height: "0",
},
},
hide: {
from: { opacity: 1 },
to: { opacity: 0 },
},
slideIn: {
from: { transform: 'translateX(calc(-100% - var(--viewport-padding)))' },
to: { transform: 'translateX(0)' },
},
swipeOut: {
from: { transform: 'translateX(var(--radix-toast-swipe-end-x))' },
to: { transform: 'translateX(calc(-100% - var(--viewport-padding)))' },
},
slideRight: {
from: { transform: 'translateX(-100%)' },
to: { transform: 'translateX(0)' },
}
},
},
},
plugins: [],
}