-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.ts
48 lines (47 loc) · 1.44 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
const config: Config = {
presets: [require('@swapr/ui/tailwind-preset')],
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@swapr/ui/**/*.{js,ts,js,mjs}',
],
theme: {
extend: {
backgroundImage: {
'gradient-border': `linear-gradient(90deg,
#4c21b612 56%,
var(--outline-warning-med-em) 63%,
#5a27da30 100%)`,
},
keyframes: {
grow: {
'0%': { transform: 'scale(0.5)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
cityFlip: {
'0%, 100%': { transform: 'translateY(0)', opacity: '1' },
'50%': { transform: 'translateY(-10px)', opacity: '0' },
},
'loading-dot': {
'0%, 100%': { opacity: '0.2' },
'20%': { opacity: '1' },
},
'border-rotate': {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
},
animation: {
'loading-dot': 'loading-dot 1.4s infinite ease-in-out',
'city-flip': 'cityFlip 200ms ease-in-out',
grow: 'grow 0.2s ease-out',
'border-rotate-fast': 'border-rotate 0.7s linear infinite',
'border-rotate': 'border-rotate 5s linear infinite',
},
},
},
plugins: [],
};
export default config;