@kolkrabbi/kol-theme 0.208.0 → 0.210.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 +30 -1
- package/package.json +1 -1
|
@@ -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,6 +2184,28 @@ 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
|
}
|
|
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,
|
|
2191
|
+
:where(.kol-dd-trigger--raised, .kol-dd-panel--raised) {
|
|
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);
|
|
2200
|
+
--kol-tone-image: none;
|
|
2201
|
+
--kol-tone-fg: var(--kol-fg-emphasis);
|
|
2202
|
+
--kol-tone-border: transparent;
|
|
2203
|
+
--kol-tone-hover-bg: var(--kol-oq-06);
|
|
2204
|
+
--kol-tone-hover-image: none;
|
|
2205
|
+
--kol-tone-hover-fg: var(--kol-fg-emphasis);
|
|
2206
|
+
--kol-tone-hover-border: transparent;
|
|
2207
|
+
--kol-tone-panel-bg: var(--kol-oq-06);
|
|
2208
|
+
}
|
|
2180
2209
|
.kol-tone-grey,
|
|
2181
2210
|
:where(.kol-btn-grey, .kol-dd-trigger--grey, .kol-dd-panel--grey, .kol-icon-frame-grey) {
|
|
2182
2211
|
--kol-tone-bg: var(--kol-oq-12);
|