-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathtailwind.config.ts
54 lines (53 loc) · 1.34 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
import type { Config } from "tailwindcss";
import fluid, {
extract,
screens,
fontSize,
FluidThemeConfig,
} from "fluid-tailwind";
export default {
content: {
files: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/slices/**/*.{js,ts,jsx,tsx,mdx}",
],
extract,
},
theme: {
fluid: (({ theme }) => ({
defaultScreens: ["20rem", theme("screens.lg")],
})) satisfies FluidThemeConfig,
screens,
fontSize,
extend: {
fontFamily: {
sans: ["var(--font-bowlby-sc)"],
mono: ["var(--font-dm-mono)"],
},
colors: {
"brand-blue": "#4876ff",
"brand-lime": "#d9f154",
"brand-navy": "#2e3192",
"brand-orange": "#ff7347",
"brand-pink": "#f7d0e9",
"brand-purple": "#692e54",
"brand-gray": "#fffdf9",
},
keyframes: {
squiggle: {
"0%": { filter: 'url("#squiggle-0")' },
"25%": { filter: 'url("#squiggle-1")' },
"50%": { filter: 'url("#squiggle-2")' },
"75%": { filter: 'url("#squiggle-3")' },
"100%": { filter: 'url("#squiggle-4")' },
},
},
animation: {
squiggle: "squiggle .5s infinite",
},
},
},
plugins: [fluid],
} satisfies Config;