-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
225 lines (196 loc) · 5.66 KB
/
Copy pathindex.html
File metadata and controls
225 lines (196 loc) · 5.66 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ghostry.dev documentation</title>
<meta
name="description"
content="Documentation for the ghostry family of TypeScript libraries."
/>
<link rel="icon" href="icon.png" />
<link rel="canonical" href="https://docs.ghostry.dev/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="ghostry" />
<meta property="og:title" content="ghostry" />
<meta
property="og:description"
content="Documentation for the ghostry family of TypeScript libraries."
/>
<meta property="og:url" content="https://docs.ghostry.dev/" />
<meta property="og:image" content="https://docs.ghostry.dev/icon.png" />
<meta name="twitter:card" content="summary" />
<style>
/*
* Brand tokens mirror `docs/src/pages/_root.css` in each library's docs,
* so this page and the sites it links to read as one surface. Keep the
* two in step when the palette moves.
*/
:root {
color-scheme: light dark;
--bg: light-dark(#f6f4ff, #000000);
--surface: light-dark(#ffffff, #0c0c12);
--surface-tint: light-dark(#ece8ff, #1a1a2e);
--text: light-dark(#1a1730, #ece8ff);
--text-secondary: light-dark(#4a4670, #b8b3d6);
--text-muted: light-dark(#6b6790, #8a86a8);
--heading: light-dark(#0d0b18, #f7f5ff);
--border: light-dark(#ddd6ff, #191b66);
--accent: light-dark(#4c51ff, #9378ff);
--accent-hover: light-dark(#5633ff, #b8a4ff);
--font:
ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
--font-mono:
ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
"Liberation Mono", monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
margin: 0;
padding: clamp(2rem, 6vw, 5rem) 1.5rem;
min-height: 100vh;
display: flex;
justify-content: center;
background-color: var(--bg);
color: var(--text);
font-family: var(--font);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
main {
width: 100%;
max-width: 46rem;
}
header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 0.75rem;
}
header img {
width: 3.5rem;
height: 3.5rem;
}
h1 {
margin: 0;
color: var(--heading);
font-size: clamp(2rem, 6vw, 2.75rem);
font-weight: 600;
letter-spacing: -0.02em;
}
.tagline {
margin: 0 0 3.5rem;
max-width: 34rem;
color: var(--text-secondary);
font-size: 1.125rem;
}
h2 {
margin: 0 0 1.25rem;
color: var(--text-muted);
font-size: 0.8125rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
/*
* One `.library` anchor per library. Adding a new one is a copy of the
* block below plus a `Sitemap:` line in `robots.txt` — the docs site
* itself is deployed from its own repository and needs nothing here.
*/
.libraries {
display: grid;
gap: 1rem;
margin: 0 0 3.5rem;
padding: 0;
list-style: none;
}
.library {
display: block;
padding: 1.375rem 1.5rem;
border: 1px solid var(--border);
border-radius: 0.875rem;
background-color: var(--surface);
color: inherit;
text-decoration: none;
transition:
border-color 0.15s ease,
background-color 0.15s ease,
transform 0.15s ease;
}
.library:hover,
.library:focus-visible {
border-color: var(--accent);
background-color: var(--surface-tint);
transform: translateY(-2px);
}
.library h3 {
margin: 0 0 0.375rem;
color: var(--accent);
font-family: var(--font-mono);
font-size: 1.0625rem;
font-weight: 600;
}
.library p {
margin: 0;
color: var(--text-secondary);
font-size: 0.9375rem;
}
footer {
padding-top: 2rem;
border-top: 1px solid var(--border);
color: var(--text-muted);
font-size: 0.875rem;
}
footer a {
color: var(--accent);
text-decoration: none;
}
footer a:hover,
footer a:focus-visible {
color: var(--accent-hover);
text-decoration: underline;
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
.library {
transition: none;
}
.library:hover,
.library:focus-visible {
transform: none;
}
}
</style>
</head>
<body>
<main>
<header>
<img src="logo.png" alt="" width="56" height="56" />
<h1>ghostry.dev</h1>
</header>
<p class="tagline">
Documentation for the ghostry family of TypeScript libraries.
</p>
<h2>Libraries</h2>
<ul class="libraries">
<li>
<a class="library" href="/fabricator/">
<h3>fabricator</h3>
<p>Fabricate typed data from composable schemas.</p>
</a>
</li>
</ul>
<footer>
<a href="https://github.com/ghostry-dev">github.com/ghostry-dev</a>
</footer>
</main>
</body>
</html>