@kolkrabbi/kol-theme 0.11.3 → 0.11.5
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 +33 -0
- package/package.json +1 -1
package/kol-components-atoms.css
CHANGED
|
@@ -232,6 +232,14 @@
|
|
|
232
232
|
.kol-btn-icon {
|
|
233
233
|
line-height: 0;
|
|
234
234
|
}
|
|
235
|
+
/* Icon-only is a GEOMETRY condition, not a variant (2026-07-28, user-ordered):
|
|
236
|
+
* a lone glyph gets a SQUARE box in every variant — the rung's vertical pad on
|
|
237
|
+
* all four sides (sm 24 / md 30 / lg 36 outer = the text-button height of the
|
|
238
|
+
* same rung, so mixed rows line up). Kills the pill shape the horizontal rung
|
|
239
|
+
* padding produced on icon-only buttons. */
|
|
240
|
+
.kol-btn-icon.kol-btn-sm { padding: 4px; }
|
|
241
|
+
.kol-btn-icon.kol-btn-md { padding: 6px; }
|
|
242
|
+
.kol-btn-icon.kol-btn-lg { padding: 8px; }
|
|
235
243
|
|
|
236
244
|
.kol-btn-primary {
|
|
237
245
|
background: var(--kol-surface-secondary);
|
|
@@ -297,6 +305,31 @@
|
|
|
297
305
|
}
|
|
298
306
|
}
|
|
299
307
|
|
|
308
|
+
/* Navigation (2026-07-28, user-ordered) — chrome for links that move between
|
|
309
|
+
* pages, not tool actions. SQUARE container: padding = the rung's vertical pad
|
|
310
|
+
* on all four sides (sm 24 / md 30 / lg 36 outer — the text-button height of
|
|
311
|
+
* the same rung, so mixed bars line up). Quiet states: rest dimmed, hover the
|
|
312
|
+
* ghost wash, and ACTIVE keys off aria-current="page" (NavLink sets it
|
|
313
|
+
* natively) — brighter glyph on a faint wash, never the pressed fill;
|
|
314
|
+
* navigation is location, not a toggled tool. */
|
|
315
|
+
.kol-btn-nav {
|
|
316
|
+
background: transparent;
|
|
317
|
+
color: var(--kol-oq-48);
|
|
318
|
+
border: 1px solid transparent;
|
|
319
|
+
}
|
|
320
|
+
@media (hover: hover) {
|
|
321
|
+
.kol-btn-nav:not(.kol-btn-animate):hover {
|
|
322
|
+
background-color: var(--kol-oq-04);
|
|
323
|
+
color: var(--kol-surface-on-primary);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
.kol-btn-nav[aria-current="page"] {
|
|
327
|
+
background-color: var(--kol-oq-08);
|
|
328
|
+
color: var(--kol-surface-on-primary);
|
|
329
|
+
}
|
|
330
|
+
/* square box comes from .kol-btn-icon (geometry, all variants) — no
|
|
331
|
+
* nav-specific padding rules needed */
|
|
332
|
+
|
|
300
333
|
/* Grey (2026-07-15, user-ordered) — pill-subtle's visual weight as a real
|
|
301
334
|
* Button variant on the opaque tier: rest oq-12, hover/active one stop past
|
|
302
335
|
* each, same state math as the rest of the family. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.5",
|
|
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",
|