-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
40 lines (39 loc) · 1.05 KB
/
tailwind.config.js
File metadata and controls
40 lines (39 loc) · 1.05 KB
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
import reactAria from "tailwindcss-react-aria-components";
import colors from "tailwindcss/colors";
import defaultTheme from "tailwindcss/defaultTheme";
/** @type {import('tailwindcss').Config} */
export default {
content: ["src/**/*.{html,tsx,ts}"],
theme: {
colors: {
transparent: "transparent",
current: "currentColor",
gray: colors.slate,
primary: colors.sky,
red: colors.red,
yellow: colors.yellow,
green: colors.green,
},
extend: {
ringColor: ({ theme }) => ({ DEFAULT: theme("colors.primary.400") }),
animation: {
"loading": "loading 2s ease-out",
"fade-in": "fade 150ms ease-out",
"fade-out": "fade 150ms reverse ease-in",
},
keyframes: {
fade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
loading: {
from: { opacity: 0 },
'60%': { opacity: 0 },
to: { opacity: 1 },
},
},
},
},
future: { hoverOnlyWhenSupported: true },
plugins: [reactAria({ prefix: "ra" })],
};