-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
55 lines (53 loc) · 1.29 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
import { type Config } from "tailwindcss";
import defaultTheme from "tailwindcss/defaultTheme";
const config: Config = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
fontFamily: {
sans: ["Atkinson Hyperlegible", ...defaultTheme.fontFamily.sans],
mono: ["Berkeley Mono Variable", ...defaultTheme.fontFamily.mono],
},
extend: {
maxWidth: {
// width + 1.75rem (26.25px) on both sides, so 850px + (2 * 26.25px) = 902.5px
content: "902.5px",
},
colors: {
sweater: {
1: "#EAE9FF",
2: "#D6D3FF",
3: "#C3BDFF",
4: "#ADA6FF",
5: "#9A91FE",
6: "#6B62CB",
7: "#484390",
8: "#312D65",
9: "#1D193D",
10: "#0A0919",
},
},
screens: {
content: "902.5px",
post: "710px",
xs: "480px",
},
borderWidth: {
thin: "1.5px",
thick: "3px",
},
keyframes: {
fade: {
from: { opacity: "0" },
to: { opacity: "1" },
},
},
animation: {
fade: "fade 0.4s ease-out calc(var(--order) * var(--fade-speed)) backwards",
},
},
},
};
export default config;