-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
53 lines (52 loc) · 1.51 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
import { type Config } from "tailwindcss";
import aspectRatio from "@tailwindcss/aspect-ratio";
import typography from "@tailwindcss/typography";
module.exports = {
corePlugins: {
aspectRatio: false,
},
theme: {
extend: {
fontFamily: {
sans: "var(--font-biotif)",
},
colors: {
highlight: "var(--color-highlight-current)",
primary: "var(--colors-primary)",
secondary: "var(--colors-secondary)",
background: "var(--colors-background)",
command: "var(--colors-command)",
hover: "var(--colors-hover)",
pink: "var(--colors-pink)",
purple: "var(--colors-purple)",
cyan: "var(--colors-cyan)",
green: "var(--colors-green)",
yellow: "var(--colors-yellow)",
},
padding: {
"nav-height-desktop": "var(--space-navHeightDesktop)",
"nav-height-mobile": "var(--space-navHeightMobile)",
},
animation: {
textclip: "textclip 5000ms linear infinite",
},
keyframes: {
textclip: {
to: {
backgroundPosition: "200% center",
},
},
},
backgroundImage: {
"linear-dracula":
"linear-gradient(-225deg, var(--colors-cyan) 0%, var(--colors-green) 52%, var(--colors-cyan) 100% )",
},
},
},
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
plugins: [aspectRatio, typography],
} satisfies Config;