@kolkrabbi/kol-theme 0.59.0 → 0.61.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.
|
@@ -1039,6 +1039,37 @@
|
|
|
1039
1039
|
.group:hover .kol-media-zoom > video {
|
|
1040
1040
|
transform: scale(1.06);
|
|
1041
1041
|
}
|
|
1042
|
+
/* the HERO rung (StackCardHover, 2026-08-27 — user: "that is TOO MUCH
|
|
1043
|
+
* ZOOM"): 1.06 on a ~1500px featured thumb is 90px of travel where the
|
|
1044
|
+
* 500px list thumbs move 30. 1.02 on the hero is the same pixel travel.
|
|
1045
|
+
* `ListingCard size="hero"` wears it; ContentMedia takes zoom="hero". */
|
|
1046
|
+
.group:hover .kol-media-zoom.is-hero > img,
|
|
1047
|
+
.group:hover .kol-media-zoom.is-hero > video {
|
|
1048
|
+
transform: scale(1.02);
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
/* ─────────────────────────────────────────────────────────────────────
|
|
1053
|
+
* ContentText — the title dim (StackCardHover, 2026-08-27)
|
|
1054
|
+
*
|
|
1055
|
+
* The article card's title dims to 70% on card hover, the way ListingCard's
|
|
1056
|
+
* always has (`group-hover:opacity-70`, 200ms) — so the featured hero and
|
|
1057
|
+
* the filtered cards under it hover the same way (user: "shouldn't it also
|
|
1058
|
+
* do it to the cards in the content filter?"). Keyed off the CARD / ROW
|
|
1059
|
+
* root, not any `.group` ancestor. ContentText stamps the hook on the
|
|
1060
|
+
* article title in both forms.
|
|
1061
|
+
* ───────────────────────────────────────────────────────────────────── */
|
|
1062
|
+
.kol-content-title-dim {
|
|
1063
|
+
transition: opacity 200ms var(--kol-ease-house);
|
|
1064
|
+
}
|
|
1065
|
+
@media (hover: hover) {
|
|
1066
|
+
.kol-card:hover .kol-content-title-dim,
|
|
1067
|
+
.kol-row:hover .kol-content-title-dim {
|
|
1068
|
+
opacity: 0.7;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1072
|
+
.kol-content-title-dim { transition: none; }
|
|
1042
1073
|
}
|
|
1043
1074
|
|
|
1044
1075
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -321,13 +321,19 @@
|
|
|
321
321
|
color: var(--kol-accent-primary);
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
+
/* the section family's body voice is MONO (SectionTextBodyMono, kol-website
|
|
325
|
+
* 2026-08-27 — user: "I don't want the sans anywhere, I want the text on the
|
|
326
|
+
* cards to default mono, with props to change it if I feel like it"). Was
|
|
327
|
+
* sans 16 / 1.6; now the mono-16 rung (16 / 22) — the section scale, where the
|
|
328
|
+
* Stack hero's lede already sat. Sans is opt-in through `bodyClass` /
|
|
329
|
+
* `slotClass`. The 72% ink is unchanged. */
|
|
324
330
|
.kol-feature-split-body,
|
|
325
331
|
.kol-section-text-body {
|
|
326
332
|
margin: 0;
|
|
327
|
-
font-family: var(--kol-font-family-
|
|
333
|
+
font-family: var(--kol-font-family-mono);
|
|
328
334
|
font-weight: 400;
|
|
329
335
|
font-size: 16px;
|
|
330
|
-
line-height:
|
|
336
|
+
line-height: 22px;
|
|
331
337
|
color: color-mix(in srgb, var(--kol-surface-on-primary) 72%, transparent);
|
|
332
338
|
}
|
|
333
339
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.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",
|