@zovaris/sephiro 0.13.0 → 0.14.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 CHANGED
@@ -37,6 +37,7 @@ Import exactly one theme preset, not all of them:
37
37
  | `asterism` | `@zovaris/sephiro/css/theme-asterism.css` |
38
38
  | `fizza` | `@zovaris/sephiro/css/theme-fizza.css` |
39
39
  | `pulso` | `@zovaris/sephiro/css/theme-pulso.css` |
40
+ | `curie` | `@zovaris/sephiro/css/theme-curie.css` |
40
41
 
41
42
  `default` and `dark` are the same palette. Preset files are minified;
42
43
  `theme-default.css` and `theme-dark.css` also seed the dark fallback tokens,
@@ -77,7 +78,7 @@ Sephiro to Tailwind's source scan.
77
78
  </main>
78
79
  ```
79
80
 
80
- Available presets: `default`, `dark`, `light`, `asterism`, `fizza`, and `pulso`. The default, dark, and light presets use the pine-rose palette; Pulso remains light by default with a forest-green accent and follows `data-theme="dark"` from its own element or an ancestor. Multiple themes can coexist on one page through `data-sephiro-theme` on any ancestor.
81
+ Available presets: `default`, `dark`, `light`, `asterism`, `fizza`, `pulso`, and `curie`. The default, dark, and light presets use the pine-rose palette; Pulso remains light by default with a forest-green accent and follows `data-theme="dark"` from its own element or an ancestor. Multiple themes can coexist on one page through `data-sephiro-theme` on any ancestor.
81
82
 
82
83
  ## Sizing
83
84
 
@@ -0,0 +1 @@
1
+ :where(:root,[data-sephiro-theme=default],[data-sephiro-theme=dark]){--sph-ease-standard:cubic-bezier(.2, .8, .2, 1);--sph-ease-emphasis:cubic-bezier(.16, 1, .3, 1);--sph-ease-exit:cubic-bezier(.4, 0, .2, 1);--sph-ease-spring:cubic-bezier(.3, 1.45, .45, 1);--sph-ease-settle:cubic-bezier(.16, 1, .3, 1);--sph-ease-sweep:cubic-bezier(.65, 0, .35, 1);--sph-control-height-sm:32px;--sph-control-height-md:36px;--sph-control-height-lg:40px}[data-sephiro-theme=curie]{--sph-bg:#0a0a0a;--sph-surface:#131313;--sph-surface-elevated:#181818;--sph-raised:#1c1c1c;--sph-border:#262626;--sph-border-strong:#3a3a3a;--sph-text:#f5f5f3;--sph-text-muted:#c4c4c0;--sph-accent:#d71921;--sph-accent-hover:#c4161d;--sph-accent-pressed:#a8141b;--sph-accent-strong:#ef4444;--sph-accent-soft:color-mix(in srgb, var(--sph-accent) 16%, transparent);--sph-on-accent:#fff;--sph-success:#84a07c;--sph-success-soft:color-mix(in srgb, var(--sph-success) 15%, transparent);--sph-warning:#d4a84a;--sph-warning-soft:color-mix(in srgb, var(--sph-warning) 15%, transparent);--sph-danger:#c25c4f;--sph-danger-soft:color-mix(in srgb, var(--sph-danger) 15%, transparent);--sph-focus:#ea343c;--sph-focus-ring:color-mix(in srgb, var(--sph-accent) 26%, transparent);--sph-font-sans:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;--sph-font-mono:"Space Mono", ui-monospace, SFMono-Regular, monospace;--sph-radius-xs:2px;--sph-radius-sm:2px;--sph-radius-md:4px;--sph-shadow-popover:0 14px 36px #00000080;color-scheme:dark}[data-sephiro-theme=curie][data-theme=light],[data-theme=light] [data-sephiro-theme=curie]{--sph-bg:#fafaf8;--sph-surface:#f0eee8;--sph-surface-elevated:#ebe9e2;--sph-raised:#e6e3dc;--sph-border:#d4d0c5;--sph-border-strong:#b8b4a9;--sph-text:#18181b;--sph-text-muted:#3f3f46;--sph-accent:#c2151c;--sph-accent-hover:#a8141b;--sph-accent-pressed:#8f1017;--sph-accent-strong:#a8141b;--sph-accent-soft:color-mix(in srgb, var(--sph-accent) 13%, transparent);--sph-on-accent:#fafaf8;--sph-success:#5a7a52;--sph-success-soft:color-mix(in srgb, var(--sph-success) 12%, transparent);--sph-warning:#a88030;--sph-warning-soft:color-mix(in srgb, var(--sph-warning) 12%, transparent);--sph-danger:#a8443a;--sph-danger-soft:color-mix(in srgb, var(--sph-danger) 12%, transparent);--sph-focus:#c2151c;--sph-focus-ring:color-mix(in srgb, var(--sph-accent) 20%, transparent);--sph-shadow-popover:0 14px 36px #00000024;color-scheme:light}:where([data-sephiro-motion=off]){--sph-motion-fast:0s;--sph-motion-normal:0s;--sph-motion-slow:0s;--sph-motion-stagger:0s}@media (prefers-reduced-motion:reduce){:where(:root,[data-sephiro-theme]){--sph-motion-fast:0s;--sph-motion-normal:0s;--sph-motion-slow:0s;--sph-motion-stagger:0s}}
package/dist/index.css CHANGED
@@ -354,6 +354,93 @@
354
354
  --sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.38);
355
355
  color-scheme: dark;
356
356
  }
357
+ [data-sephiro-theme="curie"] {
358
+ --sph-bg: #0a0a0a;
359
+ --sph-surface: #131313;
360
+ --sph-surface-elevated: #181818;
361
+ --sph-raised: #1c1c1c;
362
+ --sph-border: #262626;
363
+ --sph-border-strong: #3a3a3a;
364
+ --sph-text: #f5f5f3;
365
+ --sph-text-muted: #c4c4c0;
366
+ --sph-accent: #d71921;
367
+ --sph-accent-hover: #c4161d;
368
+ --sph-accent-pressed: #a8141b;
369
+ --sph-accent-strong: #ef4444;
370
+ --sph-accent-soft: var(--sph-accent);
371
+ @supports (color: color-mix(in lab, red, red)) {
372
+ --sph-accent-soft: color-mix(in srgb, var(--sph-accent) 16%, transparent);
373
+ }
374
+ --sph-on-accent: #ffffff;
375
+ --sph-success: #84a07c;
376
+ --sph-success-soft: var(--sph-success);
377
+ @supports (color: color-mix(in lab, red, red)) {
378
+ --sph-success-soft: color-mix(in srgb, var(--sph-success) 15%, transparent);
379
+ }
380
+ --sph-warning: #d4a84a;
381
+ --sph-warning-soft: var(--sph-warning);
382
+ @supports (color: color-mix(in lab, red, red)) {
383
+ --sph-warning-soft: color-mix(in srgb, var(--sph-warning) 15%, transparent);
384
+ }
385
+ --sph-danger: #c25c4f;
386
+ --sph-danger-soft: var(--sph-danger);
387
+ @supports (color: color-mix(in lab, red, red)) {
388
+ --sph-danger-soft: color-mix(in srgb, var(--sph-danger) 15%, transparent);
389
+ }
390
+ --sph-focus: #ea343c;
391
+ --sph-focus-ring: var(--sph-accent);
392
+ @supports (color: color-mix(in lab, red, red)) {
393
+ --sph-focus-ring: color-mix(in srgb, var(--sph-accent) 26%, transparent);
394
+ }
395
+ --sph-font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
396
+ --sph-font-mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;
397
+ --sph-radius-xs: 2px;
398
+ --sph-radius-sm: 2px;
399
+ --sph-radius-md: 4px;
400
+ --sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.5);
401
+ color-scheme: dark;
402
+ }
403
+ [data-sephiro-theme="curie"][data-theme="light"], [data-theme="light"] [data-sephiro-theme="curie"] {
404
+ --sph-bg: #fafaf8;
405
+ --sph-surface: #f0eee8;
406
+ --sph-surface-elevated: #ebe9e2;
407
+ --sph-raised: #e6e3dc;
408
+ --sph-border: #d4d0c5;
409
+ --sph-border-strong: #b8b4a9;
410
+ --sph-text: #18181b;
411
+ --sph-text-muted: #3f3f46;
412
+ --sph-accent: #c2151c;
413
+ --sph-accent-hover: #a8141b;
414
+ --sph-accent-pressed: #8f1017;
415
+ --sph-accent-strong: #a8141b;
416
+ --sph-accent-soft: var(--sph-accent);
417
+ @supports (color: color-mix(in lab, red, red)) {
418
+ --sph-accent-soft: color-mix(in srgb, var(--sph-accent) 13%, transparent);
419
+ }
420
+ --sph-on-accent: #fafaf8;
421
+ --sph-success: #5a7a52;
422
+ --sph-success-soft: var(--sph-success);
423
+ @supports (color: color-mix(in lab, red, red)) {
424
+ --sph-success-soft: color-mix(in srgb, var(--sph-success) 12%, transparent);
425
+ }
426
+ --sph-warning: #a88030;
427
+ --sph-warning-soft: var(--sph-warning);
428
+ @supports (color: color-mix(in lab, red, red)) {
429
+ --sph-warning-soft: color-mix(in srgb, var(--sph-warning) 12%, transparent);
430
+ }
431
+ --sph-danger: #a8443a;
432
+ --sph-danger-soft: var(--sph-danger);
433
+ @supports (color: color-mix(in lab, red, red)) {
434
+ --sph-danger-soft: color-mix(in srgb, var(--sph-danger) 12%, transparent);
435
+ }
436
+ --sph-focus: #c2151c;
437
+ --sph-focus-ring: var(--sph-accent);
438
+ @supports (color: color-mix(in lab, red, red)) {
439
+ --sph-focus-ring: color-mix(in srgb, var(--sph-accent) 20%, transparent);
440
+ }
441
+ --sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.14);
442
+ color-scheme: light;
443
+ }
357
444
  @supports (animation-timing-function: linear(0, 1)) {
358
445
  :where(:root, [data-sephiro-theme="default"], [data-sephiro-theme="dark"]) {
359
446
  --sph-ease-spring: linear(
package/dist/themes.css CHANGED
@@ -252,6 +252,66 @@
252
252
  color-scheme: dark;
253
253
  }
254
254
 
255
+ [data-sephiro-theme="curie"] {
256
+ --sph-bg: #0a0a0a;
257
+ --sph-surface: #131313;
258
+ --sph-surface-elevated: #181818;
259
+ --sph-raised: #1c1c1c;
260
+ --sph-border: #262626;
261
+ --sph-border-strong: #3a3a3a;
262
+ --sph-text: #f5f5f3;
263
+ --sph-text-muted: #c4c4c0;
264
+ --sph-accent: #d71921;
265
+ --sph-accent-hover: #c4161d;
266
+ --sph-accent-pressed: #a8141b;
267
+ --sph-accent-strong: #ef4444;
268
+ --sph-accent-soft: color-mix(in srgb, var(--sph-accent) 16%, transparent);
269
+ --sph-on-accent: #ffffff;
270
+ --sph-success: #84a07c;
271
+ --sph-success-soft: color-mix(in srgb, var(--sph-success) 15%, transparent);
272
+ --sph-warning: #d4a84a;
273
+ --sph-warning-soft: color-mix(in srgb, var(--sph-warning) 15%, transparent);
274
+ --sph-danger: #c25c4f;
275
+ --sph-danger-soft: color-mix(in srgb, var(--sph-danger) 15%, transparent);
276
+ --sph-focus: #ea343c;
277
+ --sph-focus-ring: color-mix(in srgb, var(--sph-accent) 26%, transparent);
278
+ --sph-font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
279
+ --sph-font-mono: "Space Mono", ui-monospace, SFMono-Regular, monospace;
280
+ --sph-radius-xs: 2px;
281
+ --sph-radius-sm: 2px;
282
+ --sph-radius-md: 4px;
283
+ --sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.5);
284
+ color-scheme: dark;
285
+ }
286
+
287
+ [data-sephiro-theme="curie"][data-theme="light"],
288
+ [data-theme="light"] [data-sephiro-theme="curie"] {
289
+ --sph-bg: #fafaf8;
290
+ --sph-surface: #f0eee8;
291
+ --sph-surface-elevated: #ebe9e2;
292
+ --sph-raised: #e6e3dc;
293
+ --sph-border: #d4d0c5;
294
+ --sph-border-strong: #b8b4a9;
295
+ --sph-text: #18181b;
296
+ --sph-text-muted: #3f3f46;
297
+ --sph-accent: #c2151c;
298
+ --sph-accent-hover: #a8141b;
299
+ --sph-accent-pressed: #8f1017;
300
+ --sph-accent-strong: #a8141b;
301
+ --sph-accent-soft: color-mix(in srgb, var(--sph-accent) 13%, transparent);
302
+ --sph-on-accent: #fafaf8;
303
+ --sph-success: #5a7a52;
304
+ --sph-success-soft: color-mix(in srgb, var(--sph-success) 12%, transparent);
305
+ --sph-warning: #a88030;
306
+ --sph-warning-soft: color-mix(in srgb, var(--sph-warning) 12%, transparent);
307
+ --sph-danger: #a8443a;
308
+ --sph-danger-soft: color-mix(in srgb, var(--sph-danger) 12%, transparent);
309
+ --sph-focus: #c2151c;
310
+ --sph-focus-ring: color-mix(in srgb, var(--sph-accent) 20%, transparent);
311
+ --sph-shadow-popover: 0 14px 36px rgb(0 0 0 / 0.14);
312
+ color-scheme: light;
313
+ }
314
+
255
315
  @supports (animation-timing-function: linear(0, 1)) {
256
316
  :where(:root, [data-sephiro-theme="default"], [data-sephiro-theme="dark"]) {
257
317
  --sph-ease-spring: linear(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zovaris/sephiro",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Reusable desktop UI primitives for React and Preact applications.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {