@fusion.dev/helix-styles 0.145.0 → 0.147.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/dist/base.css CHANGED
@@ -459,7 +459,7 @@ helix-toggle::part(item) {
459
459
  block-size: var(--_toggle-height, auto);
460
460
  border: none;
461
461
  border-radius: var(--_toggle-radius, var(--helix-radii-sm));
462
- color: var(--helix-color-foreground-muted);
462
+ color: var(--toggle-item-color, var(--helix-color-foreground-muted));
463
463
  cursor: pointer;
464
464
  display: inline-flex;
465
465
  flex: 1 1 auto;
@@ -467,7 +467,7 @@ helix-toggle::part(item) {
467
467
  font-size: var(--helix-text-sm);
468
468
  font-weight: var(--helix-weight-medium);
469
469
  justify-content: center;
470
- padding-inline: var(--helix-space-sm);
470
+ padding-inline: var(--toggle-item-padding-inline, var(--helix-space-sm));
471
471
  text-decoration: none;
472
472
  background-color: transparent;
473
473
  transition:
@@ -484,10 +484,10 @@ helix-toggle-group helix-toggle::part(item):hover {
484
484
  }
485
485
  helix-toggle:state(selected)::part(item) {
486
486
  background-color: transparent;
487
- color: var(--helix-color-foreground);
487
+ color: var(--toggle-item-color-selected, var(--helix-color-foreground));
488
488
  }
489
489
  helix-toggle:state(pressed)::part(item) {
490
- color: var(--helix-color-foreground);
490
+ color: var(--toggle-item-color-selected, var(--helix-color-foreground));
491
491
  }
492
492
  helix-toggle[disabled]::part(item) {
493
493
  cursor: not-allowed;
@@ -501,13 +501,13 @@ helix-toggle[disabled]::part(item) {
501
501
  font-family: var(--helix-font-sans);
502
502
  block-size: 100%;
503
503
  min-block-size: var(--helix-size-control-sm);
504
- border-radius: var(--helix-radii-sm);
504
+ border-radius: var(--navigation-item-radius, var(--helix-radii-sm));
505
505
  color: var(--navigation-item-color, var(--helix-color-foreground-muted));
506
506
  display: inline-flex;
507
- font-size: var(--helix-text-sm);
508
- font-weight: var(--helix-weight-medium);
507
+ font-size: var(--navigation-item-font-size, var(--helix-text-sm));
508
+ font-weight: var(--navigation-item-font-weight, var(--helix-weight-medium));
509
509
  justify-content: center;
510
- padding-inline: var(--helix-space-sm);
510
+ padding-inline: var(--navigation-item-padding-inline, var(--helix-space-sm));
511
511
  text-decoration: none;
512
512
  transition:
513
513
  background-color var(--helix-duration-fast) var(--helix-easing-standard),
@@ -518,8 +518,45 @@ helix-toggle[disabled]::part(item) {
518
518
  justify-content: start;
519
519
  }
520
520
  :where([data-navigation-item], helix-navigation a):hover {
521
- background-color: color-mix(in oklab, var(--helix-color-foreground) 5%, transparent);
522
- color: var(--helix-color-foreground);
521
+ background-color: var(
522
+ --navigation-item-hover-background-color,
523
+ color-mix(in oklab, var(--helix-color-foreground) 5%, transparent)
524
+ );
525
+ color: var(--navigation-item-hover-color, var(--helix-color-foreground));
526
+ }
527
+ :where(helix-outline) :where(ul, ol) {
528
+ list-style: none;
529
+ margin: 0;
530
+ padding: 0;
531
+ }
532
+ :where(helix-outline) :where(ul, ol) :where(ul, ol) {
533
+ padding-inline-start: var(--outline-indent, var(--helix-space-sm));
534
+ }
535
+ :where(helix-outline) :where(li) > :where(a) {
536
+ border-radius: var(--outline-link-radius, var(--helix-radii-sm));
537
+ color: var(--outline-link-color, var(--helix-color-foreground-muted));
538
+ display: block;
539
+ font-size: var(--outline-link-font-size, var(--helix-text-xs));
540
+ font-weight: var(--helix-weight-medium);
541
+ line-height: var(--helix-leading-normal);
542
+ margin-inline-start: var(--outline-rail, var(--helix-space-2xs));
543
+ padding-block: var(--outline-link-padding-block, var(--helix-space-2xs));
544
+ padding-inline: var(--outline-link-padding-inline, var(--helix-space-sm));
545
+ text-decoration: none;
546
+ transition:
547
+ background-color var(--helix-duration-fast) var(--helix-easing-standard),
548
+ color var(--helix-duration-fast) var(--helix-easing-standard);
549
+ }
550
+ :where(helix-outline) :where(li) > :where(a):hover {
551
+ background-color: var(
552
+ --outline-link-hover-background-color,
553
+ color-mix(in oklab, var(--helix-color-foreground) 5%, transparent)
554
+ );
555
+ color: var(--outline-link-hover-color, var(--helix-color-foreground));
556
+ }
557
+ :where(helix-outline) :where(li) > :where(a[aria-current]) {
558
+ color: var(--outline-link-current-color, var(--helix-color-foreground));
559
+ font-weight: var(--outline-link-current-weight, var(--helix-weight-semibold));
523
560
  }
524
561
  [data-dock] {
525
562
  --_dock-inset: var(--helix-space-lg);
@@ -634,7 +671,7 @@ helix-toggle[disabled]::part(item) {
634
671
  }
635
672
  :where([data-navigation-item], helix-navigation a)[aria-current="page"] {
636
673
  color: var(--navigation-item-current-color, var(--helix-color-foreground));
637
- font-weight: var(--helix-weight-semibold);
674
+ font-weight: var(--navigation-item-current-font-weight, var(--helix-weight-semibold));
638
675
  }
639
676
  :where([data-navigation-item], helix-navigation a) {
640
677
  position: relative;
@@ -904,8 +941,7 @@ helix-toast:not([data-color-mode]) {
904
941
  color-mix(in oklab, var(--helix-color-primary) 32%, transparent)
905
942
  );
906
943
  }
907
- [data-hidden-visually],
908
- helix-skip-link:not(:focus-within) {
944
+ [data-hidden-visually] {
909
945
  block-size: 1px;
910
946
  border: var(--helix-space-none);
911
947
  clip-path: inset(50%);
package/dist/elements.css CHANGED
@@ -92,6 +92,7 @@ helix-number-input:not(:defined),
92
92
  helix-object-inspector:not(:defined),
93
93
  helix-option:not(:defined),
94
94
  helix-option-group:not(:defined),
95
+ helix-option-separator:not(:defined),
95
96
  helix-orb:not(:defined),
96
97
  helix-outline:not(:defined),
97
98
  helix-pagination:not(:defined),
@@ -254,6 +255,7 @@ helix-number-input[align],
254
255
  helix-object-inspector[align],
255
256
  helix-option[align],
256
257
  helix-option-group[align],
258
+ helix-option-separator[align],
257
259
  helix-orb[align],
258
260
  helix-outline[align],
259
261
  helix-pagination[align],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-styles",
3
3
  "description": "Design tokens and base layer. Pure CSS, no JavaScript.",
4
- "version": "0.145.0",
4
+ "version": "0.147.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {