-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.ts
74 lines (72 loc) · 2.62 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import typographyPlugin from "@tailwindcss/typography";
import { Config } from "tailwindcss";
import radixPlugin from "tailwindcss-radix";
const disabledCss = {
"code::before": false,
"code::after": false,
"blockquote p:first-of-type::before": false,
"blockquote p:last-of-type::after": false,
pre: false,
code: false,
"pre code": false,
};
export default {
darkMode: ["class", '[data-theme="dark"]'],
content: ["./src/**/*.{js,jsx,ts,tsx}", "./content/**/*.{mdx,md}"],
theme: {
extend: {
typography: {
DEFAULT: { css: disabledCss },
sm: { css: disabledCss },
lg: { css: disabledCss },
xl: { css: disabledCss },
"2xl": { css: disabledCss },
},
colors: {
"burgundy-300": "#B47DA0",
"burgundy-400": "#9B5181",
"burgundy-500": "#822661",
"grey-50": "#f6f6f6ff",
"grey-100": "#eaeaeaff",
"grey-200": "#dcdcdcff",
"grey-300": "#c8c8c8ff",
"grey-400": "#a2a2a2ff",
"grey-500": "#808080ff",
"grey-600": "#5a5a5aff",
"grey-700": "#474747ff",
"grey-800": "#2a2a2aff",
"grey-850": "#131313ff",
"grey-900": "#070707ff",
},
animation: {
// Dropdown menu
"scale-in": "scale-in 0.2s ease-in-out",
"slide-down": "slide-down 0.6s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-up": "slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1)",
// Tooltip
"slide-up-fade": "slide-up-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-right-fade":
"slide-right-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-down-fade": "slide-down-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-left-fade": "slide-left-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1)",
// Navigation menu
"enter-from-right": "enter-from-right 0.25s ease",
"enter-from-left": "enter-from-left 0.25s ease",
"exit-to-right": "exit-to-right 0.25s ease",
"exit-to-left": "exit-to-left 0.25s ease",
"scale-in-content": "scale-in-content 0.2s ease",
"scale-out-content": "scale-out-content 0.2s ease",
"fade-in": "fade-in 0.2s ease",
"fade-out": "fade-out 0.2s ease",
// Toast
"toast-hide": "toast-hide 100ms ease-in forwards",
"toast-slide-in-right":
"toast-slide-in-right 150ms cubic-bezier(0.16, 1, 0.3, 1)",
"toast-slide-in-bottom":
"toast-slide-in-bottom 150ms cubic-bezier(0.16, 1, 0.3, 1)",
"toast-swipe-out": "toast-swipe-out 100ms ease-out forwards",
},
},
},
plugins: [typographyPlugin, radixPlugin],
} satisfies Config;