@kolkrabbi/kol-theme 0.39.0 → 0.40.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/kol-components-molecules.css +19 -0
- package/kol-typography.css +7 -4
- package/package.json +1 -1
|
@@ -554,6 +554,25 @@
|
|
|
554
554
|
color: var(--kol-fg-emphasis);
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
+
/* ─────────────────────────────────────────────────────────────────────
|
|
558
|
+
* CardFeatureItem — hover zoom (CardFeatureHoverZoom, 2026-08-12)
|
|
559
|
+
* The card's VISUAL zooms slightly on card hover — not the card box —
|
|
560
|
+
* on the same 300ms clock as the existing border transition, so the two
|
|
561
|
+
* read as one state. Lives here, not in JSX utilities: motion chrome is
|
|
562
|
+
* DS CSS (the ComponentTailwindSourceTrap law, same day). The card's own
|
|
563
|
+
* overflow-hidden + radius clip the scale.
|
|
564
|
+
* ──────────────────────────────────────────────────────────────────── */
|
|
565
|
+
.kol-card-feature-visual {
|
|
566
|
+
transition: transform 300ms ease;
|
|
567
|
+
}
|
|
568
|
+
.kol-card-feature:hover .kol-card-feature-visual {
|
|
569
|
+
transform: scale(1.03);
|
|
570
|
+
}
|
|
571
|
+
@media (prefers-reduced-motion: reduce) {
|
|
572
|
+
.kol-card-feature-visual { transition: none; }
|
|
573
|
+
.kol-card-feature:hover .kol-card-feature-visual { transform: none; }
|
|
574
|
+
}
|
|
575
|
+
|
|
557
576
|
/* =============================================================================
|
|
558
577
|
* Color-doc widget chrome — ColorRamp · SpectrumGrid
|
|
559
578
|
*
|
package/kol-typography.css
CHANGED
|
@@ -883,9 +883,12 @@
|
|
|
883
883
|
}
|
|
884
884
|
|
|
885
885
|
/* =============================================================================
|
|
886
|
-
* HEADINGS — H1 sans Narrow,
|
|
887
|
-
* 01 = H1 anchor (matches prose H1).
|
|
888
|
-
*
|
|
886
|
+
* HEADINGS — H1+H2 sans Narrow, H3-H5 sans Compact, weight 500.
|
|
887
|
+
* 01 = H1 anchor (matches prose H1). The narrow/compact boundary moved down
|
|
888
|
+
* one rung 2026-08-12 (HeadingTwoNarrow, user ruling: "make heading-02 narrow
|
|
889
|
+
* not compact"). 03-06 use Compact for visual rhythm. The PROSE ramp is
|
|
890
|
+
* untouched — it deliberately skips heading-02. 06 token defined; class
|
|
891
|
+
* deferred until consumer.
|
|
889
892
|
* ============================================================================= */
|
|
890
893
|
|
|
891
894
|
.kol-sans-heading-01 {
|
|
@@ -896,7 +899,7 @@
|
|
|
896
899
|
}
|
|
897
900
|
|
|
898
901
|
.kol-sans-heading-02 {
|
|
899
|
-
font-family: var(--kol-font-family-sans-
|
|
902
|
+
font-family: var(--kol-font-family-sans-narrow);
|
|
900
903
|
font-size: var(--kol-text-heading-02);
|
|
901
904
|
line-height: 110%;
|
|
902
905
|
font-weight: 500;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "KOL (Kolkrabbi) design-system tokens + base CSS — brand-neutral. The canonical token/cascade layer every other KOL package and consumer builds on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|