@kolkrabbi/kol-theme 0.46.0 → 0.47.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 +15 -6
- package/kol-theme.css +16 -0
- package/package.json +1 -1
|
@@ -879,10 +879,17 @@
|
|
|
879
879
|
width: var(--kol-row-thumb);
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
/*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
|
|
882
|
+
/* CONTAINER query, not a viewport one (2026-08-15). The row steps on the width
|
|
883
|
+
* of the WALL it sits in, for exactly the reason the card-wall law gives: the
|
|
884
|
+
* shell rails eat width that viewport breakpoints cannot see, so a row inside a
|
|
885
|
+
* 700px panel on a 1600px screen was taking the desktop step and overflowing.
|
|
886
|
+
* It also means the step is VISIBLE in a resizable panel instead of only when
|
|
887
|
+
* the whole browser is dragged.
|
|
888
|
+
*
|
|
889
|
+
* 768 is still the ruled `md` rung (08-breakpoints/01-values.md) — the number
|
|
890
|
+
* did not change, only what it measures. A row with no container ancestor falls
|
|
891
|
+
* back to its base values, which is the correct nothing-happens. */
|
|
892
|
+
@container (min-width: 768px) {
|
|
886
893
|
.kol-row {
|
|
887
894
|
gap: var(--kol-row-gap-md, var(--kol-row-gap));
|
|
888
895
|
padding: var(--kol-row-pad-md, var(--kol-row-pad));
|
|
@@ -932,8 +939,10 @@
|
|
|
932
939
|
* one (work: 16 → 24, matching the shipped drawer's `p-4 md:p-6`). Same
|
|
933
940
|
* custom-property mechanism as .kol-row — Tailwind cannot generate an
|
|
934
941
|
* md: variant from package source, and these are per-variant data. */
|
|
935
|
-
/* the ruled `md` rung, same as .kol-row above
|
|
936
|
-
|
|
942
|
+
/* the ruled `md` rung, same as .kol-row above — and a container query for the
|
|
943
|
+
* same reason: a card in a narrow wall must not take the wide plate padding
|
|
944
|
+
* because the BROWSER happens to be wide. */
|
|
945
|
+
@container (min-width: 768px) {
|
|
937
946
|
.kol-card-plate {
|
|
938
947
|
padding: var(--kol-plate-pad-md, var(--kol-plate-pad));
|
|
939
948
|
}
|
package/kol-theme.css
CHANGED
|
@@ -93,6 +93,22 @@
|
|
|
93
93
|
--kol-pad-card-md: 1rem;
|
|
94
94
|
--kol-pad-card-lg: 1.5rem;
|
|
95
95
|
|
|
96
|
+
/* WALL gaps (2026-08-15) — the same treatment `--kol-pad-card-*` got, for
|
|
97
|
+
* the same reason: these two numbers were re-typed as a ternary at every
|
|
98
|
+
* call site (kol-monitor HomePage ×2, LibraryPage ×2, MediaLibrary,
|
|
99
|
+
* kol-website Work, both foundry grids, StackLatest) and a value repeated
|
|
100
|
+
* nine times is a value that has already drifted somewhere.
|
|
101
|
+
*
|
|
102
|
+
* PX, not rem — a gap is a layout measure, not type (user ruling
|
|
103
|
+
* 2026-08-15), so a reader bumping their browser text size must not re-space
|
|
104
|
+
* every wall in the estate.
|
|
105
|
+
*
|
|
106
|
+
* Two rungs because a wall of CARDS and a stack of ROWS want different air:
|
|
107
|
+
* cards are objects with their own edges and need separating; rows are lines
|
|
108
|
+
* in a table and 24px between them reads as a broken list. */
|
|
109
|
+
--kol-gap-wall-grid: 24px;
|
|
110
|
+
--kol-gap-wall-list: 8px;
|
|
111
|
+
|
|
96
112
|
/* The house curve (2026-08-15) — the easing the cards actually use; was
|
|
97
113
|
* hardcoded in 5 files before this token existed. Curve only, no duration:
|
|
98
114
|
* it pairs with whatever duration the motion needs.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.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",
|