@kolkrabbi/kol-theme 0.58.0 → 0.58.1
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-chess.css +16 -0
- package/package.json +1 -1
package/kol-components-chess.css
CHANGED
|
@@ -52,6 +52,22 @@
|
|
|
52
52
|
height: auto;
|
|
53
53
|
aspect-ratio: 1;
|
|
54
54
|
min-width: 280px;
|
|
55
|
+
/* the board is a CONTAINER so its coordinate chrome can size off the
|
|
56
|
+
* square (ChessBoardFluidCoordinates, kol-chess 2026-08-26) */
|
|
57
|
+
container-type: inline-size;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* Fluid coordinates — the helper voice, sized by the square: a square is
|
|
61
|
+
* 12.5cqw, so the label runs clamp(7px, 2.2cqw, 12px) and its inset
|
|
62
|
+
* max(2px, 0.8cqw). At 390 (45px squares) that is 7px / 2px instead of the
|
|
63
|
+
* desktop 12px / 8px that sat on the rook. */
|
|
64
|
+
.chess-board--fluid .chess-coord--fluid {
|
|
65
|
+
padding: max(2px, 0.8cqw);
|
|
66
|
+
font-family: var(--kol-font-family-mono);
|
|
67
|
+
font-size: clamp(7px, 2.2cqw, 12px);
|
|
68
|
+
line-height: 1;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
letter-spacing: 0.06em;
|
|
55
71
|
}
|
|
56
72
|
|
|
57
73
|
@media (max-width: 1023px) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.1",
|
|
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",
|