@memobit/themes 2.0.0 → 2.2.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/README.md +27 -10
- package/dist/authored/sandy-parchment.css +1 -1
- package/dist/authored.css +1 -1
- package/dist/authoredThemes.d.ts +80 -0
- package/dist/authoredThemes.js +475 -5
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/registry.d.ts +7 -0
- package/dist/registry.js +13 -0
- package/dist/themeConfig.js +17 -111
- package/dist/themes/ascend-contour-night.css +83 -0
- package/dist/themes/ascend-contour.css +83 -0
- package/dist/themes/cookbook-slate.css +83 -0
- package/dist/themes/cookbook-terracotta.css +83 -0
- package/dist/themes/garage-night-drive.css +83 -0
- package/dist/themes/garage-redline.css +83 -0
- package/dist/themes/garage-workshop.css +83 -0
- package/dist/themes/hub-deep-water.css +83 -0
- package/dist/themes/hub-shallows.css +83 -0
- package/dist/themes/impulse-pause.css +83 -0
- package/dist/themes/impulse-still-water.css +83 -0
- package/dist/themes/nutritrack-fresh-market.css +83 -0
- package/dist/themes/nutritrack-verdant.css +83 -0
- package/dist/themes/pocket-chip.css +83 -0
- package/dist/themes/pocket-receipt.css +83 -0
- package/dist/themes/pulse-ivory.css +83 -0
- package/dist/themes/pulse-night-chart.css +83 -0
- package/dist/themes/readout-highlighter.css +83 -0
- package/dist/themes/readout-night-reader.css +83 -0
- package/dist/themes/recall-calling-card.css +83 -0
- package/dist/themes/recall-stage-light.css +83 -0
- package/dist/themes/seeds-blossom.css +83 -0
- package/dist/themes/seeds-nightlight.css +83 -0
- package/dist/themes/tasks-deep-work.css +83 -0
- package/dist/themes/tasks-legal-pad.css +83 -0
- package/dist/themes.css +2099 -0
- package/package.json +3 -1
package/dist/authoredThemes.js
CHANGED
|
@@ -1,6 +1,476 @@
|
|
|
1
1
|
// src/authoredThemes.ts
|
|
2
|
-
var AUTHORED_THEMES = [
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var AUTHORED_THEMES = [
|
|
3
|
+
{
|
|
4
|
+
id: "ascend-contour-night",
|
|
5
|
+
label: "Contour Night"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
id: "ascend-contour",
|
|
9
|
+
label: "Contour"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
id: "cookbook-slate",
|
|
13
|
+
label: "Slate Kitchen"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: "cookbook-terracotta",
|
|
17
|
+
label: "Terracotta"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: "garage-night-drive",
|
|
21
|
+
label: "Night Drive"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: "garage-redline",
|
|
25
|
+
label: "Redline"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: "garage-workshop",
|
|
29
|
+
label: "Workshop"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "hub-deep-water",
|
|
33
|
+
label: "Deep Water"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
id: "hub-shallows",
|
|
37
|
+
label: "Shallows"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: "impulse-pause",
|
|
41
|
+
label: "Pause"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: "impulse-still-water",
|
|
45
|
+
label: "Still Water"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
id: "nutritrack-fresh-market",
|
|
49
|
+
label: "Fresh Market"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: "nutritrack-verdant",
|
|
53
|
+
label: "Verdant"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "pocket-chip",
|
|
57
|
+
label: "Chip"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "pocket-receipt",
|
|
61
|
+
label: "Receipt"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: "pulse-ivory",
|
|
65
|
+
label: "Ivory"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
id: "pulse-night-chart",
|
|
69
|
+
label: "Night Chart"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: "readout-highlighter",
|
|
73
|
+
label: "Highlighter"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "readout-night-reader",
|
|
77
|
+
label: "Night Reader"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
id: "recall-calling-card",
|
|
81
|
+
label: "Calling Card"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
id: "recall-stage-light",
|
|
85
|
+
label: "Stage Light"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: "sandy-parchment",
|
|
89
|
+
label: "Sandy Parchment"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: "seeds-blossom",
|
|
93
|
+
label: "Blossom"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
id: "seeds-nightlight",
|
|
97
|
+
label: "Night Light"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
id: "tasks-deep-work",
|
|
101
|
+
label: "Deep Work"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "tasks-legal-pad",
|
|
105
|
+
label: "Legal Pad"
|
|
106
|
+
}
|
|
107
|
+
];
|
|
108
|
+
var AUTHORED_THEME_CONFIGS = [
|
|
109
|
+
{
|
|
110
|
+
value: "ascend-contour",
|
|
111
|
+
label: "Contour",
|
|
112
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..700&family=Public+Sans:wght@400;500;600;700&display=swap",
|
|
113
|
+
recommendedApps: ["Ascend"]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
value: "ascend-contour-night",
|
|
117
|
+
label: "Contour Night",
|
|
118
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..700&family=Public+Sans:wght@400;500;600;700&display=swap",
|
|
119
|
+
recommendedApps: ["Ascend"]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
value: "cookbook-terracotta",
|
|
123
|
+
label: "Terracotta",
|
|
124
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap",
|
|
125
|
+
recommendedApps: ["Cookbook"]
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
value: "cookbook-slate",
|
|
129
|
+
label: "Slate Kitchen",
|
|
130
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap",
|
|
131
|
+
recommendedApps: ["Cookbook"]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
value: "garage-workshop",
|
|
135
|
+
label: "Workshop",
|
|
136
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&display=swap",
|
|
137
|
+
recommendedApps: ["Garage"]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
value: "garage-night-drive",
|
|
141
|
+
label: "Night Drive",
|
|
142
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&display=swap",
|
|
143
|
+
recommendedApps: ["Garage"]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
value: "garage-redline",
|
|
147
|
+
label: "Redline",
|
|
148
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap",
|
|
149
|
+
recommendedApps: ["Garage"]
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
value: "hub-shallows",
|
|
153
|
+
label: "Shallows",
|
|
154
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap",
|
|
155
|
+
recommendedApps: ["Hub"]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
value: "hub-deep-water",
|
|
159
|
+
label: "Deep Water",
|
|
160
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap",
|
|
161
|
+
recommendedApps: ["Hub"]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
value: "impulse-pause",
|
|
165
|
+
label: "Pause",
|
|
166
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap",
|
|
167
|
+
recommendedApps: ["Impulse"]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
value: "impulse-still-water",
|
|
171
|
+
label: "Still Water",
|
|
172
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap",
|
|
173
|
+
recommendedApps: ["Impulse"]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
value: "nutritrack-fresh-market",
|
|
177
|
+
label: "Fresh Market",
|
|
178
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&family=Outfit:wght@400;500;600;700&display=swap",
|
|
179
|
+
recommendedApps: ["NutriTrack"]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
value: "nutritrack-verdant",
|
|
183
|
+
label: "Verdant",
|
|
184
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700&family=Outfit:wght@400;500;600;700&display=swap",
|
|
185
|
+
recommendedApps: ["NutriTrack"]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
value: "pocket-receipt",
|
|
189
|
+
label: "Receipt",
|
|
190
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap",
|
|
191
|
+
recommendedApps: ["Pocket"]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
value: "pocket-chip",
|
|
195
|
+
label: "Chip",
|
|
196
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap",
|
|
197
|
+
recommendedApps: ["Pocket"]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
value: "pulse-ivory",
|
|
201
|
+
label: "Ivory",
|
|
202
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@500;600;700&display=swap",
|
|
203
|
+
recommendedApps: ["Pulse"]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
value: "pulse-night-chart",
|
|
207
|
+
label: "Night Chart",
|
|
208
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@500;600;700&display=swap",
|
|
209
|
+
recommendedApps: ["Pulse"]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
value: "readout-highlighter",
|
|
213
|
+
label: "Highlighter",
|
|
214
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,400..700;1,7..72,400&family=Source+Sans+3:wght@400;500;600;700&display=swap",
|
|
215
|
+
recommendedApps: ["Readout"]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
value: "readout-night-reader",
|
|
219
|
+
label: "Night Reader",
|
|
220
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400&display=swap",
|
|
221
|
+
recommendedApps: ["Readout"]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
value: "recall-calling-card",
|
|
225
|
+
label: "Calling Card",
|
|
226
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap",
|
|
227
|
+
recommendedApps: ["Recall"]
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
value: "recall-stage-light",
|
|
231
|
+
label: "Stage Light",
|
|
232
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Mulish:wght@400;500;600;700&display=swap",
|
|
233
|
+
recommendedApps: ["Recall"]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
value: "seeds-blossom",
|
|
237
|
+
label: "Blossom",
|
|
238
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Nunito:wght@400;500;600;700&display=swap",
|
|
239
|
+
recommendedApps: ["Seeds"]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
value: "seeds-nightlight",
|
|
243
|
+
label: "Night Light",
|
|
244
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Nunito:wght@400;500;600;700&display=swap",
|
|
245
|
+
recommendedApps: ["Seeds"]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
value: "tasks-legal-pad",
|
|
249
|
+
label: "Legal Pad",
|
|
250
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&display=swap",
|
|
251
|
+
recommendedApps: ["Tasks"]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
value: "tasks-deep-work",
|
|
255
|
+
label: "Deep Work",
|
|
256
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&display=swap",
|
|
257
|
+
recommendedApps: ["Tasks"]
|
|
258
|
+
}
|
|
259
|
+
];
|
|
260
|
+
var AUTHORED_LIGHT_THEMES = [
|
|
261
|
+
"ascend-contour",
|
|
262
|
+
"cookbook-terracotta",
|
|
263
|
+
"garage-workshop",
|
|
264
|
+
"hub-shallows",
|
|
265
|
+
"impulse-pause",
|
|
266
|
+
"nutritrack-fresh-market",
|
|
267
|
+
"pocket-receipt",
|
|
268
|
+
"pulse-ivory",
|
|
269
|
+
"readout-highlighter",
|
|
270
|
+
"recall-calling-card",
|
|
271
|
+
"seeds-blossom",
|
|
272
|
+
"tasks-legal-pad"
|
|
273
|
+
];
|
|
274
|
+
var AUTHORED_PREVIEW_PALETTES = {
|
|
275
|
+
"ascend-contour": {
|
|
276
|
+
"--body-background": "#eef1ed",
|
|
277
|
+
"--body-accent-color": "#1c5893",
|
|
278
|
+
"--body-color-muted": "#55635b",
|
|
279
|
+
"--card-background-color": "rgba(252, 253, 251, 0.95)",
|
|
280
|
+
"--header-background-color": "#ffffff",
|
|
281
|
+
"--header-border-bottom-color": "rgba(22, 35, 29, 0.09)"
|
|
282
|
+
},
|
|
283
|
+
"ascend-contour-night": {
|
|
284
|
+
"--body-background": "#111816",
|
|
285
|
+
"--body-accent-color": "#8cc0f0",
|
|
286
|
+
"--body-color-muted": "#93a39a",
|
|
287
|
+
"--card-background-color": "rgba(23, 33, 30, 0.96)",
|
|
288
|
+
"--header-background-color": "#121a17",
|
|
289
|
+
"--header-border-bottom-color": "rgba(214, 224, 218, 0.08)"
|
|
290
|
+
},
|
|
291
|
+
"cookbook-terracotta": {
|
|
292
|
+
"--body-background": "#f8eddf",
|
|
293
|
+
"--body-accent-color": "#a3401f",
|
|
294
|
+
"--body-color-muted": "#6e4f3e",
|
|
295
|
+
"--card-background-color": "rgba(255, 255, 255, 0.95)",
|
|
296
|
+
"--header-background-color": "#fbf4ea",
|
|
297
|
+
"--header-border-bottom-color": "rgba(160, 64, 36, 0.13)"
|
|
298
|
+
},
|
|
299
|
+
"cookbook-slate": {
|
|
300
|
+
"--body-background": "#14171a",
|
|
301
|
+
"--body-accent-color": "#f0a07c",
|
|
302
|
+
"--body-color-muted": "#9da0a4",
|
|
303
|
+
"--card-background-color": "#1b1f23",
|
|
304
|
+
"--header-background-color": "#16191d",
|
|
305
|
+
"--header-border-bottom-color": "rgba(226, 223, 219, 0.08)"
|
|
306
|
+
},
|
|
307
|
+
"garage-workshop": {
|
|
308
|
+
"--body-background": "#eae8e4",
|
|
309
|
+
"--body-accent-color": "#b03b0b",
|
|
310
|
+
"--body-color-muted": "#565b61",
|
|
311
|
+
"--card-background-color": "#f9f8f6",
|
|
312
|
+
"--header-background-color": "#ffffff",
|
|
313
|
+
"--header-border-bottom-color": "rgba(22, 24, 27, 0.1)"
|
|
314
|
+
},
|
|
315
|
+
"garage-night-drive": {
|
|
316
|
+
"--body-background": "#0e1012",
|
|
317
|
+
"--body-accent-color": "#7fd3ff",
|
|
318
|
+
"--body-color-muted": "#9a9fa6",
|
|
319
|
+
"--card-background-color": "#16191c",
|
|
320
|
+
"--header-background-color": "#121416",
|
|
321
|
+
"--header-border-bottom-color": "rgba(223, 225, 228, 0.08)"
|
|
322
|
+
},
|
|
323
|
+
"garage-redline": {
|
|
324
|
+
"--body-background": "#0c0d0f",
|
|
325
|
+
"--body-accent-color": "#f87171",
|
|
326
|
+
"--body-color-muted": "#8a909b",
|
|
327
|
+
"--card-background-color": "#141618",
|
|
328
|
+
"--header-background-color": "#0e0f12",
|
|
329
|
+
"--header-border-bottom-color": "#1e2228"
|
|
330
|
+
},
|
|
331
|
+
"hub-shallows": {
|
|
332
|
+
"--body-background": "#ebf2f5",
|
|
333
|
+
"--body-accent-color": "#0b6680",
|
|
334
|
+
"--body-color-muted": "#526375",
|
|
335
|
+
"--card-background-color": "#ffffff",
|
|
336
|
+
"--header-background-color": "#ffffff",
|
|
337
|
+
"--header-border-bottom-color": "rgba(11, 22, 34, 0.08)"
|
|
338
|
+
},
|
|
339
|
+
"hub-deep-water": {
|
|
340
|
+
"--body-background": "#0a0e1a",
|
|
341
|
+
"--body-accent-color": "#4fd8ec",
|
|
342
|
+
"--body-color-muted": "#8ea2b8",
|
|
343
|
+
"--card-background-color": "#121a27",
|
|
344
|
+
"--header-background-color": "#0e1520",
|
|
345
|
+
"--header-border-bottom-color": "rgba(142, 162, 184, 0.14)"
|
|
346
|
+
},
|
|
347
|
+
"impulse-pause": {
|
|
348
|
+
"--body-background": "#f4f1ec",
|
|
349
|
+
"--body-accent-color": "#55399d",
|
|
350
|
+
"--body-color-muted": "#5f5968",
|
|
351
|
+
"--card-background-color": "#fdfcfa",
|
|
352
|
+
"--header-background-color": "#ffffff",
|
|
353
|
+
"--header-border-bottom-color": "rgba(27, 24, 32, 0.08)"
|
|
354
|
+
},
|
|
355
|
+
"impulse-still-water": {
|
|
356
|
+
"--body-background": "#0f1615",
|
|
357
|
+
"--body-accent-color": "#94d3c6",
|
|
358
|
+
"--body-color-muted": "#90a39f",
|
|
359
|
+
"--card-background-color": "#151e1d",
|
|
360
|
+
"--header-background-color": "#121a19",
|
|
361
|
+
"--header-border-bottom-color": "rgba(214, 226, 223, 0.08)"
|
|
362
|
+
},
|
|
363
|
+
"nutritrack-fresh-market": {
|
|
364
|
+
"--body-background": "#f3f7f0",
|
|
365
|
+
"--body-accent-color": "#1b6d36",
|
|
366
|
+
"--body-color-muted": "#55665b",
|
|
367
|
+
"--card-background-color": "#ffffff",
|
|
368
|
+
"--header-background-color": "#ffffff",
|
|
369
|
+
"--header-border-bottom-color": "rgba(15, 29, 20, 0.08)"
|
|
370
|
+
},
|
|
371
|
+
"nutritrack-verdant": {
|
|
372
|
+
"--body-background": "#0b1310",
|
|
373
|
+
"--body-accent-color": "#6ee09a",
|
|
374
|
+
"--body-color-muted": "#88a294",
|
|
375
|
+
"--card-background-color": "#131f19",
|
|
376
|
+
"--header-background-color": "#0f1a14",
|
|
377
|
+
"--header-border-bottom-color": "#22332a"
|
|
378
|
+
},
|
|
379
|
+
"pocket-receipt": {
|
|
380
|
+
"--body-background": "#efefeb",
|
|
381
|
+
"--body-accent-color": "#0a6464",
|
|
382
|
+
"--body-color-muted": "#5a5a5a",
|
|
383
|
+
"--card-background-color": "#fbfbf8",
|
|
384
|
+
"--header-background-color": "#ffffff",
|
|
385
|
+
"--header-border-bottom-color": "rgba(18, 18, 18, 0.1)"
|
|
386
|
+
},
|
|
387
|
+
"pocket-chip": {
|
|
388
|
+
"--body-background": "#121417",
|
|
389
|
+
"--body-accent-color": "#e0b25a",
|
|
390
|
+
"--body-color-muted": "#9a968d",
|
|
391
|
+
"--card-background-color": "#1a1d22",
|
|
392
|
+
"--header-background-color": "#15171b",
|
|
393
|
+
"--header-border-bottom-color": "rgba(243, 241, 236, 0.08)"
|
|
394
|
+
},
|
|
395
|
+
"pulse-ivory": {
|
|
396
|
+
"--body-background": "#f4f1e8",
|
|
397
|
+
"--body-accent-color": "#1e3a5f",
|
|
398
|
+
"--body-color-muted": "#5c6270",
|
|
399
|
+
"--card-background-color": "rgba(255, 255, 255, 0.94)",
|
|
400
|
+
"--header-background-color": "#fbfaf5",
|
|
401
|
+
"--header-border-bottom-color": "rgba(30, 36, 51, 0.11)"
|
|
402
|
+
},
|
|
403
|
+
"pulse-night-chart": {
|
|
404
|
+
"--body-background": "#0c111c",
|
|
405
|
+
"--body-accent-color": "#e3c467",
|
|
406
|
+
"--body-color-muted": "#9aa1b0",
|
|
407
|
+
"--card-background-color": "#131a28",
|
|
408
|
+
"--header-background-color": "#0f1522",
|
|
409
|
+
"--header-border-bottom-color": "rgba(227, 227, 223, 0.08)"
|
|
410
|
+
},
|
|
411
|
+
"readout-highlighter": {
|
|
412
|
+
"--body-background": "#f4f4f1",
|
|
413
|
+
"--body-accent-color": "#24357f",
|
|
414
|
+
"--body-color-muted": "#5d626a",
|
|
415
|
+
"--card-background-color": "#fdfdfb",
|
|
416
|
+
"--header-background-color": "#ffffff",
|
|
417
|
+
"--header-border-bottom-color": "rgba(27, 29, 33, 0.08)"
|
|
418
|
+
},
|
|
419
|
+
"readout-night-reader": {
|
|
420
|
+
"--body-background": "#0f1216",
|
|
421
|
+
"--body-accent-color": "#62cbc3",
|
|
422
|
+
"--body-color-muted": "#939da7",
|
|
423
|
+
"--card-background-color": "#161b21",
|
|
424
|
+
"--header-background-color": "#12161b",
|
|
425
|
+
"--header-border-bottom-color": "rgba(212, 219, 225, 0.08)"
|
|
426
|
+
},
|
|
427
|
+
"recall-calling-card": {
|
|
428
|
+
"--body-background": "#eef0f4",
|
|
429
|
+
"--body-accent-color": "#7a570e",
|
|
430
|
+
"--body-color-muted": "#5a6380",
|
|
431
|
+
"--card-background-color": "#ffffff",
|
|
432
|
+
"--header-background-color": "#ffffff",
|
|
433
|
+
"--header-border-bottom-color": "rgba(20, 27, 46, 0.09)"
|
|
434
|
+
},
|
|
435
|
+
"recall-stage-light": {
|
|
436
|
+
"--body-background": "#0e0f1c",
|
|
437
|
+
"--body-accent-color": "#e8c46a",
|
|
438
|
+
"--body-color-muted": "#a39c90",
|
|
439
|
+
"--card-background-color": "#171828",
|
|
440
|
+
"--header-background-color": "#121322",
|
|
441
|
+
"--header-border-bottom-color": "rgba(246, 241, 230, 0.08)"
|
|
442
|
+
},
|
|
443
|
+
"seeds-blossom": {
|
|
444
|
+
"--body-background": "#fbeadb",
|
|
445
|
+
"--body-accent-color": "#ab4a33",
|
|
446
|
+
"--body-color-muted": "#735c54",
|
|
447
|
+
"--card-background-color": "rgba(255, 250, 244, 0.94)",
|
|
448
|
+
"--header-background-color": "#fff7f0",
|
|
449
|
+
"--header-border-bottom-color": "rgba(120, 70, 55, 0.14)"
|
|
450
|
+
},
|
|
451
|
+
"seeds-nightlight": {
|
|
452
|
+
"--body-background": "#181422",
|
|
453
|
+
"--body-accent-color": "#f7b09e",
|
|
454
|
+
"--body-color-muted": "#a596a3",
|
|
455
|
+
"--card-background-color": "#211c2e",
|
|
456
|
+
"--header-background-color": "#1c1828",
|
|
457
|
+
"--header-border-bottom-color": "rgba(235, 223, 220, 0.09)"
|
|
458
|
+
},
|
|
459
|
+
"tasks-legal-pad": {
|
|
460
|
+
"--body-background": "#f7f3dc",
|
|
461
|
+
"--body-accent-color": "#24499a",
|
|
462
|
+
"--body-color-muted": "#525c76",
|
|
463
|
+
"--card-background-color": "#fffef6",
|
|
464
|
+
"--header-background-color": "#ffffff",
|
|
465
|
+
"--header-border-bottom-color": "rgba(24, 33, 58, 0.1)"
|
|
466
|
+
},
|
|
467
|
+
"tasks-deep-work": {
|
|
468
|
+
"--body-background": "#101317",
|
|
469
|
+
"--body-accent-color": "#8fb0ff",
|
|
470
|
+
"--body-color-muted": "#98a1ad",
|
|
471
|
+
"--card-background-color": "#171b21",
|
|
472
|
+
"--header-background-color": "#13161b",
|
|
473
|
+
"--header-border-bottom-color": "rgba(220, 225, 232, 0.08)"
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
export { AUTHORED_LIGHT_THEMES, AUTHORED_PREVIEW_PALETTES, AUTHORED_THEMES, AUTHORED_THEME_CONFIGS };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { applyAuthoredEngine, AUTHORED_ENGINE_VALUE, clearAuthoredEngine, THEME_ENGINE_ATTRIBUTE } from './authoredEngine';
|
|
2
2
|
export { AUTHORED_THEMES } from './authoredThemes';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { type PreviewToken } from './previewPalettes';
|
|
4
|
+
export { getThemeAppearance, getThemeConfig, LIGHT_THEMES, previewPalettes, THEME_CONFIGS } from './registry';
|
|
5
|
+
export { FAVORITE_THEMES, type ThemeAppearance, type ThemeConfig } from './themeConfig';
|
|
5
6
|
/** Where the Vite plugin writes each theme's stylesheet, relative to the app's base URL. */
|
|
6
7
|
export declare const THEME_ASSET_DIR = "memobit-themes";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AUTHORED_ENGINE_VALUE, THEME_ENGINE_ATTRIBUTE, applyAuthoredEngine, clearAuthoredEngine } from "./authoredEngine.js";
|
|
2
2
|
import { AUTHORED_THEMES } from "./authoredThemes.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { FAVORITE_THEMES } from "./themeConfig.js";
|
|
4
|
+
import { LIGHT_THEMES, THEME_CONFIGS, getThemeAppearance, getThemeConfig, previewPalettes } from "./registry.js";
|
|
5
5
|
// src/index.ts
|
|
6
6
|
/** Where the Vite plugin writes each theme's stylesheet, relative to the app's base URL. */
|
|
7
7
|
var THEME_ASSET_DIR = "memobit-themes";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PreviewToken } from './previewPalettes';
|
|
2
|
+
import { ThemeAppearance, ThemeConfig } from './themeConfig';
|
|
3
|
+
export declare const THEME_CONFIGS: ThemeConfig[];
|
|
4
|
+
export declare const LIGHT_THEMES: Set<string>;
|
|
5
|
+
export declare const previewPalettes: Readonly<Record<string, Readonly<Record<PreviewToken, string>>>>;
|
|
6
|
+
export declare const getThemeAppearance: (themeValue: string) => ThemeAppearance;
|
|
7
|
+
export declare const getThemeConfig: (themeValue: string) => ThemeConfig | undefined;
|
package/dist/registry.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AUTHORED_LIGHT_THEMES, AUTHORED_PREVIEW_PALETTES, AUTHORED_THEME_CONFIGS } from "./authoredThemes.js";
|
|
2
|
+
import { previewPalettes as previewPalettes$1 } from "./previewPalettes.js";
|
|
3
|
+
import { LIGHT_THEMES as LIGHT_THEMES$1, THEME_CONFIGS as THEME_CONFIGS$1 } from "./themeConfig.js";
|
|
4
|
+
// src/registry.ts
|
|
5
|
+
var THEME_CONFIGS = [...AUTHORED_THEME_CONFIGS, ...THEME_CONFIGS$1];
|
|
6
|
+
var LIGHT_THEMES = /* @__PURE__ */ new Set([...LIGHT_THEMES$1, ...AUTHORED_LIGHT_THEMES]);
|
|
7
|
+
var previewPalettes = {
|
|
8
|
+
...previewPalettes$1,
|
|
9
|
+
...AUTHORED_PREVIEW_PALETTES
|
|
10
|
+
};
|
|
11
|
+
var getThemeAppearance = (themeValue) => LIGHT_THEMES.has(themeValue) ? "light" : "dark";
|
|
12
|
+
var getThemeConfig = (themeValue) => THEME_CONFIGS.find((config) => config.value === themeValue);
|
|
13
|
+
export { LIGHT_THEMES, THEME_CONFIGS, getThemeAppearance, getThemeConfig, previewPalettes };
|