@kolkrabbi/kol-theme 0.113.0 → 0.114.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-animation.css +8 -1
- package/package.json +1 -1
package/kol-animation.css
CHANGED
|
@@ -272,8 +272,15 @@
|
|
|
272
272
|
.kol-card-feature-visual {
|
|
273
273
|
transition: transform 300ms ease;
|
|
274
274
|
}
|
|
275
|
+
/* THE AMOUNT IS THE ARTWORK'S, NOT THE CARD'S (CardFeatureZoomScale,
|
|
276
|
+
* kol-website 2026-08-31). `1.03` was hardcoded here with no prop and no token:
|
|
277
|
+
* a good number on a dense photographic visual and INVISIBLE on a sparse one.
|
|
278
|
+
* Same component, same set, same page — line-art specimens on a white ground
|
|
279
|
+
* showed nothing at 3% while dark UI screenshots beside them read correctly.
|
|
280
|
+
* The card publishes `--kol-card-feature-zoom` from its `zoom` prop; 1.03 is
|
|
281
|
+
* the fallback, so nothing moves for anyone who does not set it. */
|
|
275
282
|
.kol-card-feature:hover .kol-card-feature-visual {
|
|
276
|
-
transform: scale(1.03);
|
|
283
|
+
transform: scale(var(--kol-card-feature-zoom, 1.03));
|
|
277
284
|
}
|
|
278
285
|
@media (prefers-reduced-motion: reduce) {
|
|
279
286
|
.kol-card-feature-visual { transition: none; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.114.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",
|