@kolkrabbi/kol-theme 0.200.6 → 0.201.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-atoms.css
CHANGED
|
@@ -1474,3 +1474,20 @@ a.kol-icon-frame {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
.kol-tabs-scroll::-webkit-scrollbar { display: none; }
|
|
1476
1476
|
.kol-tabs-scroll > * { flex: none; min-width: 100%; }
|
|
1477
|
+
|
|
1478
|
+
/* ═══════════════════════════════════════════════════════════════
|
|
1479
|
+
* THE FLOATING STYLE — B (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30, canvas Round 3). `variant="float"` — the
|
|
1480
|
+
* house word for a look (user ruling 2026-10-30) — on Button, Input and the menu rows; A, today's square controls,
|
|
1481
|
+
* stays the default. The composed float components (AppFloatNav, AccountForm's box, the signed-out Home's menu) pass it
|
|
1482
|
+
* to their children, so a consumer never sets it by hand. Shape only — no layout, no breakpoint:
|
|
1483
|
+
* a 44 control (44×44 icon-only) · an 18 radius (24 − the 6 inset) · a field on the page's ground inside the float box
|
|
1484
|
+
* The box and the menu are 24 round on surface-secondary with a 6 inset — the menu's is `.kol-more-sheet-float`
|
|
1485
|
+
* (kol-components-shell.css, beside the sheet).
|
|
1486
|
+
* A full-round button (`radius="full"`) stays round.
|
|
1487
|
+
* ═══════════════════════════════════════════════════════════════ */
|
|
1488
|
+
.kol-btn-float:not(.kol-btn-radius-full),
|
|
1489
|
+
.kol-control--float { border-radius: 18px; }
|
|
1490
|
+
.kol-btn-float:not(.kol-btn-icon):not(.kol-btn-xs):not(.kol-btn-sm),
|
|
1491
|
+
.kol-control--float:not(.kol-control-xs):not(.kol-control-sm) { min-height: 44px; }
|
|
1492
|
+
.kol-btn-float.kol-btn-icon:not(.kol-btn-xs):not(.kol-btn-sm):not(.kol-btn-radius-full) { width: 44px; height: 44px; }
|
|
1493
|
+
.kol-control--float { padding-top: 0; padding-bottom: 0; background-color: var(--kol-surface-primary); }
|
package/kol-components-shell.css
CHANGED
|
@@ -252,8 +252,13 @@
|
|
|
252
252
|
padding: 8px;
|
|
253
253
|
border-radius: 24px;
|
|
254
254
|
background: var(--kol-surface-secondary);
|
|
255
|
-
border: 1px solid var(--kol-oq-08);
|
|
256
255
|
}
|
|
256
|
+
/* NO BORDER BY DEFAULT (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30 — the Round 3 board's menus have none); the
|
|
257
|
+
* hairline is opt-in, the `menuBorder` prop of AppFloatNav and TransportPill */
|
|
258
|
+
.kol-more-sheet-bordered { border: 1px solid var(--kol-oq-08); }
|
|
259
|
+
/* THE FLOAT MENU (style B, `variant="float"` — kol-components-atoms.css): the 6 inset, rows flush, each row 14 in */
|
|
260
|
+
.kol-more-sheet-float { padding: 6px; gap: 0; }
|
|
261
|
+
.kol-more-sheet-float .kol-btn-float { padding-left: 14px; padding-right: 14px; }
|
|
257
262
|
.kol-phone-nav-more {
|
|
258
263
|
position: fixed;
|
|
259
264
|
left: 12px;
|
package/kol-design-tokens.css
CHANGED
|
@@ -150,6 +150,10 @@
|
|
|
150
150
|
--kol-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
|
|
151
151
|
--kol-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
|
|
152
152
|
--kol-shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
153
|
+
/* THE FLOAT SHADOW (FloatingStyleAndSignInDemos, kol-fxr 2026-10-30): what lifts a floating nav or menu off a canvas that
|
|
154
|
+
* clashes with it — fxr's local value (kol-editor.css:468), made the KOL's. One value in both themes: it is a lift, not
|
|
155
|
+
* an elevation ramp, so it has no dark mirror below */
|
|
156
|
+
--kol-shadow-float: 0 8px 24px -8px rgba(0, 0, 0, 0.4), 0 2px 6px -2px rgba(0, 0, 0, 0.3);
|
|
153
157
|
|
|
154
158
|
/* Transitions (consistent timing) */
|
|
155
159
|
--kol-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|