-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_tailwind.css
More file actions
112 lines (97 loc) · 2.41 KB
/
_tailwind.css
File metadata and controls
112 lines (97 loc) · 2.41 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
102
103
104
105
106
107
108
109
110
111
112
@import "tailwindcss";
/* Tell Tailwind v4 what files to scan (replaces `content:`) */
@source "./_layouts/**/*.{html,md}";
@source "./_includes/**/*.{html,md}";
@source "./_posts/**/*.{html,md}";
@source "./*.{html,md}";
@source "./assets/**/*.{css,js}";
@source "./**/*.{html,md}";
/* Fonts */
@font-face {
font-family: "Commit Mono";
src: url("/assets/fonts/CommitMono-Variable.woff2") format("woff2");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "ChiKareGo2";
src: url("/assets/fonts/ChiKareGo2.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Helvetica Now Text";
src: url("/assets/fonts/MonotypeHelveticaNowText.otf") format("opentype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Helvetica Now Text";
src: url("/assets/fonts/MonotypeHelveticaNowTextMedium.otf") format("opentype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Helvetica Now Text";
src: url("/assets/fonts/MonotypeHelveticaNowTextBold.otf") format("opentype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
/* Theme tokens (replaces `theme.extend`) */
@theme {
--font-display: "Helvetica Now Text", "Lucida Grande", serif;
--font-mono: "Commit Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
--color-moss-50: #f7f7f6;
--color-moss-100: #ecedeb;
--color-moss-200: #d9dcd6;
--color-moss-300: #adb3a8;
--color-moss-400: #939b8d;
--color-moss-500: #727b6c;
--color-moss-600: #5c6356;
--color-moss-700: #4a4f46;
--color-moss-800: #3d413a;
--color-moss-900: #333631;
--color-moss-950: #191b18;
}
/* Optional: friendly utility names for your font tokens */
@layer utilities {
.font-display {
font-family: var(--font-display);
}
.font-mono {
font-family: var(--font-mono);
}
}
/* Custom prose styles for blog posts */
@layer components {
.prose {
max-width: 65ch;
}
.prose p {
margin-top: 1.25em;
line-height: 1.7;
}
.prose h1 {
font-size: 2.25rem;
margin-top: 2.5em;
margin-bottom: 0.75em;
}
.prose h2 {
font-size: 1.5rem;
margin-top: 2em;
margin-bottom: 0.5em;
}
.prose a {
text-decoration: underline;
text-underline-offset: 3px;
}
.prose code {
font-family: var(--font-mono);
font-size: 0.9em;
}
}