@pinkpixel/memi 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +298 -2
- package/dist/cli/commands/config.js +38 -0
- package/dist/cli/commands/doctor.js +53 -0
- package/dist/cli/commands/memories.js +146 -0
- package/dist/cli/commands/reindex.js +34 -0
- package/dist/cli/commands/serve.js +9 -0
- package/dist/cli/commands/ui.js +26 -0
- package/dist/cli/index.js +20 -0
- package/dist/cli/util.js +46 -0
- package/dist/core/config.js +89 -0
- package/dist/core/db.js +21 -0
- package/dist/core/format.js +16 -0
- package/dist/core/memories.js +192 -0
- package/dist/core/project.js +53 -0
- package/dist/core/rows.js +38 -0
- package/dist/core/runtime.js +10 -0
- package/dist/core/schema.js +60 -0
- package/dist/core/search.js +86 -0
- package/dist/core/types.js +12 -0
- package/dist/core/vectors.js +102 -0
- package/dist/embed/http.js +20 -0
- package/dist/embed/index.js +9 -0
- package/dist/embed/ollama.js +24 -0
- package/dist/embed/openai.js +22 -0
- package/dist/embed/types.js +2 -0
- package/dist/lib/app-info.js +5 -0
- package/dist/mcp/server.js +24 -0
- package/dist/mcp/tools.js +152 -0
- package/dist/ui/assets.js +38 -0
- package/dist/ui/routes.js +91 -0
- package/dist/ui/security.js +47 -0
- package/dist/ui/server.js +33 -0
- package/package.json +63 -4
- package/skills/memi-curate/SKILL.md +89 -0
- package/skills/memi-memory/SKILL.md +141 -0
- package/skills/memi-memory/references/examples.md +50 -0
- package/skills/memi-memory/references/rubrics.md +44 -0
- package/skills/memi-setup/SKILL.md +159 -0
- package/ui/css/controls.css +274 -0
- package/ui/css/dialogs.css +145 -0
- package/ui/css/layout.css +237 -0
- package/ui/css/memories.css +168 -0
- package/ui/css/tokens.css +125 -0
- package/ui/favicon.svg +1 -0
- package/ui/fonts/OFL.txt +192 -0
- package/ui/fonts/geist-latin-wght-normal.woff2 +0 -0
- package/ui/fonts/geist-mono-latin-wght-normal.woff2 +0 -0
- package/ui/index.html +75 -0
- package/ui/js/api.js +30 -0
- package/ui/js/confirm.js +29 -0
- package/ui/js/dom.js +49 -0
- package/ui/js/editor.js +133 -0
- package/ui/js/icons.js +29 -0
- package/ui/js/list.js +66 -0
- package/ui/js/main.js +244 -0
- package/ui/js/sidebar.js +85 -0
- package/ui/js/state.js +61 -0
- package/ui/js/toast.js +10 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
.app {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template-columns: var(--sidebar) minmax(0, 1fr);
|
|
5
|
+
height: 100dvh;
|
|
6
|
+
/* The page is exactly one screen tall, so it never scrolls. Only the lists inside do.
|
|
7
|
+
Not on <body>: overflow set there is passed up to the viewport, where clip becomes hidden
|
|
8
|
+
and focus or scrollIntoView can still scroll it away. */
|
|
9
|
+
overflow: clip;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Sidebar */
|
|
13
|
+
.sidebar {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
min-height: 0;
|
|
17
|
+
background: var(--surface);
|
|
18
|
+
border-right: 1px solid var(--border);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.sidebar-head {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
padding: 14px var(--gutter);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.brand {
|
|
30
|
+
font: 600 18px/1 var(--font-mono);
|
|
31
|
+
letter-spacing: -0.02em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sidebar-body {
|
|
35
|
+
flex: 1;
|
|
36
|
+
min-height: 0;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
padding: 4px 8px 16px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.group {
|
|
42
|
+
margin-top: 16px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.group-title {
|
|
46
|
+
margin: 0 0 4px;
|
|
47
|
+
padding: 0 8px;
|
|
48
|
+
color: var(--text-faint);
|
|
49
|
+
font-size: 13px;
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.nav {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
gap: 1px;
|
|
57
|
+
margin: 0;
|
|
58
|
+
padding: 0;
|
|
59
|
+
list-style: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sidebar-foot {
|
|
63
|
+
padding: 12px var(--gutter);
|
|
64
|
+
border-top: 1px solid var(--border);
|
|
65
|
+
color: var(--text-faint);
|
|
66
|
+
font: 400 12px/1.5 var(--font-mono);
|
|
67
|
+
overflow-wrap: anywhere;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Main column */
|
|
71
|
+
.main {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
min-width: 0;
|
|
75
|
+
min-height: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.topbar {
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-wrap: wrap;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: 8px;
|
|
83
|
+
padding: 12px var(--gutter);
|
|
84
|
+
border-bottom: 1px solid var(--border);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.topbar .search {
|
|
88
|
+
flex: 1 1 260px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* .btn also sets display, and loads later, so these need the extra class to win. */
|
|
92
|
+
.btn.filters-toggle {
|
|
93
|
+
display: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.topbar .spacer {
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.statusline {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-wrap: wrap;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: space-between;
|
|
105
|
+
gap: 8px 16px;
|
|
106
|
+
padding: 10px var(--gutter);
|
|
107
|
+
color: var(--text-dim);
|
|
108
|
+
font-size: 13px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.statusline .left {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-wrap: wrap;
|
|
114
|
+
align-items: center;
|
|
115
|
+
gap: 4px 12px;
|
|
116
|
+
min-width: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.scroller {
|
|
120
|
+
flex: 1;
|
|
121
|
+
min-height: 0;
|
|
122
|
+
overflow-y: auto;
|
|
123
|
+
overscroll-behavior: contain;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.banners {
|
|
127
|
+
display: grid;
|
|
128
|
+
gap: 8px;
|
|
129
|
+
padding: 0 var(--gutter);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.banners:not(:empty) {
|
|
133
|
+
padding-top: 12px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.list {
|
|
137
|
+
margin: 0;
|
|
138
|
+
padding: 0;
|
|
139
|
+
list-style: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.list-foot {
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
padding: 16px var(--gutter) 32px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.empty {
|
|
149
|
+
display: grid;
|
|
150
|
+
justify-items: start;
|
|
151
|
+
gap: 12px;
|
|
152
|
+
padding: 40px var(--gutter);
|
|
153
|
+
color: var(--text-dim);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.empty p {
|
|
157
|
+
margin: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
#toasts {
|
|
161
|
+
position: fixed;
|
|
162
|
+
right: var(--gutter);
|
|
163
|
+
bottom: var(--gutter);
|
|
164
|
+
z-index: 50;
|
|
165
|
+
display: grid;
|
|
166
|
+
gap: 8px;
|
|
167
|
+
width: min(380px, calc(100% - 2 * var(--gutter)));
|
|
168
|
+
pointer-events: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.backdrop {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Phones and small tablets: filters become a drawer. */
|
|
176
|
+
@media (max-width: 899px) {
|
|
177
|
+
.app {
|
|
178
|
+
grid-template-columns: minmax(0, 1fr);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.btn.filters-toggle {
|
|
182
|
+
display: inline-flex;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.sidebar {
|
|
186
|
+
position: fixed;
|
|
187
|
+
inset: 0 auto 0 0;
|
|
188
|
+
z-index: 30;
|
|
189
|
+
width: min(320px, 88%);
|
|
190
|
+
transform: translateX(-100%);
|
|
191
|
+
visibility: hidden;
|
|
192
|
+
transition:
|
|
193
|
+
transform 180ms var(--ease),
|
|
194
|
+
visibility 0s linear 180ms;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.sidebar.open {
|
|
198
|
+
transform: none;
|
|
199
|
+
visibility: visible;
|
|
200
|
+
transition:
|
|
201
|
+
transform 180ms var(--ease),
|
|
202
|
+
visibility 0s;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.backdrop {
|
|
206
|
+
position: fixed;
|
|
207
|
+
inset: 0;
|
|
208
|
+
z-index: 20;
|
|
209
|
+
border: 0;
|
|
210
|
+
background: oklch(0.1 0.005 265 / 0.6);
|
|
211
|
+
opacity: 0;
|
|
212
|
+
pointer-events: none;
|
|
213
|
+
transition: opacity 180ms var(--ease);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.backdrop.open {
|
|
217
|
+
display: block;
|
|
218
|
+
opacity: 1;
|
|
219
|
+
pointer-events: auto;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.topbar .search {
|
|
223
|
+
flex-basis: 100%;
|
|
224
|
+
order: 3;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.topbar .spacer {
|
|
228
|
+
display: block;
|
|
229
|
+
flex: 1;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@media (min-width: 900px) {
|
|
234
|
+
.btn.sidebar-close {
|
|
235
|
+
display: none;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/* Memory rows */
|
|
2
|
+
.row {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: 4px;
|
|
6
|
+
padding: 4px var(--gutter) 4px 4px;
|
|
7
|
+
border-bottom: 1px solid var(--border);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.row:hover {
|
|
11
|
+
background: var(--surface);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.row-main {
|
|
15
|
+
flex: 1;
|
|
16
|
+
min-width: 0;
|
|
17
|
+
display: grid;
|
|
18
|
+
gap: 8px;
|
|
19
|
+
padding: 10px 12px;
|
|
20
|
+
border: 0;
|
|
21
|
+
border-radius: var(--radius);
|
|
22
|
+
background: transparent;
|
|
23
|
+
text-align: left;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.row-content {
|
|
27
|
+
display: -webkit-box;
|
|
28
|
+
-webkit-box-orient: vertical;
|
|
29
|
+
-webkit-line-clamp: 4;
|
|
30
|
+
line-clamp: 4;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
white-space: pre-wrap;
|
|
33
|
+
overflow-wrap: anywhere;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.row-actions {
|
|
37
|
+
display: flex;
|
|
38
|
+
padding-top: 4px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.meta {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-wrap: wrap;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 6px 8px;
|
|
46
|
+
color: var(--text-faint);
|
|
47
|
+
font: 400 12px/1.4 var(--font-mono);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.chip {
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 4px;
|
|
54
|
+
max-width: 100%;
|
|
55
|
+
padding: 2px 8px;
|
|
56
|
+
border: 1px solid var(--border);
|
|
57
|
+
border-radius: 999px;
|
|
58
|
+
color: var(--text-dim);
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
text-overflow: ellipsis;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.chip.category {
|
|
65
|
+
background: var(--surface-2);
|
|
66
|
+
color: var(--text);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.chip.pinned {
|
|
70
|
+
border-color: transparent;
|
|
71
|
+
background: transparent;
|
|
72
|
+
color: var(--accent);
|
|
73
|
+
padding-left: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.pips {
|
|
77
|
+
display: inline-flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: 3px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.pip {
|
|
83
|
+
width: 8px;
|
|
84
|
+
height: 8px;
|
|
85
|
+
border: 1.5px solid var(--text-faint);
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.pip.on {
|
|
90
|
+
border-color: var(--accent);
|
|
91
|
+
background: var(--accent);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.score {
|
|
95
|
+
color: var(--text-faint);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Banners and toasts */
|
|
99
|
+
.banner {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-wrap: wrap;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: 8px 12px;
|
|
104
|
+
padding: 10px 12px;
|
|
105
|
+
border: 1px solid var(--border-strong);
|
|
106
|
+
border-radius: var(--radius);
|
|
107
|
+
background: var(--warn-surface);
|
|
108
|
+
font-size: 14px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.banner.error {
|
|
112
|
+
background: var(--danger-surface);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.banner svg {
|
|
116
|
+
flex: none;
|
|
117
|
+
color: var(--accent);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.banner.error svg {
|
|
121
|
+
color: var(--danger);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.banner .text {
|
|
125
|
+
flex: 1 1 220px;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.banner code,
|
|
130
|
+
.cmd {
|
|
131
|
+
display: inline-flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: 6px;
|
|
134
|
+
padding: 2px 8px;
|
|
135
|
+
border: 1px solid var(--border-strong);
|
|
136
|
+
border-radius: var(--radius-sm);
|
|
137
|
+
background: var(--bg);
|
|
138
|
+
font: 400 13px/1.5 var(--font-mono);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.toast {
|
|
142
|
+
display: flex;
|
|
143
|
+
align-items: flex-start;
|
|
144
|
+
gap: 10px;
|
|
145
|
+
padding: 12px 14px;
|
|
146
|
+
border: 1px solid var(--border-strong);
|
|
147
|
+
border-radius: var(--radius);
|
|
148
|
+
background: var(--surface-2);
|
|
149
|
+
box-shadow: 0 8px 24px oklch(0.1 0.005 265 / 0.5);
|
|
150
|
+
pointer-events: auto;
|
|
151
|
+
animation: toast-in 160ms var(--ease);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.toast.error {
|
|
155
|
+
border-color: var(--danger);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.toast svg {
|
|
159
|
+
flex: none;
|
|
160
|
+
margin-top: 2px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@keyframes toast-in {
|
|
164
|
+
from {
|
|
165
|
+
opacity: 0;
|
|
166
|
+
transform: translateY(8px);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Geist";
|
|
3
|
+
src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
|
|
4
|
+
font-weight: 100 900;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
}
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: "Geist Mono";
|
|
9
|
+
src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
|
|
10
|
+
font-weight: 100 900;
|
|
11
|
+
font-display: swap;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root {
|
|
15
|
+
color-scheme: dark;
|
|
16
|
+
|
|
17
|
+
--font-sans: "Geist", ui-sans-serif, sans-serif;
|
|
18
|
+
--font-mono: "Geist Mono", ui-monospace, monospace;
|
|
19
|
+
|
|
20
|
+
/* Charcoal surfaces with a faint cool tint, never pure black or white. */
|
|
21
|
+
--bg: oklch(0.185 0.006 265);
|
|
22
|
+
--surface: oklch(0.225 0.007 265);
|
|
23
|
+
--surface-2: oklch(0.27 0.008 265);
|
|
24
|
+
--border: oklch(0.33 0.008 265);
|
|
25
|
+
--border-strong: oklch(0.42 0.01 265);
|
|
26
|
+
|
|
27
|
+
--text: oklch(0.965 0.004 265);
|
|
28
|
+
--text-dim: oklch(0.76 0.01 265);
|
|
29
|
+
--text-faint: oklch(0.62 0.012 265);
|
|
30
|
+
|
|
31
|
+
/* One warm accent for focus, pins and importance. Danger and warning are separate. */
|
|
32
|
+
--accent: oklch(0.83 0.145 85);
|
|
33
|
+
--danger: oklch(0.7 0.17 25);
|
|
34
|
+
--danger-surface: oklch(0.3 0.07 25);
|
|
35
|
+
--warn-surface: oklch(0.31 0.05 85);
|
|
36
|
+
|
|
37
|
+
--radius: 8px;
|
|
38
|
+
--radius-sm: 6px;
|
|
39
|
+
--gutter: 16px;
|
|
40
|
+
--control: 36px;
|
|
41
|
+
--sidebar: 288px;
|
|
42
|
+
|
|
43
|
+
--ease: cubic-bezier(0.2, 0, 0, 1);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@media (pointer: coarse), (max-width: 899px) {
|
|
47
|
+
:root {
|
|
48
|
+
--control: 44px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
*,
|
|
53
|
+
*::before,
|
|
54
|
+
*::after {
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
html {
|
|
59
|
+
height: 100%;
|
|
60
|
+
-webkit-text-size-adjust: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
body {
|
|
64
|
+
margin: 0;
|
|
65
|
+
height: 100%;
|
|
66
|
+
background: var(--bg);
|
|
67
|
+
color: var(--text);
|
|
68
|
+
font: 400 15px/1.5 var(--font-sans);
|
|
69
|
+
-webkit-font-smoothing: antialiased;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Fine grain so large flat areas don't look dead. */
|
|
73
|
+
body::before {
|
|
74
|
+
content: "";
|
|
75
|
+
position: fixed;
|
|
76
|
+
inset: 0;
|
|
77
|
+
pointer-events: none;
|
|
78
|
+
opacity: 0.045;
|
|
79
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
button,
|
|
83
|
+
input,
|
|
84
|
+
select,
|
|
85
|
+
textarea {
|
|
86
|
+
font: inherit;
|
|
87
|
+
color: inherit;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
button {
|
|
91
|
+
cursor: pointer;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[hidden] {
|
|
95
|
+
display: none !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:focus-visible {
|
|
99
|
+
outline: 2px solid var(--accent);
|
|
100
|
+
outline-offset: 2px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.sr-only {
|
|
104
|
+
position: absolute;
|
|
105
|
+
width: 1px;
|
|
106
|
+
height: 1px;
|
|
107
|
+
margin: -1px;
|
|
108
|
+
padding: 0;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
clip-path: inset(50%);
|
|
111
|
+
white-space: nowrap;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.mono {
|
|
115
|
+
font-family: var(--font-mono);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (prefers-reduced-motion: reduce) {
|
|
119
|
+
*,
|
|
120
|
+
*::before,
|
|
121
|
+
*::after {
|
|
122
|
+
animation-duration: 0.01ms !important;
|
|
123
|
+
transition-duration: 0.01ms !important;
|
|
124
|
+
}
|
|
125
|
+
}
|
package/ui/favicon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32" rx="7" fill="#25262b"/><path d="M7 23V10.5M7 15c0-3 2-4.5 4.5-4.5S16 12 16 15v8m0-8c0-3 2-4.5 4.5-4.5S25 12 25 15v8" fill="none" stroke="#f3f4f6" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
package/ui/fonts/OFL.txt
ADDED
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
Fonts in this folder: Geist and Geist Mono, from @fontsource-variable/geist and @fontsource-variable/geist-mono 5.3.0.
|
|
2
|
+
Both are licensed under the SIL Open Font License 1.1, reproduced below.
|
|
3
|
+
|
|
4
|
+
=== Geist ===
|
|
5
|
+
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font) Geist-Italic[wght].ttf: Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font)
|
|
6
|
+
|
|
7
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
8
|
+
This license is copied below, and is also available with a FAQ at:
|
|
9
|
+
http://scripts.sil.org/OFL
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
-----------------------------------------------------------
|
|
13
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
14
|
+
-----------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
PREAMBLE
|
|
17
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
18
|
+
development of collaborative font projects, to support the font creation
|
|
19
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
20
|
+
open framework in which fonts may be shared and improved in partnership
|
|
21
|
+
with others.
|
|
22
|
+
|
|
23
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
24
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
25
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
26
|
+
redistributed and/or sold with any software provided that any reserved
|
|
27
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
28
|
+
however, cannot be released under any other type of license. The
|
|
29
|
+
requirement for fonts to remain under this license does not apply
|
|
30
|
+
to any document created using the fonts or their derivatives.
|
|
31
|
+
|
|
32
|
+
DEFINITIONS
|
|
33
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
34
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
35
|
+
include source files, build scripts and documentation.
|
|
36
|
+
|
|
37
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
38
|
+
copyright statement(s).
|
|
39
|
+
|
|
40
|
+
"Original Version" refers to the collection of Font Software components as
|
|
41
|
+
distributed by the Copyright Holder(s).
|
|
42
|
+
|
|
43
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
44
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
45
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
46
|
+
new environment.
|
|
47
|
+
|
|
48
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
49
|
+
writer or other person who contributed to the Font Software.
|
|
50
|
+
|
|
51
|
+
PERMISSION & CONDITIONS
|
|
52
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
53
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
54
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
55
|
+
Software, subject to the following conditions:
|
|
56
|
+
|
|
57
|
+
1) Neither the Font Software nor any of its individual components,
|
|
58
|
+
in Original or Modified Versions, may be sold by itself.
|
|
59
|
+
|
|
60
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
61
|
+
redistributed and/or sold with any software, provided that each copy
|
|
62
|
+
contains the above copyright notice and this license. These can be
|
|
63
|
+
included either as stand-alone text files, human-readable headers or
|
|
64
|
+
in the appropriate machine-readable metadata fields within text or
|
|
65
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
66
|
+
|
|
67
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
68
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
69
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
70
|
+
presented to the users.
|
|
71
|
+
|
|
72
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
73
|
+
Software shall not be used to promote, endorse or advertise any
|
|
74
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
75
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
76
|
+
permission.
|
|
77
|
+
|
|
78
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
79
|
+
must be distributed entirely under this license, and must not be
|
|
80
|
+
distributed under any other license. The requirement for fonts to
|
|
81
|
+
remain under this license does not apply to any document created
|
|
82
|
+
using the Font Software.
|
|
83
|
+
|
|
84
|
+
TERMINATION
|
|
85
|
+
This license becomes null and void if any of the above conditions are
|
|
86
|
+
not met.
|
|
87
|
+
|
|
88
|
+
DISCLAIMER
|
|
89
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
90
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
91
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
92
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
93
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
94
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
95
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
96
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
97
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
98
|
+
|
|
99
|
+
=== Geist Mono ===
|
|
100
|
+
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git) GeistMono-Italic[wght].ttf: Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)
|
|
101
|
+
|
|
102
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
103
|
+
This license is copied below, and is also available with a FAQ at:
|
|
104
|
+
http://scripts.sil.org/OFL
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
-----------------------------------------------------------
|
|
108
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
109
|
+
-----------------------------------------------------------
|
|
110
|
+
|
|
111
|
+
PREAMBLE
|
|
112
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
113
|
+
development of collaborative font projects, to support the font creation
|
|
114
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
115
|
+
open framework in which fonts may be shared and improved in partnership
|
|
116
|
+
with others.
|
|
117
|
+
|
|
118
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
119
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
120
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
121
|
+
redistributed and/or sold with any software provided that any reserved
|
|
122
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
123
|
+
however, cannot be released under any other type of license. The
|
|
124
|
+
requirement for fonts to remain under this license does not apply
|
|
125
|
+
to any document created using the fonts or their derivatives.
|
|
126
|
+
|
|
127
|
+
DEFINITIONS
|
|
128
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
129
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
130
|
+
include source files, build scripts and documentation.
|
|
131
|
+
|
|
132
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
133
|
+
copyright statement(s).
|
|
134
|
+
|
|
135
|
+
"Original Version" refers to the collection of Font Software components as
|
|
136
|
+
distributed by the Copyright Holder(s).
|
|
137
|
+
|
|
138
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
139
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
140
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
141
|
+
new environment.
|
|
142
|
+
|
|
143
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
144
|
+
writer or other person who contributed to the Font Software.
|
|
145
|
+
|
|
146
|
+
PERMISSION & CONDITIONS
|
|
147
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
148
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
149
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
150
|
+
Software, subject to the following conditions:
|
|
151
|
+
|
|
152
|
+
1) Neither the Font Software nor any of its individual components,
|
|
153
|
+
in Original or Modified Versions, may be sold by itself.
|
|
154
|
+
|
|
155
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
156
|
+
redistributed and/or sold with any software, provided that each copy
|
|
157
|
+
contains the above copyright notice and this license. These can be
|
|
158
|
+
included either as stand-alone text files, human-readable headers or
|
|
159
|
+
in the appropriate machine-readable metadata fields within text or
|
|
160
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
161
|
+
|
|
162
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
163
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
164
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
165
|
+
presented to the users.
|
|
166
|
+
|
|
167
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
168
|
+
Software shall not be used to promote, endorse or advertise any
|
|
169
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
170
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
171
|
+
permission.
|
|
172
|
+
|
|
173
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
174
|
+
must be distributed entirely under this license, and must not be
|
|
175
|
+
distributed under any other license. The requirement for fonts to
|
|
176
|
+
remain under this license does not apply to any document created
|
|
177
|
+
using the Font Software.
|
|
178
|
+
|
|
179
|
+
TERMINATION
|
|
180
|
+
This license becomes null and void if any of the above conditions are
|
|
181
|
+
not met.
|
|
182
|
+
|
|
183
|
+
DISCLAIMER
|
|
184
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
185
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
186
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
187
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
188
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
189
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
190
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
191
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
192
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|