@kolkrabbi/kol-theme 0.38.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.
|
@@ -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
|
*
|
|
@@ -349,7 +349,8 @@
|
|
|
349
349
|
text-align: left;
|
|
350
350
|
border-radius: 0px;
|
|
351
351
|
text-decoration: none;
|
|
352
|
-
|
|
352
|
+
/* fg-64 → fg-80 (ShellNavItemInk, user ruling 2026-08-12) */
|
|
353
|
+
color: var(--kol-fg-80);
|
|
353
354
|
cursor: pointer;
|
|
354
355
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
355
356
|
/* THE TEXT INDENT, named (2026-08-01). It was the last value of the padding
|
|
@@ -376,6 +377,9 @@
|
|
|
376
377
|
* role set ends up with call sites that do not know it exists. */
|
|
377
378
|
.shell-nav-item.is-active {
|
|
378
379
|
color: var(--kol-fg-emphasis);
|
|
380
|
+
/* where-you-are steps 100 → 300 in weight beside its emphasis ink
|
|
381
|
+
* (ShellNavItemInk, user ruling 2026-08-12) */
|
|
382
|
+
font-weight: 300;
|
|
379
383
|
}
|
|
380
384
|
|
|
381
385
|
/* THIS PAGE'S OWN ROW — brighter than the rest of the list (user ruling
|
|
@@ -387,7 +391,11 @@
|
|
|
387
391
|
* to live beside that rule. Same file, same specificity, declared later. */
|
|
388
392
|
.shell-nav-item--own {
|
|
389
393
|
color: var(--kol-fg-emphasis);
|
|
390
|
-
|
|
394
|
+
/* 500 → 300 (ShellNavItemInk, 2026-08-12): the --own tags block at 500 WAS
|
|
395
|
+
* the "one side light, one side medium" inconsistency — verified by
|
|
396
|
+
* computed-style probe: every non---own row in both rails rests at 100.
|
|
397
|
+
* Emphasis weight is now ONE step (300), shared with .is-active. */
|
|
398
|
+
font-weight: 300;
|
|
391
399
|
}
|
|
392
400
|
|
|
393
401
|
/* …AND THE REST STEP DOWN (user ruling 2026-08-01: *"no needs more"*). Raising
|
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",
|