-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
44 lines (43 loc) · 1.11 KB
/
tailwind.config.cjs
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
// eslint-disable-next-line @typescript-eslint/no-var-requires
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
colors: {
accent: "#015AD9",
secondary: "#FAA83C",
darkAccent: "#001533"
},
maxWidth: {
container: "1400px"
},
fontFamily: {
sans: ["'Atkinson Hyperlegible'", ...defaultTheme.fontFamily.sans]
},
fontSize: {
varBase: "var(--font-size-base)"
},
keyframes: {
slideLeft: {
"0%": { transform: "translateX(100%)" },
"100%": { transform: "translateX(0%)" }
},
slideRight: {
"0%": { transform: "translateX(0%)" },
"100%": { transform: "translateX(100%)" }
},
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" }
},
fadeOut: {
"0%": { opacity: "1" },
"100%": { opacity: "0" }
}
}
}
},
plugins: []
};