@kolkrabbi/kol-theme 0.209.0 → 0.210.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.
@@ -1390,9 +1390,12 @@ a.kol-icon-frame {
1390
1390
  * plate. The rung lifted its dropdown to 16 / 32 and it no longer fitted. `.kol-hw-panel` marks
1391
1391
  * the plate (ModuleFrame) and a list portalled out of one (Dropdown); `:where()` keeps the
1392
1392
  * rule's specificity where it was. The box tokens are pinned back in kol-components-controls.css. */
1393
+ /* NOT A BARE BUTTON (BareButtonTouchRung, kol-website 2026-11-03): `Button variant="bare"` borrows
1394
+ * `kol-menu-btn` for its focus ring only and keeps the type its className gives it — the rung is for
1395
+ * MenuItem's rows. `.kol-menu-btn--bare` marks it (MobileTouchFloor: no type floor on touch). */
1393
1396
  :is(.kol-btn.kol-btn-xs, .kol-btn.kol-btn-sm, .kol-btn.kol-btn-md, .kol-btn.kol-btn-lg,
1394
1397
  .kol-control.kol-control-xs, .kol-control.kol-control-sm, .kol-control.kol-control-md, .kol-control.kol-control-lg,
1395
- .kol-seg .kol-seg-cell, .kol-menu-btn.kol-menu-btn):where(:not(.kol-hw-panel, .kol-hw-panel *)) {
1398
+ .kol-seg .kol-seg-cell, .kol-menu-btn.kol-menu-btn):where(:not(.kol-hw-panel, .kol-hw-panel *, .kol-menu-btn--bare)) {
1396
1399
  font-size: 16px;
1397
1400
  line-height: 22px;
1398
1401
  }
@@ -130,7 +130,12 @@
130
130
  * on this element) reaches the list: the hairline keeps its 1px, the list
131
131
  * takes the rest and scrolls inside — the panel itself never overflows the
132
132
  * viewport (2026-08-09, kol-ds-fxr long-dropdown ticket). */
133
+ /* THE FUSED MENU PANEL — `Menu fused` (a select trigger's list, Dropdown): it continues the trigger, so it squares its
134
+ * top and takes the trigger tone's floating surface. One engine since 2026-10-31 (plan-2026-10-31-menu-engine W1.1);
135
+ * `.kol-dd-panel` is the old name, kept on the rule until nobody emits it. */
136
+ .kol-menu-panel.kol-menu-panel--fused,
133
137
  .kol-dd-panel {
138
+ padding: 0;
134
139
  border-radius: 0 0 var(--kol-radius-sm) var(--kol-radius-sm);
135
140
  overflow: hidden;
136
141
  display: flex;
@@ -171,8 +176,10 @@
171
176
  * trigger (never fused to it), one step up from the cards. The oq ramp swaps per theme, so the one rule is light
172
177
  * and dark. 8px / 6px are the look the user signed off on the metric page (round 1), above the 4px container rung
173
178
  * on purpose — a floating menu, not a container. Was `.kol-dd-menu` (round 2, alias below). */
179
+ /* ONE TONE PATH (W1.1): the trigger's resolved tone rides onto the portalled panel (Menu copies `--kol-tone-*`), so a
180
+ * menu inside a toned wrapper floats on that tone's surface; with no tone around it, oq-08 as signed off. */
174
181
  .kol-menu-panel {
175
- background-color: var(--kol-oq-08);
182
+ background-color: var(--kol-tone-panel-bg, var(--kol-oq-08));
176
183
  border-radius: 8px;
177
184
  padding: var(--kol-spacing-1);
178
185
  box-shadow: var(--kol-shadow-float);
@@ -2177,22 +2184,29 @@ img.kol-quicklook-media--fill { width: var(--kol-ql-max-w); height: auto; max-he
2177
2184
  --kol-tone-panel-border-w: 0px;
2178
2185
  --kol-tone-panel-border: transparent;
2179
2186
  }
2180
- .kol-tone-grey,
2181
- /* RAISED — Dropdown `variant="raised"`: the menus' faint raised look on a select (metric R3.4, user 2026-10-31: *"the same
2182
- * faint raised panel as the menus"*), with the trigger on the same ground so closed and open are one tone (*"how are you
2183
- * using one tone for default, but another for list open?"*). A variant, not the default, so no other select moves
2184
- * (*"I dont wanna break anything, should we just make a variant?"*). */
2187
+ /* FAINT — the tone one step under grey: oq-06 (user 2026-10-31: *"I like it lets sement the tone faint"*). Born as
2188
+ * Dropdown `variant="raised"` (metric R3.4 — the menus' faint raised look, trigger and list one tone open or closed);
2189
+ * the variant differed from a dropdown only in colour, so it is this tone now and `raised` is its retiring alias. */
2190
+ .kol-tone-faint,
2185
2191
  :where(.kol-dd-trigger--raised, .kol-dd-panel--raised) {
2186
- --kol-tone-bg: var(--kol-oq-08);
2192
+ --kol-tone-active-bg: var(--kol-oq-12);
2193
+ --kol-tone-active-image: none;
2194
+ --kol-tone-pressed-bg: var(--kol-surface-on-primary);
2195
+ --kol-tone-pressed-image: none;
2196
+ --kol-tone-pressed-fg: var(--kol-surface-primary);
2197
+ --kol-tone-panel-border-w: 0px;
2198
+ --kol-tone-panel-border: transparent;
2199
+ --kol-tone-bg: var(--kol-oq-06);
2187
2200
  --kol-tone-image: none;
2188
2201
  --kol-tone-fg: var(--kol-fg-emphasis);
2189
2202
  --kol-tone-border: transparent;
2190
- --kol-tone-hover-bg: var(--kol-oq-08);
2203
+ --kol-tone-hover-bg: var(--kol-oq-06);
2191
2204
  --kol-tone-hover-image: none;
2192
2205
  --kol-tone-hover-fg: var(--kol-fg-emphasis);
2193
2206
  --kol-tone-hover-border: transparent;
2194
- --kol-tone-panel-bg: var(--kol-oq-08);
2207
+ --kol-tone-panel-bg: var(--kol-oq-06);
2195
2208
  }
2209
+ .kol-tone-grey,
2196
2210
  :where(.kol-btn-grey, .kol-dd-trigger--grey, .kol-dd-panel--grey, .kol-icon-frame-grey) {
2197
2211
  --kol-tone-bg: var(--kol-oq-12);
2198
2212
  --kol-tone-image: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.209.0",
3
+ "version": "0.210.1",
4
4
  "description": "Tokens and base CSS",
5
5
  "license": "MIT",
6
6
  "type": "module",