-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
75 lines (74 loc) · 1.94 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
75
import { transform } from "next/dist/build/swc";
import type { Config } from "tailwindcss";
const defaultTheme = require("tailwindcss/defaultTheme");
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./ui/**/*.{js,ts,jsx,tsx,mdx}",
"./lib/**/*.{js,ts}",
"./content/**/*.{js,ts,jsx,tsx,md,mdx}",
],
darkMode: ["class"],
theme: {
fontFamily: {
sans: ["var(--font-hubot)", ...defaultTheme.fontFamily.sans],
},
screens: {
maxS: "700px",
...defaultTheme.screens,
},
container: {
center: true,
padding: "2rem",
screens: {
md: "768px",
"2xl": "1400px",
},
},
extend: {
textColor: {
primary: "var(--gray-12)",
secondary: "var(--gray-11)",
tertiary: "var(--gray-9)",
brand: "var(--brand)",
link: "var(--blue-10)",
},
backgroundColor: {
primary: "var(--gray-1)",
secondary: "var(--gray-4)",
secondaryA: "var(--gray-a4)",
tertiary: "var(--gray-3)",
},
borderColor: {
primary: "var(--gray-6)",
secondary: "var(--gray-4)",
},
ringOffsetColor: {
primary: "var(--gray-12)",
},
keyframes: {
in: {
"0%": { transform: "translateY(18px)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
"in-reverse": {
"0%": { transform: "translateY(-18px)", opacity: "0" },
"100%": { transform: "translateY(0px)", opacity: "1" },
},
},
animation: {
in: "in .6s both",
"in-reverse": "in-reverse .6s both",
},
typography: ({ theme }: any) => ({}),
},
},
plugins: [
require("@tailwindcss/typography"),
require("tailwindcss-animate"),
require("tailwind-scrollbar"),
],
};
export default config;