zeus-css 1.0.12 → 1.0.13

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.
@@ -345,207 +345,187 @@
345
345
  },
346
346
  "typography": {
347
347
  "display-xl": {
348
- "$value": "800 clamp(3.5rem, round(2.9rem + 2.8cqi, 0.1rem), 6rem)/1.1 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
348
+ "$value": "800 clamp(3.5rem, round(2.908rem + 2.761cqi, 0.01rem), 6rem)/1.1 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
349
349
  "$type": "typography",
350
350
  "$description": "--text-display-xl"
351
351
  },
352
352
  "display-lg": {
353
- "$value": "800 clamp(3rem, round(2.5rem + 2.2cqi, 0.1rem), 5rem)/1.1 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
353
+ "$value": "800 clamp(3rem, round(2.527rem + 2.208cqi, 0.01rem), 5rem)/1.1 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
354
354
  "$type": "typography",
355
355
  "$description": "--text-display-lg"
356
356
  },
357
357
  "display-md": {
358
- "$value": "700 clamp(2.5rem, round(2.1rem + 1.7cqi, 0.1rem), 4rem)/1.15 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
358
+ "$value": "700 clamp(2.5rem, round(2.145rem + 1.656cqi, 0.01rem), 4rem)/1.15 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
359
359
  "$type": "typography",
360
360
  "$description": "--text-display-md"
361
361
  },
362
362
  "h1": {
363
- "$value": "700 clamp(2.25rem, round(2rem + 1.1cqi, 0.1rem), 3.25rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
363
+ "$value": "700 clamp(2.25rem, round(2.013rem + 1.104cqi, 0.01rem), 3.25rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
364
364
  "$type": "typography",
365
365
  "$description": "--text-h1"
366
366
  },
367
367
  "h1-light": {
368
- "$value": "300 clamp(2.25rem, round(2rem + 1.1cqi, 0.1rem), 3.25rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
368
+ "$value": "300 clamp(2.25rem, round(2.013rem + 1.104cqi, 0.01rem), 3.25rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
369
369
  "$type": "typography",
370
370
  "$description": "--text-h1-light"
371
371
  },
372
372
  "h2": {
373
- "$value": "600 clamp(1.88rem, round(1.7rem + 1cqi, 0.1rem), 2.75rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
373
+ "$value": "600 clamp(1.88rem, round(1.674rem + 0.961cqi, 0.01rem), 2.75rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
374
374
  "$type": "typography",
375
375
  "$description": "--text-h2"
376
376
  },
377
377
  "h2-light": {
378
- "$value": "300 clamp(1.88rem, round(1.7rem + 1cqi, 0.1rem), 2.75rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
378
+ "$value": "300 clamp(1.88rem, round(1.674rem + 0.961cqi, 0.01rem), 2.75rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
379
379
  "$type": "typography",
380
380
  "$description": "--text-h2-light"
381
381
  },
382
382
  "h3": {
383
- "$value": "600 clamp(1.63rem, round(1.4rem + 1cqi, 0.1rem), 2.5rem)/1.25 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
383
+ "$value": "600 clamp(1.63rem, round(1.424rem + 0.961cqi, 0.01rem), 2.5rem)/1.25 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
384
384
  "$type": "typography",
385
385
  "$description": "--text-h3"
386
386
  },
387
387
  "h3-light": {
388
- "$value": "300 clamp(1.63rem, round(1.4rem + 1cqi, 0.1rem), 2.5rem)/1.25 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
388
+ "$value": "300 clamp(1.63rem, round(1.424rem + 0.961cqi, 0.01rem), 2.5rem)/1.25 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
389
389
  "$type": "typography",
390
390
  "$description": "--text-h3-light"
391
391
  },
392
392
  "h4": {
393
- "$value": "600 clamp(1.5rem, round(1.4rem + 0.6cqi, 0.1rem), 2rem)/1.3 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
393
+ "$value": "600 clamp(1.5rem, round(1.382rem + 0.552cqi, 0.01rem), 2rem)/1.3 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
394
394
  "$type": "typography",
395
395
  "$description": "--text-h4"
396
396
  },
397
397
  "h4-light": {
398
- "$value": "300 clamp(1.5rem, round(1.4rem + 0.6cqi, 0.1rem), 2rem)/1.3 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
398
+ "$value": "300 clamp(1.5rem, round(1.382rem + 0.552cqi, 0.01rem), 2rem)/1.3 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
399
399
  "$type": "typography",
400
400
  "$description": "--text-h4-light"
401
401
  },
402
402
  "h5": {
403
- "$value": "500 clamp(1.25rem, round(1.2rem + 0.3cqi, 0.1rem), 1.5rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
403
+ "$value": "500 clamp(1.25rem, round(1.191rem + 0.276cqi, 0.01rem), 1.5rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
404
404
  "$type": "typography",
405
405
  "$description": "--text-h5"
406
406
  },
407
407
  "h5-light": {
408
- "$value": "300 clamp(1.25rem, round(1.2rem + 0.3cqi, 0.1rem), 1.5rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
408
+ "$value": "300 clamp(1.25rem, round(1.191rem + 0.276cqi, 0.01rem), 1.5rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
409
409
  "$type": "typography",
410
410
  "$description": "--text-h5-light"
411
411
  },
412
412
  "h6": {
413
- "$value": "500 clamp(1.13rem, round(1.1rem + 0.1cqi, 0.1rem), 1.25rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
413
+ "$value": "500 clamp(1.13rem, round(1.101rem + 0.133cqi, 0.01rem), 1.25rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
414
414
  "$type": "typography",
415
415
  "$description": "--text-h6"
416
416
  },
417
417
  "h6-light": {
418
- "$value": "300 clamp(1.13rem, round(1.1rem + 0.1cqi, 0.1rem), 1.25rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
418
+ "$value": "300 clamp(1.13rem, round(1.101rem + 0.133cqi, 0.01rem), 1.25rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
419
419
  "$type": "typography",
420
420
  "$description": "--text-h6-light"
421
421
  },
422
422
  "body-xl": {
423
- "$value": "400 clamp(1.25rem, round(1.2rem + 0.3cqi, 0.1rem), 1.5rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
423
+ "$value": "400 clamp(1.25rem, round(1.191rem + 0.276cqi, 0.01rem), 1.5rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
424
424
  "$type": "typography",
425
425
  "$description": "--text-body-xl"
426
426
  },
427
427
  "body-lg": {
428
- "$value": "400 clamp(1.13rem, round(1.1rem + 0.1cqi, 0.1rem), 1.25rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
428
+ "$value": "400 clamp(1.13rem, round(1.101rem + 0.133cqi, 0.01rem), 1.25rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
429
429
  "$type": "typography",
430
430
  "$description": "--text-body-lg"
431
431
  },
432
432
  "body": {
433
- "$value": "400 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
433
+ "$value": "400 clamp(1rem, round(0.969rem + 0.144cqi, 0.01rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
434
434
  "$type": "typography",
435
435
  "$description": "--text-body"
436
436
  },
437
- "body-md": {
438
- "$value": "400 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
439
- "$type": "typography",
440
- "$description": "--text-body-md"
441
- },
442
437
  "body-bold": {
443
- "$value": "700 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
438
+ "$value": "700 clamp(1rem, round(0.969rem + 0.144cqi, 0.01rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
444
439
  "$type": "typography",
445
440
  "$description": "--text-body-bold"
446
441
  },
447
- "body-md-bold": {
448
- "$value": "700 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
449
- "$type": "typography",
450
- "$description": "--text-body-md-bold"
451
- },
452
442
  "body-semibold": {
453
- "$value": "600 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
443
+ "$value": "600 clamp(1rem, round(0.969rem + 0.144cqi, 0.01rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
454
444
  "$type": "typography",
455
445
  "$description": "--text-body-semibold"
456
446
  },
457
- "body-md-semibold": {
458
- "$value": "600 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
459
- "$type": "typography",
460
- "$description": "--text-body-md-semibold"
461
- },
462
447
  "body-medium": {
463
- "$value": "500 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
448
+ "$value": "500 clamp(1rem, round(0.969rem + 0.144cqi, 0.01rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
464
449
  "$type": "typography",
465
450
  "$description": "--text-body-medium"
466
451
  },
467
- "body-md-medium": {
468
- "$value": "500 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.6 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
469
- "$type": "typography",
470
- "$description": "--text-body-md-medium"
471
- },
472
452
  "body-sm": {
473
- "$value": "400 clamp(0.88rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
453
+ "$value": "400 clamp(0.88rem, round(0.851rem + 0.133cqi, 0.01rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
474
454
  "$type": "typography",
475
455
  "$description": "--text-body-sm"
476
456
  },
477
457
  "body-sm-bold": {
478
- "$value": "700 clamp(0.88rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
458
+ "$value": "700 clamp(0.88rem, round(0.851rem + 0.133cqi, 0.01rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
479
459
  "$type": "typography",
480
460
  "$description": "--text-body-sm-bold"
481
461
  },
482
462
  "body-sm-semibold": {
483
- "$value": "600 clamp(0.88rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
463
+ "$value": "600 clamp(0.88rem, round(0.851rem + 0.133cqi, 0.01rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
484
464
  "$type": "typography",
485
465
  "$description": "--text-body-sm-semibold"
486
466
  },
487
467
  "body-xs": {
488
- "$value": "400 clamp(0.75rem, round(0.7rem + 0.1cqi, 0.1rem), 0.88rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
468
+ "$value": "400 clamp(0.75rem, round(0.719rem + 0.144cqi, 0.01rem), 0.88rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
489
469
  "$type": "typography",
490
470
  "$description": "--text-body-xs"
491
471
  },
492
472
  "label": {
493
- "$value": "500 clamp(0.75rem, round(0.7rem + 0.1cqi, 0.1rem), 0.88rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
473
+ "$value": "500 clamp(0.75rem, round(0.719rem + 0.144cqi, 0.01rem), 0.88rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
494
474
  "$type": "typography",
495
475
  "$description": "--text-label"
496
476
  },
497
477
  "label-bold": {
498
- "$value": "700 clamp(0.75rem, round(0.7rem + 0.1cqi, 0.1rem), 0.88rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
478
+ "$value": "700 clamp(0.75rem, round(0.719rem + 0.144cqi, 0.01rem), 0.88rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
499
479
  "$type": "typography",
500
480
  "$description": "--text-label-bold"
501
481
  },
502
482
  "caption": {
503
- "$value": "400 clamp(0.69rem, round(0.7rem + 0.1cqi, 0.1rem), 0.75rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
483
+ "$value": "400 clamp(0.69rem, round(0.676rem + 0.066cqi, 0.01rem), 0.75rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
504
484
  "$type": "typography",
505
485
  "$description": "--text-caption"
506
486
  },
507
487
  "caption-bold": {
508
- "$value": "600 clamp(0.69rem, round(0.7rem + 0.1cqi, 0.1rem), 0.75rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
488
+ "$value": "600 clamp(0.69rem, round(0.676rem + 0.066cqi, 0.01rem), 0.75rem)/1.4 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
509
489
  "$type": "typography",
510
490
  "$description": "--text-caption-bold"
511
491
  },
512
492
  "overline": {
513
- "$value": "600 clamp(0.88rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.3 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
493
+ "$value": "600 clamp(0.88rem, round(0.851rem + 0.133cqi, 0.01rem), 1rem)/1.3 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
514
494
  "$type": "typography",
515
495
  "$description": "--text-overline"
516
496
  },
517
497
  "link": {
518
- "$value": "500 clamp(0.94rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
498
+ "$value": "500 clamp(0.94rem, round(0.926rem + 0.066cqi, 0.01rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
519
499
  "$type": "typography",
520
500
  "$description": "--text-link"
521
501
  },
522
502
  "link-bold": {
523
- "$value": "700 clamp(0.94rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
503
+ "$value": "700 clamp(0.94rem, round(0.926rem + 0.066cqi, 0.01rem), 1rem)/1.5 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
524
504
  "$type": "typography",
525
505
  "$description": "--text-link-bold"
526
506
  },
527
507
  "button": {
528
- "$value": "600 clamp(0.88rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
508
+ "$value": "600 clamp(0.88rem, round(0.851rem + 0.133cqi, 0.01rem), 1rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
529
509
  "$type": "typography",
530
510
  "$description": "--text-button"
531
511
  },
532
512
  "button-lg": {
533
- "$value": "600 clamp(1rem, round(1rem + 0.1cqi, 0.1rem), 1.13rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
513
+ "$value": "600 clamp(1rem, round(0.969rem + 0.144cqi, 0.01rem), 1.13rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
534
514
  "$type": "typography",
535
515
  "$description": "--text-button-lg"
536
516
  },
537
517
  "button-sm": {
538
- "$value": "600 clamp(0.75rem, round(0.7rem + 0.1cqi, 0.1rem), 0.88rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
518
+ "$value": "600 clamp(0.75rem, round(0.719rem + 0.144cqi, 0.01rem), 0.88rem)/1.2 Inter, -apple-system, BlinkMacSystemFont, Segoe UI, system-ui, sans-serif",
539
519
  "$type": "typography",
540
520
  "$description": "--text-button-sm"
541
521
  },
542
522
  "code": {
543
- "$value": "400 clamp(0.88rem, round(0.9rem + 0.1cqi, 0.1rem), 1rem)/1.6 JetBrains Mono, Fira Code, Cascadia Code, Courier New, monospace",
523
+ "$value": "400 clamp(0.88rem, round(0.851rem + 0.133cqi, 0.01rem), 1rem)/1.6 JetBrains Mono, Fira Code, Cascadia Code, Courier New, monospace",
544
524
  "$type": "typography",
545
525
  "$description": "--text-code"
546
526
  },
547
527
  "code-sm": {
548
- "$value": "400 clamp(0.75rem, round(0.7rem + 0.1cqi, 0.1rem), 0.88rem)/1.6 JetBrains Mono, Fira Code, Cascadia Code, Courier New, monospace",
528
+ "$value": "400 clamp(0.75rem, round(0.719rem + 0.144cqi, 0.01rem), 0.88rem)/1.6 JetBrains Mono, Fira Code, Cascadia Code, Courier New, monospace",
549
529
  "$type": "typography",
550
530
  "$description": "--text-code-sm"
551
531
  }
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env node
2
- try {
3
- if (process.env.CI) {
4
- process.exit(0);
5
- }
6
- console.log('');
7
- console.log('⚡ Zeus CSS installed.');
8
- console.log(' Run `npx zeus-css init` to get local zeus.config.scss / zeus.customize.scss files you can edit.');
9
- console.log(' (Skip this if you only want the default theme via zeus-css/dist/zeus.css.)');
10
- console.log('');
11
- } catch (e) {
12
- // Never fail an install just because the reminder couldn't print.
13
- }
@@ -1,41 +0,0 @@
1
- {
2
- "extends": "stylelint-config-standard-scss",
3
- "ignoreFiles": ["zeus.token.sets.example.scss"],
4
- "rules": {
5
- "no-empty-source": null,
6
- "scss/at-rule-no-unknown": true,
7
-
8
- "selector-class-pattern": null,
9
- "custom-property-pattern": null,
10
- "scss/dollar-variable-pattern": null,
11
- "scss/at-function-pattern": null,
12
-
13
- "alpha-value-notation": null,
14
- "color-function-notation": null,
15
- "hue-degree-notation": null,
16
- "value-keyword-case": null,
17
-
18
- "no-descending-specificity": null,
19
- "declaration-block-single-line-max-declarations": null,
20
- "shorthand-property-no-redundant-values": null,
21
- "font-family-name-quotes": null,
22
- "property-no-vendor-prefix": null,
23
-
24
- "scss/at-mixin-argumentless-call-parentheses": null,
25
- "scss/at-mixin-pattern": null,
26
- "scss/at-if-closing-brace-newline-after": null,
27
- "scss/at-if-closing-brace-space-after": null,
28
- "scss/at-if-no-null": null,
29
- "scss/at-else-empty-line-before": null,
30
- "scss/double-slash-comment-empty-line-before": null,
31
- "scss/double-slash-comment-whitespace-inside": null,
32
- "scss/dollar-variable-empty-line-before": null,
33
- "scss/dollar-variable-colon-space-after": null,
34
- "scss/operator-no-unspaced": null,
35
- "declaration-empty-line-before": null,
36
- "rule-empty-line-before": null,
37
- "at-rule-empty-line-before": null,
38
- "comment-empty-line-before": null,
39
- "scss/comment-no-empty": null
40
- }
41
- }
package/scss/API.md DELETED
@@ -1,175 +0,0 @@
1
- # Zeus CSS — Public API Surface (v1.0.0)
2
-
3
- This document is the semver contract. Everything listed here is **public and
4
- stable**: it will not change or be removed except in a major version bump
5
- (`2.0.0`), following [Semantic Versioning](https://semver.org/). Everything
6
- *not* listed here — including anything explicitly marked "internal" below —
7
- is free to change in a minor or patch release without notice.
8
-
9
- Generated references (`llms.txt`, `cheatsheet.md`, `zeus.tokens.json`) are
10
- regenerated from source on every `npm run prepack` and always reflect the
11
- current public surface described here. If they ever disagree with this file,
12
- this file wins.
13
-
14
- ## 1. Entry points
15
-
16
- | Import | Emits CSS? | Use in |
17
- |---|---|---|
18
- | `import "zeus-css/css";` | Yes — precompiled, default tokens only, not customizable | App root, no Sass pipeline |
19
- | `import "zeus-css/min";` | Yes — same as above, minified | App root, no Sass pipeline, production |
20
- | `@use "zeus-css/foundation";` | Yes — full compiled framework | App root, once, Sass pipeline |
21
- | `@use "zeus-css/zeus" as *;` | No — mixins/functions only | Every `.module.scss` |
22
- | `@use "zeus-css/config";` | No | Only if you need raw access to `$zeus-*` config variables |
23
- | `@use "zeus-css/customize";` | No | Only if you need raw access to `$zeus-colors` etc. without the rest of config |
24
-
25
- `zeus-css/css` and `zeus-css/min` are static builds of `foundation.scss` with
26
- default tokens baked in at publish time (`npm run build:css`) — they cannot
27
- reflect `zeus.customize.scss` overrides. Use one of the two SCSS entry points
28
- below instead if you need custom tokens.
29
-
30
- `package.json` → `files` is the authoritative list of what ships: the
31
- `foundation/**/*.scss` tree, the six entry points above (plus their compiled
32
- `dist/` output), `zeus.tokens.json`, `llms.txt`, `cheatsheet.md`, `LICENSE`,
33
- `README.md`, `CHANGELOG.md`. Anything under `foundation/` not reachable
34
- through `foundation` or `zeus` (see §6) is an implementation detail even
35
- though the file ships.
36
-
37
- ## 2. Config variables (`zeus.config.scss`, `zeus.customize.scss`)
38
-
39
- Every `!default` variable in these two files is public: name, accepted
40
- values/shape, and default value are all part of the contract.
41
-
42
- **Feature toggles** — `$zeus-enable-responsive-classes`, `$zeus-enable-animation-classes`,
43
- `$zeus-enable-grid-system`, `$zeus-enable-shadow-classes`,
44
- `$zeus-enable-color-utilities`, `$zeus-enable-property-registration`.
45
-
46
- **Naming & compile strategy** — `$zeus-use-prefix`, `$zeus-class-prefix`,
47
- `$zeus-version`. All responsive utilities are mobile-first (`min-width`);
48
- there is no desktop-first mode and no config knob for one — see CHANGELOG
49
- for the removal rationale.
50
-
51
- **Fluid engine bounds** — `$zeus-container-bounds`, `$zeus-root-font-size`,
52
- `$zeus-focus-ring`.
53
-
54
- **Layout** — `$zeus-outer-max-width`, `$zeus-breakpoints`, `$zeus-outer-padding`,
55
- `$zeus-column-gaps`.
56
-
57
- **Design tokens** (`zeus.customize.scss`, forwarded through `zeus.config.scss`)
58
- — `$zeus-colors`, and every other token map documented inline in that file
59
- (typography, spacing, radii, border widths, icon sizes, shadows, z-index).
60
- Reference values for every key: `zeus.token.sets.example.scss`.
61
-
62
- Any Sass map above may have individual keys overridden without providing the
63
- whole map — that merge behavior is itself part of the contract.
64
-
65
- ## 3. Public mixins & functions
66
-
67
- Everything forwarded by `foundation/core/design`, `foundation/core/engine`,
68
- and `foundation/core/api` — i.e. everything reachable via
69
- `@use "zeus" as *`. The full catalog with signatures lives in
70
- [`llms.txt`](llms.txt) / [`cheatsheet.md`](cheatsheet.md) (auto-generated, do
71
- not hand-edit). Highlights: `padding()`, `margin()`, `gap()`, `border-radius()`,
72
- `border-line()`, `box-size()`, `text()`, `color()`, `zeus-theme()`,
73
- `apply-shadow()` / `elevation()` / `hover-shadow()` / `card-shadow()` / the
74
- rest of the shadow mixin family, `screen-above()` / `screen-below()` /
75
- `screen-between()` / `suppress-on()`, `fade-in()` / `slide-in()` / `scale()` /
76
- `bounce()` / `pulse()` / `rotate()`, the `btn-*` mixin family, and the `p()` /
77
- `m()` / `g()` / `r()` / `t()` / `sz()` shorthand aliases.
78
-
79
- **Internal, not public** — anything whose name starts with `_` (e.g.
80
- `_z-control-base`, `_emit-static-color-vars`, `_register-color-tokens`),
81
- and every function/mixin in `foundation/core/engine/_fluid-core.scss`, whose
82
- file header explicitly states it is private. `gen-cheatsheet.mjs` already
83
- excludes these from the generated catalog for the same reason.
84
-
85
- ## 4. Public utility class families
86
-
87
- Every class family listed in [`llms.txt`](llms.txt) / [`cheatsheet.md`](cheatsheet.md)
88
- under "Utility Class Families" — layout (`flex-*`, `grid-*`, `d-*`), spacing
89
- (`gap-*`), color (`bg-*`, `color-*`, `border-color-*`), typography (`text-*`),
90
- shadows (`shadow-*`), borders (`border-radius-*`, `border-line-*`), sizing
91
- (`w-*`, `h-*`, `min-w-*`, `max-w-*`, `box-*`, `icon-*`), position (`static`,
92
- `relative`, `absolute`, `fixed`, `sticky`, `inset-*`, `top-*`, `bottom-*`,
93
- `inset-inline-start-*`, `inset-inline-end-*`), z-index (`layer-*`), animation
94
- (`animate-*`, `delay-*`, `duration-*`), aspect ratio (`aspect-*`), opacity
95
- (`opacity-*`), flex-grow/shrink/order, overflow/object-fit, responsive
96
- visibility (`hidden-*`), the compound utility classes (`surface`,
97
- `surface-flat`, `section-wrap`, `section-wrap-narrow`, `glass`, `divider`,
98
- `sr-only`, `truncate`, `line-clamp-*`, `highlight`, `article`), `.container`,
99
- and the `btn-*` button classes. (Renamed from the `zeus-*` prefix —
100
- `.z-*` is reserved exclusively for the framework's fixed BEM components —
101
- card, modal, form controls — which do NOT participate in
102
- `$zeus-use-prefix`.)
103
-
104
- When `$zeus-use-prefix: true`, every class in this list is emitted with
105
- `$zeus-class-prefix` prepended — the prefixing behavior itself is part of the
106
- contract, not just the unprefixed names.
107
-
108
- ## 5. Public components (`foundation/views/components/`)
109
-
110
- These class-based components and their documented modifiers:
111
-
112
- - **`.z-card`**, `.z-card__media` and the modifiers documented in `_card.scss`
113
- - **`.z-modal-backdrop`**, `.z-modal`
114
- - **`.z-field`**, `.z-field--invalid`, `.z-field-group`, `.z-field__helper`,
115
- `.z-field__error`, `.z-label`, `.z-label--required`, `.z-input`,
116
- `.z-textarea`, `.z-select`, `.z-checkbox`, `.z-radio`
117
- - **`.z-badge`** — variants `--primary/--secondary/--accent/--success/
118
- --warning/--error`, modifier `--solid`, element `.z-badge__dot`
119
- - **`.z-alert`**, **`.z-avatar`** (+ `.z-avatar-group`), **`.z-table`**,
120
- **`.z-breadcrumb`**, **`.z-pagination`** — variants/elements as documented
121
- in their respective partials
122
- - **`.z-tabs`** — `.z-tabs__list`, `.z-tabs__tab`, `.z-tabs__panel`. State is
123
- driven by the native `aria-selected` / `hidden` attributes; which tab is
124
- selected is the consumer's to manage (Zeus ships no JS).
125
- - **`.z-tooltip`**, **`.z-dropdown`** (+ `.z-dropdown__list/__item/__divider`,
126
- `__item--danger`) — built on the native `popover` attribute and CSS anchor
127
- positioning. See README "Browser support": absence of anchor positioning
128
- degrades placement only. Hover-triggered tooltips need consumer JS;
129
- `popovertarget` alone gives click-to-toggle.
130
- - **`.z-toast-region`** + **`.z-toast`** (+ `__icon/__body/__title/__message/
131
- __close`, variants `--success/--warning/--danger/--info`) — the region is
132
- `popover="manual"`; auto-dismiss timing is the consumer's.
133
- - **`.z-skeleton`** — modifiers `--text/--title/--avatar/--block`
134
-
135
- The private `_z-control-base()` mixin these share is an implementation
136
- detail (§3) — only the class names and their documented states (default,
137
- hover, `:focus-visible`, `:disabled`, invalid) are guaranteed.
138
-
139
- ## 6. Public design tokens (CSS custom properties)
140
-
141
- Every CSS custom property emitted by `foundation` (the `--color-*`,
142
- `--space-*`, `--text-*`, `--shadow-*`, `--border-radius-*`, `--border-line-*`,
143
- `--size-icon-*`, `--z-*`, and responsive `--*` vars declared in
144
- `zeus.customize.scss`) is public. The canonical, always-current list — name,
145
- value, and type — is generated straight from the compiled CSS into
146
- [`zeus.tokens.json`](zeus.tokens.json) (W3C Design Tokens format) by
147
- `npm run gen:tokens`; nothing in that file is hand-maintained, so it cannot
148
- drift from what actually ships.
149
-
150
- ## 7. What is explicitly NOT public
151
-
152
- - Anything under `foundation/views/render/` other than the class names listed
153
- in §4 — the internal `load-*` mixins, file layout, and forward chain are
154
- free to change.
155
- - `foundation/core/engine/_fluid-core.scss` and any `_`-prefixed
156
- mixin/function anywhere in the tree (§3).
157
- - The internal cascade-layer wiring (`_layer-order.scss`) and the fact that
158
- it must forward first — an implementation detail of how layers get their
159
- order, not something consumers should depend on directly.
160
- - `scripts/*.mjs` (token/cheatsheet generators, and the compile-matrix test
161
- suite) — tooling, not shipped API.
162
- - File/folder structure inside `foundation/` beyond the two entry points —
163
- files may be split, merged, or moved as long as the public mixins,
164
- functions, classes, and tokens above keep working identically.
165
-
166
- ## 8. Versioning commitment
167
-
168
- Starting at `1.0.0`: no breaking change to anything in §1–§6 without a major
169
- version bump. A breaking change is any of — a public mixin/function being
170
- renamed, removed, or changing its required arguments; a public class being
171
- renamed or removed; a public CSS custom property being renamed, removed, or
172
- changing what it resolves to for the same config; a config variable's name,
173
- accepted values, or default changing. Adding new mixins, functions, classes,
174
- tokens, or config keys is a minor release. Bug fixes that don't change the
175
- above are patch releases.
package/scss/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Stavros Kosmas Lazaris
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.