@helixui/library 3.1.0-next.66 → 3.1.0-next.67
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/hx-code-snippet/hx-code-snippet.styles.d.ts.map +1 -1
- package/dist/components/hx-code-snippet/index.js +1 -1
- package/dist/components/hx-rating/index.js +1 -1
- package/dist/components/hx-stat/index.js +1 -1
- package/dist/components/hx-status-indicator/index.js +1 -1
- package/dist/components/hx-steps/index.js +1 -1
- package/dist/components/hx-table/index.js +1 -1
- package/dist/components/hx-theme/hx-theme.d.ts.map +1 -1
- package/dist/components/hx-theme/index.js +1 -1
- package/dist/components/hx-toast/index.js +1 -1
- package/dist/css/helix-all.css +35 -32
- package/dist/css/helix-data.css +23 -20
- package/dist/css/helix-feedback.css +10 -10
- package/dist/css/helix-forms.css +2 -2
- package/dist/css/hx-code-snippet.css +18 -15
- package/dist/css/hx-rating.css +2 -2
- package/dist/css/hx-stat.css +3 -3
- package/dist/css/hx-status-indicator.css +1 -1
- package/dist/css/hx-table.css +5 -5
- package/dist/css/hx-toast.css +6 -6
- package/dist/css/index.css +1 -1
- package/dist/css/manifest.json +21 -18
- package/dist/index.js +8 -8
- package/dist/shared/{hx-code-snippet-B7wUKzyb.js → hx-code-snippet-DssubcYM.js} +27 -24
- package/dist/shared/hx-code-snippet-DssubcYM.js.map +1 -0
- package/dist/shared/{hx-rating-C3E3ENJb.js → hx-rating-BO9kl9pb.js} +33 -33
- package/dist/shared/hx-rating-BO9kl9pb.js.map +1 -0
- package/dist/shared/{hx-stat-BTpykQAt.js → hx-stat-DTRyLF3a.js} +8 -8
- package/dist/shared/{hx-stat-BTpykQAt.js.map → hx-stat-DTRyLF3a.js.map} +1 -1
- package/dist/shared/{hx-status-indicator-X2QEWNFt.js → hx-status-indicator-DIGRGM2G.js} +6 -6
- package/dist/shared/{hx-status-indicator-X2QEWNFt.js.map → hx-status-indicator-DIGRGM2G.js.map} +1 -1
- package/dist/shared/{hx-step-CRNQlmSo.js → hx-step-D15gtcLm.js} +33 -33
- package/dist/shared/hx-step-D15gtcLm.js.map +1 -0
- package/dist/shared/{hx-td-Bra35cH4.js → hx-td-B737T0_c.js} +45 -45
- package/dist/shared/hx-td-B737T0_c.js.map +1 -0
- package/dist/shared/{hx-theme-DP4oPU1i.js → hx-theme-BiyQ7UUK.js} +3 -1
- package/dist/shared/hx-theme-BiyQ7UUK.js.map +1 -0
- package/dist/shared/{toast-factory-BPPnG3mM.js → toast-factory-M373dTcz.js} +28 -28
- package/dist/shared/toast-factory-M373dTcz.js.map +1 -0
- package/package.json +2 -2
- package/dist/shared/hx-code-snippet-B7wUKzyb.js.map +0 -1
- package/dist/shared/hx-rating-C3E3ENJb.js.map +0 -1
- package/dist/shared/hx-step-CRNQlmSo.js.map +0 -1
- package/dist/shared/hx-td-Bra35cH4.js.map +0 -1
- package/dist/shared/hx-theme-DP4oPU1i.js.map +0 -1
- package/dist/shared/toast-factory-BPPnG3mM.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-code-snippet.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-code-snippet/hx-code-snippet.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"hx-code-snippet.styles.d.ts","sourceRoot":"","sources":["../../../src/components/hx-code-snippet/hx-code-snippet.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBA4MlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hx-theme.d.ts","sourceRoot":"","sources":["../../../src/components/hx-theme/hx-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"hx-theme.d.ts","sourceRoot":"","sources":["../../../src/components/hx-theme/hx-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAChD,OAAO,4CAA4C,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKnD,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,GAAG,MAAM,CAAC;AAqLpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,qBACa,UAAW,SAAQ,YAAY;IAC1C,OAAgB,MAAM,4BAAsB;IAE5C;;;;;;;OAOG;IAEH,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,eAAe,GAAG,MAAM,CAAW;IAK7D;;;;;;;;;;;;;;;;;OAiBG;IAEH,KAAK,SAAM;IAEX;;;;;;;;;;;OAWG;IAEH,MAAM,EAAE,UAAU,CAAU;IAE5B;;;;;;OAMG;IAEH,OAAO,EAAE,WAAW,CAAiB;IAErC,gBAAgB;IAChB,OAAO,CAAC,WAAW,CAA+B;IAClD,gBAAgB;IAChB,OAAO,CAAC,aAAa,CAA6B;IAClD,gBAAgB;IAChB,OAAO,CAAC,WAAW,CAA8B;IACjD,gBAAgB;IAChB,OAAO,CAAC,aAAa,CAA8B;IACnD,4DAA4D;IAC5D,OAAO,CAAC,YAAY,CAA+B;IACnD,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAA6B;IAE1C,YAAY,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAWjD,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IA2B5C,oBAAoB,IAAI,IAAI;IAMrC;;;;OAIG;IACH,IAAI,cAAc,IAAI,OAAO,GAAG,MAAM,GAAG,eAAe,GAAG,MAAM,CAMhE;IAED;;;;OAIG;IACH,IAAI,eAAe,IAAI,MAAM,GAAG,SAAS,CASxC;IAED,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAcvB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAUzB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAQzB,+EAA+E;IAC/E,OAAO,CAAC,kBAAkB;IAS1B,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAQ1B,+EAA+E;IAC/E,OAAO,CAAC,oBAAoB;IAO5B,gBAAgB;IAChB,OAAO,CAAC,oBAAoB;IAyB5B,gBAAgB;IAChB,OAAO,CAAC,aAAa;IAcZ,MAAM;CAQhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,UAAU,CAAC;KACxB;CACF;AAED,6FAA6F;AAC7F,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC"}
|
package/dist/css/helix-all.css
CHANGED
|
@@ -2504,8 +2504,8 @@
|
|
|
2504
2504
|
display: inline;
|
|
2505
2505
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-mono, monospace));
|
|
2506
2506
|
font-size: var(--hx-code-snippet-font-size, var(--hx-font-size-sm, 0.875em));
|
|
2507
|
-
background-color: var(--hx-code-snippet-inline-bg, var(--hx-color-
|
|
2508
|
-
color: var(--hx-code-snippet-inline-color, var(--hx-color-
|
|
2507
|
+
background-color: var(--hx-code-snippet-inline-bg, var(--hx-color-surface-sunken, #f1f5f9));
|
|
2508
|
+
color: var(--hx-code-snippet-inline-color, var(--hx-color-text-primary, #0f172a));
|
|
2509
2509
|
padding: var(--hx-code-snippet-inline-padding-y, 0.125em)
|
|
2510
2510
|
var(--hx-code-snippet-inline-padding-x, 0.375em);
|
|
2511
2511
|
border-radius: var(--hx-code-snippet-border-radius, var(--hx-border-radius-sm, 0.25rem));
|
|
@@ -2515,7 +2515,7 @@
|
|
|
2515
2515
|
|
|
2516
2516
|
.code-snippet {
|
|
2517
2517
|
position: relative;
|
|
2518
|
-
background-color: var(--hx-code-snippet-bg, var(--hx-color-
|
|
2518
|
+
background-color: var(--hx-code-snippet-bg, var(--hx-color-surface-inverse, #0f172a));
|
|
2519
2519
|
border-radius: var(--hx-code-snippet-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
2520
2520
|
overflow: hidden;
|
|
2521
2521
|
}
|
|
@@ -2555,7 +2555,7 @@
|
|
|
2555
2555
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-mono, monospace));
|
|
2556
2556
|
font-size: var(--hx-code-snippet-font-size, var(--hx-font-size-sm, 0.875rem));
|
|
2557
2557
|
line-height: var(--hx-line-height-relaxed, 1.75);
|
|
2558
|
-
color: var(--hx-code-snippet-color, var(--hx-color-
|
|
2558
|
+
color: var(--hx-code-snippet-color, var(--hx-color-text-inverse, #ffffff));
|
|
2559
2559
|
tab-size: var(--hx-code-snippet-tab-size, 2);
|
|
2560
2560
|
}
|
|
2561
2561
|
|
|
@@ -2569,10 +2569,11 @@
|
|
|
2569
2569
|
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
2570
2570
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
2571
2571
|
padding: var(--hx-space-1, 0.25rem) var(--hx-space-2, 0.5rem);
|
|
2572
|
-
border: var(--hx-border-width-thin, 1px) solid var(--hx-color-
|
|
2572
|
+
border: var(--hx-border-width-thin, 1px) solid var(--hx-color-border-strong, #94a3b8);
|
|
2573
2573
|
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
2574
|
-
|
|
2575
|
-
color: var(--hx-color-
|
|
2574
|
+
/* Copy button sits on the always-dark block snippet surface; uses inverse family for contrast on the terminal background. */
|
|
2575
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
2576
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
2576
2577
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-sans, sans-serif));
|
|
2577
2578
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
2578
2579
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
@@ -2587,8 +2588,9 @@
|
|
|
2587
2588
|
}
|
|
2588
2589
|
|
|
2589
2590
|
.code-snippet__copy-button:hover {
|
|
2590
|
-
|
|
2591
|
-
|
|
2591
|
+
/* Hover on inverse terminal surface — keep semantic inverse family; border lifts via border-default in inverse context. */
|
|
2592
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
2593
|
+
border-color: var(--hx-color-border-default, #e2e8f0);
|
|
2592
2594
|
}
|
|
2593
2595
|
|
|
2594
2596
|
.code-snippet__copy-button:focus-visible {
|
|
@@ -2612,9 +2614,10 @@
|
|
|
2612
2614
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
2613
2615
|
padding: var(--hx-space-2, 0.5rem) var(--hx-space-4, 1rem);
|
|
2614
2616
|
border: none;
|
|
2615
|
-
border-top: var(--hx-border-width-thin, 1px) solid var(--hx-color-
|
|
2616
|
-
|
|
2617
|
-
color: var(--hx-color-
|
|
2617
|
+
border-top: var(--hx-border-width-thin, 1px) solid var(--hx-color-border-strong, #94a3b8);
|
|
2618
|
+
/* Expand button is attached to the always-dark block snippet — inverse family maintains the terminal aesthetic. */
|
|
2619
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
2620
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
2618
2621
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-sans, sans-serif));
|
|
2619
2622
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
2620
2623
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
@@ -2624,8 +2627,8 @@
|
|
|
2624
2627
|
}
|
|
2625
2628
|
|
|
2626
2629
|
.code-snippet__expand-button:hover {
|
|
2627
|
-
background-color: var(--hx-color-
|
|
2628
|
-
color: var(--hx-color-
|
|
2630
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
2631
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
2629
2632
|
}
|
|
2630
2633
|
|
|
2631
2634
|
.code-snippet__expand-button:focus-visible {
|
|
@@ -2640,7 +2643,7 @@
|
|
|
2640
2643
|
display: inline-block;
|
|
2641
2644
|
min-width: var(--hx-space-8, 2rem);
|
|
2642
2645
|
padding-inline-end: var(--hx-space-3, 0.75rem);
|
|
2643
|
-
color: var(--hx-code-snippet-line-number-color, var(--hx-color-
|
|
2646
|
+
color: var(--hx-code-snippet-line-number-color, var(--hx-color-text-muted, #64748b));
|
|
2644
2647
|
user-select: none;
|
|
2645
2648
|
text-align: end;
|
|
2646
2649
|
}
|
|
@@ -8000,7 +8003,7 @@ export const helixGridItemStyles = css`
|
|
|
8000
8003
|
justify-content: center;
|
|
8001
8004
|
position: relative;
|
|
8002
8005
|
cursor: pointer;
|
|
8003
|
-
color: var(--hx-rating-empty-color, var(--hx-color-
|
|
8006
|
+
color: var(--hx-rating-empty-color, var(--hx-color-border-strong, #cbd5e1));
|
|
8004
8007
|
line-height: 1;
|
|
8005
8008
|
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
8006
8009
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
@@ -8051,7 +8054,7 @@ export const helixGridItemStyles = css`
|
|
|
8051
8054
|
position: absolute;
|
|
8052
8055
|
left: 0;
|
|
8053
8056
|
top: 0;
|
|
8054
|
-
color: var(--hx-rating-empty-color, var(--hx-color-
|
|
8057
|
+
color: var(--hx-rating-empty-color, var(--hx-color-border-strong, #cbd5e1));
|
|
8055
8058
|
/* Clip to right 50% for the empty half */
|
|
8056
8059
|
clip-path: inset(0 0 0 50%);
|
|
8057
8060
|
}
|
|
@@ -9819,7 +9822,7 @@ export const helixGridItemStyles = css`
|
|
|
9819
9822
|
flex-direction: column;
|
|
9820
9823
|
gap: var(--hx-stat-gap, var(--hx-space-1, 0.25rem));
|
|
9821
9824
|
font-family: var(--hx-stat-font-family, var(--hx-font-family-sans, sans-serif));
|
|
9822
|
-
color: var(--hx-stat-color, var(--hx-color-
|
|
9825
|
+
color: var(--hx-stat-color, var(--hx-color-text-strong, #1e293b));
|
|
9823
9826
|
}
|
|
9824
9827
|
|
|
9825
9828
|
/* ─── Size Variants ─── */
|
|
@@ -9863,13 +9866,13 @@ export const helixGridItemStyles = css`
|
|
|
9863
9866
|
}
|
|
9864
9867
|
|
|
9865
9868
|
.stat__value {
|
|
9866
|
-
color: var(--hx-stat-value-color, var(--hx-color-
|
|
9869
|
+
color: var(--hx-stat-value-color, var(--hx-color-text-primary, #0f172a));
|
|
9867
9870
|
}
|
|
9868
9871
|
|
|
9869
9872
|
/* ─── Label ─── */
|
|
9870
9873
|
|
|
9871
9874
|
.stat__label {
|
|
9872
|
-
color: var(--hx-stat-label-color, var(--hx-color-
|
|
9875
|
+
color: var(--hx-stat-label-color, var(--hx-color-text-muted, #64748b));
|
|
9873
9876
|
font-weight: var(--hx-font-weight-normal, 400);
|
|
9874
9877
|
}
|
|
9875
9878
|
|
|
@@ -10034,7 +10037,7 @@ export const helixGridItemStyles = css`
|
|
|
10034
10037
|
--hx-status-indicator-label-font-size,
|
|
10035
10038
|
var(--hx-font-size-sm, var(--hx-text-sm, 0.875rem))
|
|
10036
10039
|
);
|
|
10037
|
-
color: var(--hx-status-indicator-label-color, var(--hx-color-
|
|
10040
|
+
color: var(--hx-status-indicator-label-color, var(--hx-color-text-strong, #334155));
|
|
10038
10041
|
line-height: 1;
|
|
10039
10042
|
white-space: nowrap;
|
|
10040
10043
|
}
|
|
@@ -10535,7 +10538,7 @@ export const helixStructuredListRowStyles = css`
|
|
|
10535
10538
|
text-align: start;
|
|
10536
10539
|
padding: var(--hx-space-2, 0.5rem) var(--hx-space-4, 1rem);
|
|
10537
10540
|
font-weight: var(--hx-font-weight-semibold, 600);
|
|
10538
|
-
color: var(--hx-table-header-color, var(--hx-color-
|
|
10541
|
+
color: var(--hx-table-header-color, var(--hx-color-text-strong, #1e293b));
|
|
10539
10542
|
font-size: var(--hx-font-size-md, 1rem);
|
|
10540
10543
|
}
|
|
10541
10544
|
|
|
@@ -10551,12 +10554,12 @@ export const helixStructuredListRowStyles = css`
|
|
|
10551
10554
|
|
|
10552
10555
|
/* Header background via CSS vars that cascade through display:contents */
|
|
10553
10556
|
::slotted(hx-thead) {
|
|
10554
|
-
--_hx-table-cell-bg: var(--hx-table-header-bg, var(--hx-color-
|
|
10557
|
+
--_hx-table-cell-bg: var(--hx-table-header-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
10555
10558
|
}
|
|
10556
10559
|
|
|
10557
10560
|
/* Striped variant: set stripe signal on hx-tbody (direct slotted child) so hx-tbody can apply to even rows */
|
|
10558
10561
|
:host([variant='striped']) ::slotted(hx-tbody) {
|
|
10559
|
-
--_hx-table-row-stripe-bg: var(--hx-table-stripe-bg, var(--hx-color-
|
|
10562
|
+
--_hx-table-row-stripe-bg: var(--hx-table-stripe-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
10560
10563
|
}
|
|
10561
10564
|
|
|
10562
10565
|
/* Hover variant: set hover bg variable on direct slotted section elements */
|
|
@@ -10566,7 +10569,7 @@ export const helixStructuredListRowStyles = css`
|
|
|
10566
10569
|
:host([variant='striped']) ::slotted(hx-thead),
|
|
10567
10570
|
:host([variant='default']) ::slotted(hx-tbody),
|
|
10568
10571
|
:host([variant='default']) ::slotted(hx-thead) {
|
|
10569
|
-
--_hx-table-row-hover-bg: var(--hx-table-row-hover-bg, var(--hx-color-
|
|
10572
|
+
--_hx-table-row-hover-bg: var(--hx-table-row-hover-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
10570
10573
|
}
|
|
10571
10574
|
|
|
10572
10575
|
/* Compact variant: reduced padding signal set on section elements that cascade to cells */
|
|
@@ -10582,7 +10585,7 @@ export const helixStructuredListRowStyles = css`
|
|
|
10582
10585
|
--_hx-table-th-position: sticky;
|
|
10583
10586
|
--_hx-table-th-top: 0;
|
|
10584
10587
|
--_hx-table-th-z-index: 1;
|
|
10585
|
-
--_hx-table-th-bg: var(--hx-table-header-bg, var(--hx-color-
|
|
10588
|
+
--_hx-table-th-bg: var(--hx-table-header-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
10586
10589
|
}
|
|
10587
10590
|
|
|
10588
10591
|
/* ─── Focus ─── */
|
|
@@ -11857,8 +11860,8 @@ export const helixTableSectionBaseStyles = css`
|
|
|
11857
11860
|
gap: var(--hx-space-3, 0.75rem);
|
|
11858
11861
|
padding: var(--hx-space-3, 0.75rem) var(--hx-space-4, 1rem);
|
|
11859
11862
|
border-radius: var(--hx-toast-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
11860
|
-
background-color: var(--hx-toast-bg, var(--hx-color-
|
|
11861
|
-
color: var(--hx-toast-color, var(--hx-color-
|
|
11863
|
+
background-color: var(--hx-toast-bg, var(--hx-color-surface-inverse, #0f172a));
|
|
11864
|
+
color: var(--hx-toast-color, var(--hx-color-text-inverse, #ffffff));
|
|
11862
11865
|
font-family: var(--hx-toast-font-family, var(--hx-font-family-sans, sans-serif));
|
|
11863
11866
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
11864
11867
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
@@ -11885,22 +11888,22 @@ export const helixTableSectionBaseStyles = css`
|
|
|
11885
11888
|
|
|
11886
11889
|
.toast--success {
|
|
11887
11890
|
--hx-toast-bg: var(--hx-color-success-600, #15803d);
|
|
11888
|
-
--hx-toast-color: var(--hx-color-
|
|
11891
|
+
--hx-toast-color: var(--hx-color-text-on-success, #ffffff);
|
|
11889
11892
|
}
|
|
11890
11893
|
|
|
11891
11894
|
.toast--warning {
|
|
11892
11895
|
--hx-toast-bg: var(--hx-color-warning-500, #d97706);
|
|
11893
|
-
--hx-toast-color: var(--hx-color-
|
|
11896
|
+
--hx-toast-color: var(--hx-color-text-on-warning, #0f172a);
|
|
11894
11897
|
}
|
|
11895
11898
|
|
|
11896
11899
|
.toast--danger {
|
|
11897
11900
|
--hx-toast-bg: var(--hx-color-error-600, #b91c1c);
|
|
11898
|
-
--hx-toast-color: var(--hx-color-
|
|
11901
|
+
--hx-toast-color: var(--hx-color-text-on-error, #ffffff);
|
|
11899
11902
|
}
|
|
11900
11903
|
|
|
11901
11904
|
.toast--info {
|
|
11902
11905
|
--hx-toast-bg: var(--hx-color-primary-600, #1d4ed8);
|
|
11903
|
-
--hx-toast-color: var(--hx-color-
|
|
11906
|
+
--hx-toast-color: var(--hx-color-text-on-primary, #ffffff);
|
|
11904
11907
|
}
|
|
11905
11908
|
|
|
11906
11909
|
/* ─── Severity Label (WCAG 1.4.1) ─── */
|
package/dist/css/helix-data.css
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
display: inline;
|
|
16
16
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-mono, monospace));
|
|
17
17
|
font-size: var(--hx-code-snippet-font-size, var(--hx-font-size-sm, 0.875em));
|
|
18
|
-
background-color: var(--hx-code-snippet-inline-bg, var(--hx-color-
|
|
19
|
-
color: var(--hx-code-snippet-inline-color, var(--hx-color-
|
|
18
|
+
background-color: var(--hx-code-snippet-inline-bg, var(--hx-color-surface-sunken, #f1f5f9));
|
|
19
|
+
color: var(--hx-code-snippet-inline-color, var(--hx-color-text-primary, #0f172a));
|
|
20
20
|
padding: var(--hx-code-snippet-inline-padding-y, 0.125em)
|
|
21
21
|
var(--hx-code-snippet-inline-padding-x, 0.375em);
|
|
22
22
|
border-radius: var(--hx-code-snippet-border-radius, var(--hx-border-radius-sm, 0.25rem));
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
.code-snippet {
|
|
28
28
|
position: relative;
|
|
29
|
-
background-color: var(--hx-code-snippet-bg, var(--hx-color-
|
|
29
|
+
background-color: var(--hx-code-snippet-bg, var(--hx-color-surface-inverse, #0f172a));
|
|
30
30
|
border-radius: var(--hx-code-snippet-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
31
31
|
overflow: hidden;
|
|
32
32
|
}
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-mono, monospace));
|
|
67
67
|
font-size: var(--hx-code-snippet-font-size, var(--hx-font-size-sm, 0.875rem));
|
|
68
68
|
line-height: var(--hx-line-height-relaxed, 1.75);
|
|
69
|
-
color: var(--hx-code-snippet-color, var(--hx-color-
|
|
69
|
+
color: var(--hx-code-snippet-color, var(--hx-color-text-inverse, #ffffff));
|
|
70
70
|
tab-size: var(--hx-code-snippet-tab-size, 2);
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -80,10 +80,11 @@
|
|
|
80
80
|
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
81
81
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
82
82
|
padding: var(--hx-space-1, 0.25rem) var(--hx-space-2, 0.5rem);
|
|
83
|
-
border: var(--hx-border-width-thin, 1px) solid var(--hx-color-
|
|
83
|
+
border: var(--hx-border-width-thin, 1px) solid var(--hx-color-border-strong, #94a3b8);
|
|
84
84
|
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
85
|
-
|
|
86
|
-
color: var(--hx-color-
|
|
85
|
+
/* Copy button sits on the always-dark block snippet surface; uses inverse family for contrast on the terminal background. */
|
|
86
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
87
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
87
88
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-sans, sans-serif));
|
|
88
89
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
89
90
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
@@ -98,8 +99,9 @@
|
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
.code-snippet__copy-button:hover {
|
|
101
|
-
|
|
102
|
-
|
|
102
|
+
/* Hover on inverse terminal surface — keep semantic inverse family; border lifts via border-default in inverse context. */
|
|
103
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
104
|
+
border-color: var(--hx-color-border-default, #e2e8f0);
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
.code-snippet__copy-button:focus-visible {
|
|
@@ -123,9 +125,10 @@
|
|
|
123
125
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
124
126
|
padding: var(--hx-space-2, 0.5rem) var(--hx-space-4, 1rem);
|
|
125
127
|
border: none;
|
|
126
|
-
border-top: var(--hx-border-width-thin, 1px) solid var(--hx-color-
|
|
127
|
-
|
|
128
|
-
color: var(--hx-color-
|
|
128
|
+
border-top: var(--hx-border-width-thin, 1px) solid var(--hx-color-border-strong, #94a3b8);
|
|
129
|
+
/* Expand button is attached to the always-dark block snippet — inverse family maintains the terminal aesthetic. */
|
|
130
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
131
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
129
132
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-sans, sans-serif));
|
|
130
133
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
131
134
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
@@ -135,8 +138,8 @@
|
|
|
135
138
|
}
|
|
136
139
|
|
|
137
140
|
.code-snippet__expand-button:hover {
|
|
138
|
-
background-color: var(--hx-color-
|
|
139
|
-
color: var(--hx-color-
|
|
141
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
142
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
140
143
|
}
|
|
141
144
|
|
|
142
145
|
.code-snippet__expand-button:focus-visible {
|
|
@@ -151,7 +154,7 @@
|
|
|
151
154
|
display: inline-block;
|
|
152
155
|
min-width: var(--hx-space-8, 2rem);
|
|
153
156
|
padding-inline-end: var(--hx-space-3, 0.75rem);
|
|
154
|
-
color: var(--hx-code-snippet-line-number-color, var(--hx-color-
|
|
157
|
+
color: var(--hx-code-snippet-line-number-color, var(--hx-color-text-muted, #64748b));
|
|
155
158
|
user-select: none;
|
|
156
159
|
text-align: end;
|
|
157
160
|
}
|
|
@@ -614,7 +617,7 @@ export const helixStructuredListRowStyles = css`
|
|
|
614
617
|
text-align: start;
|
|
615
618
|
padding: var(--hx-space-2, 0.5rem) var(--hx-space-4, 1rem);
|
|
616
619
|
font-weight: var(--hx-font-weight-semibold, 600);
|
|
617
|
-
color: var(--hx-table-header-color, var(--hx-color-
|
|
620
|
+
color: var(--hx-table-header-color, var(--hx-color-text-strong, #1e293b));
|
|
618
621
|
font-size: var(--hx-font-size-md, 1rem);
|
|
619
622
|
}
|
|
620
623
|
|
|
@@ -630,12 +633,12 @@ export const helixStructuredListRowStyles = css`
|
|
|
630
633
|
|
|
631
634
|
/* Header background via CSS vars that cascade through display:contents */
|
|
632
635
|
::slotted(hx-thead) {
|
|
633
|
-
--_hx-table-cell-bg: var(--hx-table-header-bg, var(--hx-color-
|
|
636
|
+
--_hx-table-cell-bg: var(--hx-table-header-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
634
637
|
}
|
|
635
638
|
|
|
636
639
|
/* Striped variant: set stripe signal on hx-tbody (direct slotted child) so hx-tbody can apply to even rows */
|
|
637
640
|
:host([variant='striped']) ::slotted(hx-tbody) {
|
|
638
|
-
--_hx-table-row-stripe-bg: var(--hx-table-stripe-bg, var(--hx-color-
|
|
641
|
+
--_hx-table-row-stripe-bg: var(--hx-table-stripe-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
639
642
|
}
|
|
640
643
|
|
|
641
644
|
/* Hover variant: set hover bg variable on direct slotted section elements */
|
|
@@ -645,7 +648,7 @@ export const helixStructuredListRowStyles = css`
|
|
|
645
648
|
:host([variant='striped']) ::slotted(hx-thead),
|
|
646
649
|
:host([variant='default']) ::slotted(hx-tbody),
|
|
647
650
|
:host([variant='default']) ::slotted(hx-thead) {
|
|
648
|
-
--_hx-table-row-hover-bg: var(--hx-table-row-hover-bg, var(--hx-color-
|
|
651
|
+
--_hx-table-row-hover-bg: var(--hx-table-row-hover-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
649
652
|
}
|
|
650
653
|
|
|
651
654
|
/* Compact variant: reduced padding signal set on section elements that cascade to cells */
|
|
@@ -661,7 +664,7 @@ export const helixStructuredListRowStyles = css`
|
|
|
661
664
|
--_hx-table-th-position: sticky;
|
|
662
665
|
--_hx-table-th-top: 0;
|
|
663
666
|
--_hx-table-th-z-index: 1;
|
|
664
|
-
--_hx-table-th-bg: var(--hx-table-header-bg, var(--hx-color-
|
|
667
|
+
--_hx-table-th-bg: var(--hx-table-header-bg, var(--hx-color-surface-raised, #f8fafc));
|
|
665
668
|
}
|
|
666
669
|
|
|
667
670
|
/* ─── Focus ─── */
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
flex-direction: column;
|
|
889
889
|
gap: var(--hx-stat-gap, var(--hx-space-1, 0.25rem));
|
|
890
890
|
font-family: var(--hx-stat-font-family, var(--hx-font-family-sans, sans-serif));
|
|
891
|
-
color: var(--hx-stat-color, var(--hx-color-
|
|
891
|
+
color: var(--hx-stat-color, var(--hx-color-text-strong, #1e293b));
|
|
892
892
|
}
|
|
893
893
|
|
|
894
894
|
/* ─── Size Variants ─── */
|
|
@@ -932,13 +932,13 @@
|
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
.stat__value {
|
|
935
|
-
color: var(--hx-stat-value-color, var(--hx-color-
|
|
935
|
+
color: var(--hx-stat-value-color, var(--hx-color-text-primary, #0f172a));
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
/* ─── Label ─── */
|
|
939
939
|
|
|
940
940
|
.stat__label {
|
|
941
|
-
color: var(--hx-stat-label-color, var(--hx-color-
|
|
941
|
+
color: var(--hx-stat-label-color, var(--hx-color-text-muted, #64748b));
|
|
942
942
|
font-weight: var(--hx-font-weight-normal, 400);
|
|
943
943
|
}
|
|
944
944
|
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
--hx-status-indicator-label-font-size,
|
|
1104
1104
|
var(--hx-font-size-sm, var(--hx-text-sm, 0.875rem))
|
|
1105
1105
|
);
|
|
1106
|
-
color: var(--hx-status-indicator-label-color, var(--hx-color-
|
|
1106
|
+
color: var(--hx-status-indicator-label-color, var(--hx-color-text-strong, #334155));
|
|
1107
1107
|
line-height: 1;
|
|
1108
1108
|
white-space: nowrap;
|
|
1109
1109
|
}
|
|
@@ -1190,8 +1190,8 @@
|
|
|
1190
1190
|
gap: var(--hx-space-3, 0.75rem);
|
|
1191
1191
|
padding: var(--hx-space-3, 0.75rem) var(--hx-space-4, 1rem);
|
|
1192
1192
|
border-radius: var(--hx-toast-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
1193
|
-
background-color: var(--hx-toast-bg, var(--hx-color-
|
|
1194
|
-
color: var(--hx-toast-color, var(--hx-color-
|
|
1193
|
+
background-color: var(--hx-toast-bg, var(--hx-color-surface-inverse, #0f172a));
|
|
1194
|
+
color: var(--hx-toast-color, var(--hx-color-text-inverse, #ffffff));
|
|
1195
1195
|
font-family: var(--hx-toast-font-family, var(--hx-font-family-sans, sans-serif));
|
|
1196
1196
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
1197
1197
|
line-height: var(--hx-line-height-normal, 1.5);
|
|
@@ -1218,22 +1218,22 @@
|
|
|
1218
1218
|
|
|
1219
1219
|
.toast--success {
|
|
1220
1220
|
--hx-toast-bg: var(--hx-color-success-600, #15803d);
|
|
1221
|
-
--hx-toast-color: var(--hx-color-
|
|
1221
|
+
--hx-toast-color: var(--hx-color-text-on-success, #ffffff);
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
1224
|
.toast--warning {
|
|
1225
1225
|
--hx-toast-bg: var(--hx-color-warning-500, #d97706);
|
|
1226
|
-
--hx-toast-color: var(--hx-color-
|
|
1226
|
+
--hx-toast-color: var(--hx-color-text-on-warning, #0f172a);
|
|
1227
1227
|
}
|
|
1228
1228
|
|
|
1229
1229
|
.toast--danger {
|
|
1230
1230
|
--hx-toast-bg: var(--hx-color-error-600, #b91c1c);
|
|
1231
|
-
--hx-toast-color: var(--hx-color-
|
|
1231
|
+
--hx-toast-color: var(--hx-color-text-on-error, #ffffff);
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
1234
|
.toast--info {
|
|
1235
1235
|
--hx-toast-bg: var(--hx-color-primary-600, #1d4ed8);
|
|
1236
|
-
--hx-toast-color: var(--hx-color-
|
|
1236
|
+
--hx-toast-color: var(--hx-color-text-on-primary, #ffffff);
|
|
1237
1237
|
}
|
|
1238
1238
|
|
|
1239
1239
|
/* ─── Severity Label (WCAG 1.4.1) ─── */
|
package/dist/css/helix-forms.css
CHANGED
|
@@ -2537,7 +2537,7 @@
|
|
|
2537
2537
|
justify-content: center;
|
|
2538
2538
|
position: relative;
|
|
2539
2539
|
cursor: pointer;
|
|
2540
|
-
color: var(--hx-rating-empty-color, var(--hx-color-
|
|
2540
|
+
color: var(--hx-rating-empty-color, var(--hx-color-border-strong, #cbd5e1));
|
|
2541
2541
|
line-height: 1;
|
|
2542
2542
|
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
2543
2543
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
@@ -2588,7 +2588,7 @@
|
|
|
2588
2588
|
position: absolute;
|
|
2589
2589
|
left: 0;
|
|
2590
2590
|
top: 0;
|
|
2591
|
-
color: var(--hx-rating-empty-color, var(--hx-color-
|
|
2591
|
+
color: var(--hx-rating-empty-color, var(--hx-color-border-strong, #cbd5e1));
|
|
2592
2592
|
/* Clip to right 50% for the empty half */
|
|
2593
2593
|
clip-path: inset(0 0 0 50%);
|
|
2594
2594
|
}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
display: inline;
|
|
14
14
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-mono, monospace));
|
|
15
15
|
font-size: var(--hx-code-snippet-font-size, var(--hx-font-size-sm, 0.875em));
|
|
16
|
-
background-color: var(--hx-code-snippet-inline-bg, var(--hx-color-
|
|
17
|
-
color: var(--hx-code-snippet-inline-color, var(--hx-color-
|
|
16
|
+
background-color: var(--hx-code-snippet-inline-bg, var(--hx-color-surface-sunken, #f1f5f9));
|
|
17
|
+
color: var(--hx-code-snippet-inline-color, var(--hx-color-text-primary, #0f172a));
|
|
18
18
|
padding: var(--hx-code-snippet-inline-padding-y, 0.125em)
|
|
19
19
|
var(--hx-code-snippet-inline-padding-x, 0.375em);
|
|
20
20
|
border-radius: var(--hx-code-snippet-border-radius, var(--hx-border-radius-sm, 0.25rem));
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.code-snippet {
|
|
26
26
|
position: relative;
|
|
27
|
-
background-color: var(--hx-code-snippet-bg, var(--hx-color-
|
|
27
|
+
background-color: var(--hx-code-snippet-bg, var(--hx-color-surface-inverse, #0f172a));
|
|
28
28
|
border-radius: var(--hx-code-snippet-border-radius, var(--hx-border-radius-md, 0.375rem));
|
|
29
29
|
overflow: hidden;
|
|
30
30
|
}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-mono, monospace));
|
|
65
65
|
font-size: var(--hx-code-snippet-font-size, var(--hx-font-size-sm, 0.875rem));
|
|
66
66
|
line-height: var(--hx-line-height-relaxed, 1.75);
|
|
67
|
-
color: var(--hx-code-snippet-color, var(--hx-color-
|
|
67
|
+
color: var(--hx-code-snippet-color, var(--hx-color-text-inverse, #ffffff));
|
|
68
68
|
tab-size: var(--hx-code-snippet-tab-size, 2);
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -78,10 +78,11 @@
|
|
|
78
78
|
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
79
79
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
80
80
|
padding: var(--hx-space-1, 0.25rem) var(--hx-space-2, 0.5rem);
|
|
81
|
-
border: var(--hx-border-width-thin, 1px) solid var(--hx-color-
|
|
81
|
+
border: var(--hx-border-width-thin, 1px) solid var(--hx-color-border-strong, #94a3b8);
|
|
82
82
|
border-radius: var(--hx-border-radius-sm, 0.25rem);
|
|
83
|
-
|
|
84
|
-
color: var(--hx-color-
|
|
83
|
+
/* Copy button sits on the always-dark block snippet surface; uses inverse family for contrast on the terminal background. */
|
|
84
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
85
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
85
86
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-sans, sans-serif));
|
|
86
87
|
font-size: var(--hx-font-size-xs, 0.75rem);
|
|
87
88
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
@@ -96,8 +97,9 @@
|
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
.code-snippet__copy-button:hover {
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
/* Hover on inverse terminal surface — keep semantic inverse family; border lifts via border-default in inverse context. */
|
|
101
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
102
|
+
border-color: var(--hx-color-border-default, #e2e8f0);
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
.code-snippet__copy-button:focus-visible {
|
|
@@ -121,9 +123,10 @@
|
|
|
121
123
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
122
124
|
padding: var(--hx-space-2, 0.5rem) var(--hx-space-4, 1rem);
|
|
123
125
|
border: none;
|
|
124
|
-
border-top: var(--hx-border-width-thin, 1px) solid var(--hx-color-
|
|
125
|
-
|
|
126
|
-
color: var(--hx-color-
|
|
126
|
+
border-top: var(--hx-border-width-thin, 1px) solid var(--hx-color-border-strong, #94a3b8);
|
|
127
|
+
/* Expand button is attached to the always-dark block snippet — inverse family maintains the terminal aesthetic. */
|
|
128
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
129
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
127
130
|
font-family: var(--hx-code-snippet-font-family, var(--hx-font-family-sans, sans-serif));
|
|
128
131
|
font-size: var(--hx-font-size-sm, 0.875rem);
|
|
129
132
|
font-weight: var(--hx-font-weight-medium, 500);
|
|
@@ -133,8 +136,8 @@
|
|
|
133
136
|
}
|
|
134
137
|
|
|
135
138
|
.code-snippet__expand-button:hover {
|
|
136
|
-
background-color: var(--hx-color-
|
|
137
|
-
color: var(--hx-color-
|
|
139
|
+
background-color: var(--hx-color-surface-inverse, #0f172a);
|
|
140
|
+
color: var(--hx-color-text-inverse, #ffffff);
|
|
138
141
|
}
|
|
139
142
|
|
|
140
143
|
.code-snippet__expand-button:focus-visible {
|
|
@@ -149,7 +152,7 @@
|
|
|
149
152
|
display: inline-block;
|
|
150
153
|
min-width: var(--hx-space-8, 2rem);
|
|
151
154
|
padding-inline-end: var(--hx-space-3, 0.75rem);
|
|
152
|
-
color: var(--hx-code-snippet-line-number-color, var(--hx-color-
|
|
155
|
+
color: var(--hx-code-snippet-line-number-color, var(--hx-color-text-muted, #64748b));
|
|
153
156
|
user-select: none;
|
|
154
157
|
text-align: end;
|
|
155
158
|
}
|
package/dist/css/hx-rating.css
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
justify-content: center;
|
|
34
34
|
position: relative;
|
|
35
35
|
cursor: pointer;
|
|
36
|
-
color: var(--hx-rating-empty-color, var(--hx-color-
|
|
36
|
+
color: var(--hx-rating-empty-color, var(--hx-color-border-strong, #cbd5e1));
|
|
37
37
|
line-height: 1;
|
|
38
38
|
min-width: var(--hx-touch-target-min, 2.75rem);
|
|
39
39
|
min-height: var(--hx-touch-target-min, 2.75rem);
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
position: absolute;
|
|
85
85
|
left: 0;
|
|
86
86
|
top: 0;
|
|
87
|
-
color: var(--hx-rating-empty-color, var(--hx-color-
|
|
87
|
+
color: var(--hx-rating-empty-color, var(--hx-color-border-strong, #cbd5e1));
|
|
88
88
|
/* Clip to right 50% for the empty half */
|
|
89
89
|
clip-path: inset(0 0 0 50%);
|
|
90
90
|
}
|
package/dist/css/hx-stat.css
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
gap: var(--hx-stat-gap, var(--hx-space-1, 0.25rem));
|
|
10
10
|
font-family: var(--hx-stat-font-family, var(--hx-font-family-sans, sans-serif));
|
|
11
|
-
color: var(--hx-stat-color, var(--hx-color-
|
|
11
|
+
color: var(--hx-stat-color, var(--hx-color-text-strong, #1e293b));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/* ─── Size Variants ─── */
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.stat__value {
|
|
55
|
-
color: var(--hx-stat-value-color, var(--hx-color-
|
|
55
|
+
color: var(--hx-stat-value-color, var(--hx-color-text-primary, #0f172a));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/* ─── Label ─── */
|
|
59
59
|
|
|
60
60
|
.stat__label {
|
|
61
|
-
color: var(--hx-stat-label-color, var(--hx-color-
|
|
61
|
+
color: var(--hx-stat-label-color, var(--hx-color-text-muted, #64748b));
|
|
62
62
|
font-weight: var(--hx-font-weight-normal, 400);
|
|
63
63
|
}
|
|
64
64
|
|