-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
101 lines (101 loc) · 2.91 KB
/
Copy pathtailwind.config.mjs
File metadata and controls
101 lines (101 loc) · 2.91 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,css,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
keyframes: {
fadeIn: {
"0%": { opacity: 0, transform: "translateY(20px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
// No `to` keyframe: it resolves to the tab's own resting (tucked) transform.
donateIn: {
"0%": { opacity: 0, transform: "translateX(100%)" },
"40%": { opacity: 1, transform: "translateX(0)" },
"75%": { opacity: 1, transform: "translateX(0)" },
},
},
animation: {
fadeIn: "fadeIn 0.5s ease-out forwards",
// The floating donate tab's single entrance: slides out fully open, holds,
// then tucks to its icon. `backwards` so the finished animation releases
// `transform` back to the hover/focus states.
donateIn: "donateIn 2.6s cubic-bezier(0.22, 1, 0.36, 1) 1.2s backwards",
},
colors: {
page: "#FFFBF5",
cream: "#FBF2ED",
butter: "#F7EAD4",
sand: "#F7F2E8",
// "The Organizing Table" palette — see DESIGN.md §2. These replace the
// hex literals that were scattered across page templates.
paper: "#FFFFFF",
stone: "#F2F3EE",
nightfall: "#101010",
grove: {
DEFAULT: "#157A3E",
hover: "#0E5A2F",
deep: "#2F5C3F",
},
"first-light": "#E7F2E9",
"first-light-edge": "#D2E4D6",
ink: {
DEFAULT: "#2A2428",
dark: "#201D1E",
secondary: "#73656E",
muted: "#B5B5B5",
divider: "#D6D6D6",
},
brand: {
DEFAULT: "#AB4956",
hover: "#D35464",
light: "#E8727F",
},
// Muted warm sage — a "positive/upcoming" status color derived to sit
// next to the cream/butter/rose palette instead of a generic bright
// green.
positive: {
DEFAULT: "#5C7A52",
tint: "#EDF1E8",
},
},
fontFamily: {
serif: ["Fraunces", "Fraunces Placeholder", "serif"],
sans: ["Outfit", "system-ui", "sans-serif"],
},
borderRadius: {
sm: "8px",
md: "16px",
lg: "24px",
pill: "999px",
},
red: {
50: "#fff1f3",
100: "#ffe0e3",
200: "#ffc6cc",
300: "#ff9ea9",
400: "#ff6778",
500: "#fc374d",
600: "#ea182f",
700: "#ce1126",
800: "#a21222",
900: "#861622",
950: "#49060d",
},
green: {
50: "#ecfff5",
100: "#d3ffe9",
200: "#aaffd5",
300: "#69ffb6",
400: "#21ff90",
500: "#00f26f",
600: "#00ca58",
700: "#009e48",
800: "#007a3d",
900: "#026535",
950: "#00391b",
},
},
},
plugins: [],
};