-
Notifications
You must be signed in to change notification settings - Fork 95
/
tailwind.config.mjs
72 lines (72 loc) · 2.29 KB
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
// These values are mirrored in variables.scss
screens: {
md: "770px",
lg: "1024px",
xl: "1280px",
},
extend: {
maxWidth: (theme) => ({
"screen-md": theme("screens.md"),
"screen-lg": theme("screens.lg"),
"screen-xl": theme("screens.xl"),
}),
colors: {
"bg-yellow": "var(--bg-yellow)",
"bg-taupe": "var(--bg-taupe)",
"bg-orange": "var(--bg-orange)",
"bg-magenta-70": "var(--bg-magenta-70)",
"bg-magenta-20": "var(--bg-magenta-20)",
"bg-gray-40": "var(--bg-gray-40)",
"bg-gray-20": "var(--bg-gray-20)",
"bg-green": "var(--bg-green)",
"bg-blue": "var(--bg-blue)",
"bg-white": "var(--bg-white)",
"bg-black": "var(--bg-black)",
"type-black": "var(--type-black)",
"type-white": "var(--type-white)",
"type-magenta": "var(--type-magenta)",
"type-magenta-dark": "var(--type-magenta-dark)",
"type-blue": "var(--type-blue)",
"type-gray": "var(--type-gray)",
"logo-color": "var(--logo-color)",
"bg-color": "var(--bg-color)",
"type-color": "var(--type-color)",
"sidebar-bg-color": "var(--sidebar-bg-color)",
"sidebar-type-color": "var(--sidebar-type-color)",
"accent-color": "var(--accent-color)",
"accent-type-color": "var(--accent-type-color)",
},
fontFamily: {
serif: "var(--font-serif)",
sans: "var(--font-sans)",
},
spacing: {
xxs: "var(--spacing-xxs)",
xs: "var(--spacing-xs)",
sm: "var(--spacing-sm)",
md: "var(--spacing-md)",
lg: "var(--spacing-lg)",
xl: "var(--spacing-xl)",
"2xl": "var(--spacing-2xl)",
"3xl": "var(--spacing-3xl)",
"4xl": "var(--spacing-4xl)",
"5xl": "var(--spacing-5xl)",
gutter: "var(--gutter)",
"gutter-sm": "var(--gutter-sm)",
"gutter-md": "var(--gutter-md)",
"gutter-lg": "var(--gutter-lg)",
},
animation: {
"spin-slow": "spin 7s linear infinite",
},
aspectRatio: {
photo: "3 / 2",
},
},
},
plugins: [],
};