-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
49 lines (48 loc) · 1.2 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
container: {
center: true,
},
fontFamily: {
supply: ["var(--font-supply)"],
chakra: ["var(--font-chakra)"],
},
extend: {
borderColor: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
"semi-grey": "var(--color-semi-grey)",
"dark-grey": "var(--color-dark-grey)",
},
fontSize: {
xxs: "0.5rem",
},
colors: {
primary: "var(--color-primary)",
secondary: "var(--color-secondary)",
"semi-grey": "var(--color-semi-grey)",
"dark-grey": "var(--color-dark-grey)",
},
backgroundColor: {
primary: "var(--color-primary)",
},
},
keyframes: {
"scroll-text": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(calc(-100% - 4rem))" },
},
},
animation: {
"scroll-text": "scroll-text 30s linear infinite",
},
},
plugins: [],
};
export default config;