@autumnsgrove/groveengine 0.8.0 → 0.8.6
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/dist/components/OnboardingChecklist.svelte +2 -2
- package/dist/components/WispButton.svelte +83 -0
- package/dist/components/WispButton.svelte.d.ts +49 -0
- package/dist/components/WispPanel.svelte +1092 -0
- package/dist/components/WispPanel.svelte.d.ts +49 -0
- package/dist/components/custom/ContentWithGutter.svelte +7 -13
- package/dist/components/custom/TableOfContents.svelte +12 -1
- package/dist/components/quota/UpgradePrompt.svelte +1 -0
- package/dist/config/wisp.d.ts +145 -0
- package/dist/config/wisp.js +175 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/server/inference-client.d.ts +139 -0
- package/dist/server/inference-client.js +294 -0
- package/dist/ui/components/forms/SearchInput.svelte +0 -1
- package/dist/ui/components/gallery/ImageGallery.svelte +14 -3
- package/dist/ui/components/gallery/Lightbox.svelte +8 -3
- package/dist/ui/components/gallery/ZoomableImage.svelte +12 -2
- package/dist/ui/components/nature/Logo.svelte +55 -19
- package/dist/ui/components/nature/botanical/LeafFalling.svelte +2 -2
- package/dist/ui/components/nature/botanical/PetalFalling.svelte +7 -7
- package/dist/ui/components/nature/ground/Crocus.svelte +3 -3
- package/dist/ui/components/nature/ground/Daffodil.svelte +3 -3
- package/dist/ui/components/nature/ground/Tulip.svelte +5 -5
- package/dist/ui/components/nature/palette.d.ts +187 -76
- package/dist/ui/components/nature/palette.js +169 -81
- package/dist/ui/components/nature/trees/TreeCherry.svelte +3 -3
- package/dist/ui/components/nature/trees/TreeCherry.svelte.d.ts +1 -1
- package/dist/ui/components/nature/trees/TreePine.svelte +2 -2
- package/dist/ui/components/nature/trees/TreePine.svelte.d.ts +1 -1
- package/dist/ui/components/primitives/textarea/textarea.svelte +1 -1
- package/dist/ui/components/typography/Alagard.svelte +17 -0
- package/dist/ui/components/typography/Alagard.svelte.d.ts +10 -0
- package/dist/ui/components/typography/Atkinson.svelte +17 -0
- package/dist/ui/components/typography/Atkinson.svelte.d.ts +10 -0
- package/dist/ui/components/typography/Calistoga.svelte +17 -0
- package/dist/ui/components/typography/Calistoga.svelte.d.ts +10 -0
- package/dist/ui/components/typography/Caveat.svelte +17 -0
- package/dist/ui/components/typography/Caveat.svelte.d.ts +10 -0
- package/dist/ui/components/typography/Cozette.svelte +17 -0
- package/dist/ui/components/typography/Cozette.svelte.d.ts +10 -0
- package/dist/ui/components/typography/FontProvider.svelte +98 -0
- package/dist/ui/components/typography/FontProvider.svelte.d.ts +17 -0
- package/dist/ui/components/typography/IBMPlexMono.svelte +17 -0
- package/dist/ui/components/typography/IBMPlexMono.svelte.d.ts +10 -0
- package/dist/ui/components/typography/Lexend.svelte +17 -0
- package/dist/ui/components/typography/Lexend.svelte.d.ts +10 -0
- package/dist/ui/components/typography/OpenDyslexic.svelte +17 -0
- package/dist/ui/components/typography/OpenDyslexic.svelte.d.ts +10 -0
- package/dist/ui/components/typography/PlusJakartaSans.svelte +17 -0
- package/dist/ui/components/typography/PlusJakartaSans.svelte.d.ts +10 -0
- package/dist/ui/components/typography/Quicksand.svelte +17 -0
- package/dist/ui/components/typography/Quicksand.svelte.d.ts +10 -0
- package/dist/ui/components/typography/README.md +153 -0
- package/dist/ui/components/typography/index.d.ts +13 -0
- package/dist/ui/components/typography/index.js +31 -0
- package/dist/ui/components/ui/CollapsibleSection.svelte +10 -0
- package/dist/ui/components/ui/GlassCarousel.svelte +446 -0
- package/dist/ui/components/ui/GlassCarousel.svelte.d.ts +57 -0
- package/dist/ui/components/ui/GlassConfirmDialog.svelte +2 -1
- package/dist/ui/components/ui/GlassLogo.svelte +2 -1
- package/dist/ui/components/ui/GlassOverlay.svelte +1 -1
- package/dist/ui/components/ui/index.d.ts +1 -0
- package/dist/ui/components/ui/index.js +1 -0
- package/dist/ui/index.d.ts +1 -0
- package/dist/ui/index.js +2 -0
- package/dist/ui/tokens/fonts.d.ts +1 -1
- package/dist/ui/tokens/fonts.js +0 -126
- package/dist/ui/vineyard/index.d.ts +9 -0
- package/dist/ui/vineyard/index.js +8 -0
- package/dist/utils/csrf.js +5 -2
- package/dist/utils/readability.d.ts +89 -0
- package/dist/utils/readability.js +204 -0
- package/package.json +38 -21
- package/static/fonts/alagard.ttf +0 -0
- package/LICENSE +0 -378
|
@@ -47,7 +47,7 @@ export const bark = {
|
|
|
47
47
|
*/
|
|
48
48
|
export const earth = {
|
|
49
49
|
soil: '#3e2723', // Rich forest floor
|
|
50
|
-
mud: '#5d4037', // Wet earth
|
|
50
|
+
mud: '#5d4037', // Wet earth (same as bark.bark - natural connection)
|
|
51
51
|
clay: '#8d6e63', // Exposed clay
|
|
52
52
|
sand: '#d7ccc8', // Paths, dry ground
|
|
53
53
|
stone: '#78716c', // Neutral gray rocks
|
|
@@ -68,39 +68,77 @@ export const natural = {
|
|
|
68
68
|
birchWhite: '#f5f5f0' // Birch tree distinctive white bark
|
|
69
69
|
};
|
|
70
70
|
// =============================================================================
|
|
71
|
-
// SEASONAL PALETTES
|
|
71
|
+
// SEASONAL PALETTES - SPRING
|
|
72
72
|
// =============================================================================
|
|
73
73
|
/**
|
|
74
|
-
* Spring
|
|
75
|
-
*
|
|
76
|
-
* Organized dark-to-light for depth layering
|
|
77
|
-
* Spring feels lighter and more pastel than the saturated summer greens.
|
|
74
|
+
* Spring foliage - fresh yellow-green growth
|
|
75
|
+
* The distinctive bright yellow-green of new spring leaves.
|
|
76
|
+
* Organized dark-to-light for depth layering.
|
|
78
77
|
*/
|
|
79
|
-
export const
|
|
80
|
-
// Fresh growth greens (yellow-green tint of new leaves)
|
|
78
|
+
export const springFoliage = {
|
|
81
79
|
sprout: '#65a30d', // Dark spring green - distant new growth
|
|
82
80
|
newLeaf: '#84cc16', // Classic spring lime - mid-ground
|
|
83
81
|
freshGreen: '#a3e635', // Bright yellow-green - foreground
|
|
84
82
|
budding: '#bef264', // Pale new leaf
|
|
85
|
-
tender: '#d9f99d'
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
83
|
+
tender: '#d9f99d' // Very pale spring green
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Spring sky colors
|
|
87
|
+
* Clear, bright spring atmosphere.
|
|
88
|
+
*/
|
|
89
|
+
export const springSky = {
|
|
90
|
+
clear: '#7dd3fc', // Clear spring morning sky
|
|
91
|
+
soft: '#bae6fd' // Pale spring sky
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Wildflowers - spring and general meadow flowers
|
|
95
|
+
* Unified wildflower palette for all seasons.
|
|
96
|
+
* Used for spring wildflowers and general meadow accents.
|
|
97
|
+
*/
|
|
98
|
+
export const wildflowers = {
|
|
99
|
+
// Yellows
|
|
100
|
+
buttercup: '#facc15', // Bright yellow - buttercups, dandelions
|
|
101
|
+
daffodil: '#fde047', // Pale yellow - daffodils
|
|
102
|
+
// Purples and violets
|
|
103
|
+
crocus: '#a78bfa', // Early spring crocus
|
|
104
|
+
violet: '#8b5cf6', // Wild violets
|
|
105
|
+
purple: '#a855f7', // Lupine, thistle
|
|
106
|
+
lavender: '#c4b5fd', // Distant flower masses, lilacs
|
|
107
|
+
// Pinks and reds
|
|
94
108
|
tulipPink: '#f9a8d4', // Soft tulip pink
|
|
95
109
|
tulipRed: '#fb7185', // Bright tulip red
|
|
96
|
-
//
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
110
|
+
// Neutrals
|
|
111
|
+
white: '#fefefe' // Daisies, trillium
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Cherry blossoms - standard summer/default
|
|
115
|
+
* Used for cherry trees during summer.
|
|
116
|
+
* Pink blooms from dense to pale.
|
|
117
|
+
*/
|
|
118
|
+
export const cherryBlossoms = {
|
|
119
|
+
deep: '#db2777', // Dense bloom centers
|
|
120
|
+
standard: '#ec4899', // Standard blossom
|
|
121
|
+
light: '#f472b6', // Light petals
|
|
122
|
+
pale: '#f9a8d4', // Pale blossoms
|
|
123
|
+
falling: '#fbcfe8' // Falling petals, distant blooms
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Cherry blossoms peak bloom - vibrant spring version
|
|
127
|
+
* Extra saturated for spring when cherry blossoms are at their most beautiful.
|
|
128
|
+
* One shade brighter than standard cherryBlossoms.
|
|
129
|
+
*/
|
|
130
|
+
export const cherryBlossomsPeak = {
|
|
131
|
+
deep: '#ec4899', // Vibrant deep pink
|
|
132
|
+
standard: '#f472b6', // Bright cherry blossom
|
|
133
|
+
light: '#f9a8d4', // Soft rose petals
|
|
134
|
+
pale: '#fbcfe8', // Pale blush
|
|
135
|
+
falling: '#fce7f3' // Very pale falling petals
|
|
101
136
|
};
|
|
137
|
+
// =============================================================================
|
|
138
|
+
// SEASONAL PALETTES - AUTUMN
|
|
139
|
+
// =============================================================================
|
|
102
140
|
/**
|
|
103
|
-
* Autumn/Fall colors
|
|
141
|
+
* Autumn/Fall foliage colors
|
|
104
142
|
* Replaces greens for deciduous trees during autumn season.
|
|
105
143
|
* Organized warm-to-bright for depth layering (dark rust = far, bright gold = near).
|
|
106
144
|
* Aspen and birch use gold/honey for their signature golden fall color.
|
|
@@ -114,18 +152,6 @@ export const autumn = {
|
|
|
114
152
|
honey: '#facc15', // Bright foreground leaves
|
|
115
153
|
straw: '#fde047' // Pale dying leaves
|
|
116
154
|
};
|
|
117
|
-
/**
|
|
118
|
-
* Cherry blossom pinks (spring/summer)
|
|
119
|
-
* Used for cherry trees during spring bloom.
|
|
120
|
-
* In autumn, cherry trees switch to autumnReds to mimic real cherry leaf color change.
|
|
121
|
-
*/
|
|
122
|
-
export const pinks = {
|
|
123
|
-
deepPink: '#db2777', // Dense bloom centers
|
|
124
|
-
pink: '#ec4899', // Standard blossom
|
|
125
|
-
rose: '#f472b6', // Light petals
|
|
126
|
-
blush: '#f9a8d4', // Pale blossoms
|
|
127
|
-
palePink: '#fbcfe8' // Falling petals, distant blooms
|
|
128
|
-
};
|
|
129
155
|
/**
|
|
130
156
|
* Autumn reds for cherry/maple foliage
|
|
131
157
|
* Cherry trees don't just lose pink - they turn red/crimson in fall.
|
|
@@ -138,7 +164,7 @@ export const autumnReds = {
|
|
|
138
164
|
coral: '#fb7185' // Pale autumn accent
|
|
139
165
|
};
|
|
140
166
|
// =============================================================================
|
|
141
|
-
// WINTER
|
|
167
|
+
// SEASONAL PALETTES - WINTER
|
|
142
168
|
// =============================================================================
|
|
143
169
|
/**
|
|
144
170
|
* Winter colors - frost, snow, and ice
|
|
@@ -174,7 +200,7 @@ export const winter = {
|
|
|
174
200
|
// =============================================================================
|
|
175
201
|
/**
|
|
176
202
|
* Accent colors for specific components
|
|
177
|
-
* Each category gets
|
|
203
|
+
* Each category gets unique colors that don't fit the main palettes.
|
|
178
204
|
* These add visual interest without breaking the natural cohesion.
|
|
179
205
|
*/
|
|
180
206
|
export const accents = {
|
|
@@ -186,13 +212,22 @@ export const accents = {
|
|
|
186
212
|
spots: '#fefefe', // White spots on caps
|
|
187
213
|
gill: '#fde8e8' // Pale pink gills underneath
|
|
188
214
|
},
|
|
189
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* @deprecated Use the top-level `wildflowers` export instead. Will be removed in v1.0.
|
|
217
|
+
*
|
|
218
|
+
* Historical context: Flower colors were originally split between two places:
|
|
219
|
+
* - `spring` palette had wildflower accents (crocus, lilac, tulips, buttercup, daffodil)
|
|
220
|
+
* - `accents.flower` had generic flower colors (purple, violet, yellow, white, lavender)
|
|
221
|
+
*
|
|
222
|
+
* This caused confusion and duplicate values. Now unified in the top-level `wildflowers`
|
|
223
|
+
* palette which contains all meadow flower colors in one place.
|
|
224
|
+
*/
|
|
190
225
|
flower: {
|
|
191
|
-
purple:
|
|
192
|
-
violet:
|
|
193
|
-
yellow:
|
|
194
|
-
white:
|
|
195
|
-
lavender:
|
|
226
|
+
purple: wildflowers.purple,
|
|
227
|
+
violet: wildflowers.violet,
|
|
228
|
+
yellow: wildflowers.buttercup,
|
|
229
|
+
white: wildflowers.white,
|
|
230
|
+
lavender: wildflowers.lavender
|
|
196
231
|
},
|
|
197
232
|
/** Firefly bioluminescence - warm yellow-green glow */
|
|
198
233
|
firefly: {
|
|
@@ -245,26 +280,42 @@ export const accents = {
|
|
|
245
280
|
bluebirdBreast: '#ea580c' // Rusty orange breast
|
|
246
281
|
}
|
|
247
282
|
};
|
|
283
|
+
// =============================================================================
|
|
284
|
+
// MIDNIGHT BLOOM PALETTE
|
|
285
|
+
// =============================================================================
|
|
286
|
+
/**
|
|
287
|
+
* Midnight Bloom - the far vision
|
|
288
|
+
* A late-night tea café palette: deep plums, warm amber, soft golds.
|
|
289
|
+
* Used for the Midnight Bloom section of the roadmap and future theming.
|
|
290
|
+
*/
|
|
291
|
+
export const midnightBloom = {
|
|
292
|
+
deepPlum: '#581c87', // Night sky depth
|
|
293
|
+
purple: '#7c3aed', // Soft purple glow
|
|
294
|
+
violet: '#8b5cf6', // Lighter accent
|
|
295
|
+
amber: '#f59e0b', // Lantern warmth
|
|
296
|
+
warmCream: '#fef3c7', // Tea steam, page glow
|
|
297
|
+
softGold: '#fcd34d' // Fairy lights
|
|
298
|
+
};
|
|
248
299
|
/**
|
|
249
300
|
* Get appropriate foliage colors based on season
|
|
250
301
|
* Used by deciduous trees to switch from greens to seasonal palette.
|
|
251
302
|
* Spring uses bright yellow-greens of new growth.
|
|
252
303
|
* Autumn uses warm oranges and golds.
|
|
253
304
|
* In winter, returns frosted evergreen colors (for pines that keep needles).
|
|
254
|
-
* @example getSeasonalGreens('spring') // returns spring
|
|
305
|
+
* @example getSeasonalGreens('spring') // returns spring foliage mapped to greens structure
|
|
255
306
|
* @example getSeasonalGreens('autumn') // returns autumn palette
|
|
256
307
|
*/
|
|
257
308
|
export function getSeasonalGreens(season = 'summer') {
|
|
258
309
|
if (season === 'spring') {
|
|
259
310
|
// Fresh yellow-green spring foliage - mapped to match greens structure
|
|
260
311
|
return {
|
|
261
|
-
darkForest:
|
|
262
|
-
deepGreen:
|
|
263
|
-
grove:
|
|
264
|
-
meadow:
|
|
265
|
-
spring:
|
|
266
|
-
mint:
|
|
267
|
-
pale:
|
|
312
|
+
darkForest: springFoliage.sprout,
|
|
313
|
+
deepGreen: springFoliage.sprout,
|
|
314
|
+
grove: springFoliage.newLeaf,
|
|
315
|
+
meadow: springFoliage.freshGreen,
|
|
316
|
+
spring: springFoliage.budding,
|
|
317
|
+
mint: springFoliage.budding,
|
|
318
|
+
pale: springFoliage.tender
|
|
268
319
|
};
|
|
269
320
|
}
|
|
270
321
|
if (season === 'autumn') {
|
|
@@ -284,31 +335,19 @@ export function getSeasonalGreens(season = 'summer') {
|
|
|
284
335
|
}
|
|
285
336
|
return greens;
|
|
286
337
|
}
|
|
287
|
-
/**
|
|
288
|
-
* Spring cherry blossom colors - extra vibrant for peak bloom
|
|
289
|
-
* Spring is when cherry blossoms are at their most beautiful.
|
|
290
|
-
* Slightly brighter and more saturated than the standard pinks.
|
|
291
|
-
*/
|
|
292
|
-
export const springBlossoms = {
|
|
293
|
-
deepPink: '#ec4899', // Vibrant deep pink
|
|
294
|
-
pink: '#f472b6', // Bright cherry blossom
|
|
295
|
-
rose: '#f9a8d4', // Soft rose petals
|
|
296
|
-
blush: '#fbcfe8', // Pale blush
|
|
297
|
-
palePink: '#fce7f3' // Very pale falling petals
|
|
298
|
-
};
|
|
299
338
|
/**
|
|
300
339
|
* Get cherry tree colors based on season
|
|
301
340
|
* Spring: Extra vibrant pink blossoms (peak bloom!)
|
|
302
341
|
* Summer: Standard pink blossoms
|
|
303
342
|
* Autumn: Turn red/crimson like real cherry leaves
|
|
304
343
|
* Winter: Bare (no blossoms)
|
|
305
|
-
* @example getCherryColors('spring') // returns
|
|
344
|
+
* @example getCherryColors('spring') // returns cherryBlossomsPeak (vibrant)
|
|
306
345
|
* @example getCherryColors('autumn') // returns autumnReds palette
|
|
307
346
|
*/
|
|
308
347
|
export function getCherryColors(season = 'spring') {
|
|
309
348
|
if (season === 'spring') {
|
|
310
349
|
// Peak bloom - extra vibrant pinks!
|
|
311
|
-
return
|
|
350
|
+
return cherryBlossomsPeak;
|
|
312
351
|
}
|
|
313
352
|
if (season === 'autumn') {
|
|
314
353
|
return autumnReds;
|
|
@@ -317,7 +356,7 @@ export function getCherryColors(season = 'spring') {
|
|
|
317
356
|
// Return null to indicate bare tree (no foliage to render)
|
|
318
357
|
return null;
|
|
319
358
|
}
|
|
320
|
-
return
|
|
359
|
+
return cherryBlossoms;
|
|
321
360
|
}
|
|
322
361
|
/**
|
|
323
362
|
* Check if a tree should be bare (no foliage) based on season
|
|
@@ -349,36 +388,85 @@ export function pickFrom(palette, keys) {
|
|
|
349
388
|
return palette[key];
|
|
350
389
|
}
|
|
351
390
|
// =============================================================================
|
|
352
|
-
//
|
|
391
|
+
// BACKWARD COMPATIBILITY ALIASES
|
|
353
392
|
// =============================================================================
|
|
354
393
|
/**
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
* Used for the Midnight Bloom section of the roadmap and future theming.
|
|
394
|
+
* @deprecated Use `cherryBlossoms` instead. Will be removed in v1.0.
|
|
395
|
+
* Alias for backward compatibility with components using 'pinks'.
|
|
358
396
|
*/
|
|
359
|
-
export const
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
397
|
+
export const pinks = {
|
|
398
|
+
deepPink: cherryBlossoms.deep,
|
|
399
|
+
pink: cherryBlossoms.standard,
|
|
400
|
+
rose: cherryBlossoms.light,
|
|
401
|
+
blush: cherryBlossoms.pale,
|
|
402
|
+
palePink: cherryBlossoms.falling
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* @deprecated Use `cherryBlossomsPeak` instead. Will be removed in v1.0.
|
|
406
|
+
* Alias for backward compatibility with components using 'springBlossoms'.
|
|
407
|
+
*/
|
|
408
|
+
export const springBlossoms = {
|
|
409
|
+
deepPink: cherryBlossomsPeak.deep,
|
|
410
|
+
pink: cherryBlossomsPeak.standard,
|
|
411
|
+
rose: cherryBlossomsPeak.light,
|
|
412
|
+
blush: cherryBlossomsPeak.pale,
|
|
413
|
+
palePink: cherryBlossomsPeak.falling
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* @deprecated Use `springFoliage`, `wildflowers`, `springSky` instead. Will be removed in v1.0.
|
|
417
|
+
* Combined spring palette for backward compatibility.
|
|
418
|
+
* New code should import the specific palettes directly.
|
|
419
|
+
*/
|
|
420
|
+
export const spring = {
|
|
421
|
+
// Fresh growth greens (from springFoliage)
|
|
422
|
+
sprout: springFoliage.sprout,
|
|
423
|
+
newLeaf: springFoliage.newLeaf,
|
|
424
|
+
freshGreen: springFoliage.freshGreen,
|
|
425
|
+
budding: springFoliage.budding,
|
|
426
|
+
tender: springFoliage.tender,
|
|
427
|
+
// Sky and atmosphere (from springSky)
|
|
428
|
+
clearSky: springSky.clear,
|
|
429
|
+
softSky: springSky.soft,
|
|
430
|
+
// Wildflower accents (from wildflowers)
|
|
431
|
+
buttercup: wildflowers.buttercup,
|
|
432
|
+
daffodil: wildflowers.daffodil,
|
|
433
|
+
crocus: wildflowers.crocus,
|
|
434
|
+
lilac: wildflowers.lavender,
|
|
435
|
+
tulipPink: wildflowers.tulipPink,
|
|
436
|
+
tulipRed: wildflowers.tulipRed,
|
|
437
|
+
// Hills and ground (references to greens for depth layering)
|
|
438
|
+
hillDeep: greens.deepGreen,
|
|
439
|
+
hillMid: greens.meadow,
|
|
440
|
+
hillNear: greens.mint,
|
|
441
|
+
hillFront: greens.pale
|
|
366
442
|
};
|
|
367
443
|
// =============================================================================
|
|
368
444
|
// FULL PALETTE EXPORT
|
|
369
445
|
// =============================================================================
|
|
370
446
|
export const naturePalette = {
|
|
447
|
+
// Core
|
|
371
448
|
greens,
|
|
372
449
|
bark,
|
|
373
450
|
earth,
|
|
374
451
|
natural,
|
|
375
|
-
|
|
376
|
-
|
|
452
|
+
// Spring
|
|
453
|
+
springFoliage,
|
|
454
|
+
springSky,
|
|
455
|
+
wildflowers,
|
|
456
|
+
cherryBlossoms,
|
|
457
|
+
cherryBlossomsPeak,
|
|
458
|
+
// Autumn
|
|
377
459
|
autumn,
|
|
378
|
-
pinks,
|
|
379
460
|
autumnReds,
|
|
461
|
+
// Winter
|
|
380
462
|
winter,
|
|
463
|
+
// Accents
|
|
381
464
|
accents,
|
|
382
|
-
|
|
465
|
+
// Special
|
|
466
|
+
midnightBloom,
|
|
467
|
+
// Deprecated aliases (for backward compat)
|
|
468
|
+
spring,
|
|
469
|
+
pinks,
|
|
470
|
+
springBlossoms
|
|
383
471
|
};
|
|
384
472
|
export default naturePalette;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
Licensed under AGPL-3.0
|
|
5
5
|
-->
|
|
6
6
|
<script lang="ts">
|
|
7
|
-
import type { Season } from '../
|
|
8
|
-
import { autumnReds,
|
|
7
|
+
import type { Season } from '../palette';
|
|
8
|
+
import { autumnReds, cherryBlossoms, winter } from '../palette';
|
|
9
9
|
|
|
10
10
|
interface Props {
|
|
11
11
|
class?: string;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
// Cherry trees: pink blossoms in spring, red/crimson foliage in autumn
|
|
30
30
|
// Use $derived to react to season/color prop changes
|
|
31
|
-
const defaultColor = $derived(season === 'autumn' ? autumnReds.scarlet :
|
|
31
|
+
const defaultColor = $derived(season === 'autumn' ? autumnReds.scarlet : cherryBlossoms.pale);
|
|
32
32
|
const blossomColor = $derived(color ?? defaultColor);
|
|
33
33
|
const actualTrunkColor = $derived(
|
|
34
34
|
trunkColor ?? (season === 'winter' ? winter.bareBranch : '#6B4423')
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
Licensed under AGPL-3.0
|
|
5
5
|
-->
|
|
6
6
|
<script lang="ts">
|
|
7
|
-
import type { Season } from '../
|
|
8
|
-
import { winter } from '../
|
|
7
|
+
import type { Season } from '../palette';
|
|
8
|
+
import { winter } from '../palette';
|
|
9
9
|
|
|
10
10
|
interface Props {
|
|
11
11
|
class?: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import FontProvider from './FontProvider.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
+
class?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<FontProvider font="alagard" {as} class={className} {style}>
|
|
16
|
+
{@render children()}
|
|
17
|
+
</FontProvider>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
children: Snippet;
|
|
7
|
+
}
|
|
8
|
+
declare const Alagard: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type Alagard = ReturnType<typeof Alagard>;
|
|
10
|
+
export default Alagard;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import FontProvider from './FontProvider.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
+
class?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<FontProvider font="atkinson" {as} class={className} {style}>
|
|
16
|
+
{@render children()}
|
|
17
|
+
</FontProvider>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
children: Snippet;
|
|
7
|
+
}
|
|
8
|
+
declare const Atkinson: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type Atkinson = ReturnType<typeof Atkinson>;
|
|
10
|
+
export default Atkinson;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import FontProvider from './FontProvider.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
+
class?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<FontProvider font="calistoga" {as} class={className} {style}>
|
|
16
|
+
{@render children()}
|
|
17
|
+
</FontProvider>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
children: Snippet;
|
|
7
|
+
}
|
|
8
|
+
declare const Calistoga: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type Calistoga = ReturnType<typeof Calistoga>;
|
|
10
|
+
export default Calistoga;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import FontProvider from './FontProvider.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
+
class?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<FontProvider font="caveat" {as} class={className} {style}>
|
|
16
|
+
{@render children()}
|
|
17
|
+
</FontProvider>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
children: Snippet;
|
|
7
|
+
}
|
|
8
|
+
declare const Caveat: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type Caveat = ReturnType<typeof Caveat>;
|
|
10
|
+
export default Caveat;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import FontProvider from './FontProvider.svelte';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
+
class?: string;
|
|
8
|
+
style?: string;
|
|
9
|
+
children: Snippet;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<FontProvider font="cozette" {as} class={className} {style}>
|
|
16
|
+
{@render children()}
|
|
17
|
+
</FontProvider>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Snippet } from 'svelte';
|
|
2
|
+
interface Props {
|
|
3
|
+
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
children: Snippet;
|
|
7
|
+
}
|
|
8
|
+
declare const Cozette: import("svelte").Component<Props, {}, "">;
|
|
9
|
+
type Cozette = ReturnType<typeof Cozette>;
|
|
10
|
+
export default Cozette;
|