@kolkrabbi/kol-theme 0.11.3 → 0.11.4
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 +26 -0
- package/package.json +1 -1
package/kol-components-atoms.css
CHANGED
|
@@ -297,6 +297,32 @@
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
+
/* Navigation (2026-07-28, user-ordered) — chrome for links that move between
|
|
301
|
+
* pages, not tool actions. SQUARE container: padding = the rung's vertical pad
|
|
302
|
+
* on all four sides (sm 24 / md 30 / lg 36 outer — the text-button height of
|
|
303
|
+
* the same rung, so mixed bars line up). Quiet states: rest dimmed, hover the
|
|
304
|
+
* ghost wash, and ACTIVE keys off aria-current="page" (NavLink sets it
|
|
305
|
+
* natively) — brighter glyph on a faint wash, never the pressed fill;
|
|
306
|
+
* navigation is location, not a toggled tool. */
|
|
307
|
+
.kol-btn-nav {
|
|
308
|
+
background: transparent;
|
|
309
|
+
color: var(--kol-oq-48);
|
|
310
|
+
border: 1px solid transparent;
|
|
311
|
+
}
|
|
312
|
+
@media (hover: hover) {
|
|
313
|
+
.kol-btn-nav:not(.kol-btn-animate):hover {
|
|
314
|
+
background-color: var(--kol-oq-04);
|
|
315
|
+
color: var(--kol-surface-on-primary);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
.kol-btn-nav[aria-current="page"] {
|
|
319
|
+
background-color: var(--kol-oq-08);
|
|
320
|
+
color: var(--kol-surface-on-primary);
|
|
321
|
+
}
|
|
322
|
+
.kol-btn-nav.kol-btn-sm { padding: 4px; }
|
|
323
|
+
.kol-btn-nav.kol-btn-md { padding: 6px; }
|
|
324
|
+
.kol-btn-nav.kol-btn-lg { padding: 8px; }
|
|
325
|
+
|
|
300
326
|
/* Grey (2026-07-15, user-ordered) — pill-subtle's visual weight as a real
|
|
301
327
|
* Button variant on the opaque tier: rest oq-12, hover/active one stop past
|
|
302
328
|
* 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.4",
|
|
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",
|