@kolkrabbi/kol-theme 0.60.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.
- package/kol-components-molecules.css +31 -0
- package/package.json +1 -1
|
@@ -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) {
|
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",
|