@kolkrabbi/kol-framework 0.5.9 → 0.5.10
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/package.json +1 -1
- package/src/ThemeToggle.jsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-framework",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.10",
|
|
4
4
|
"description": "KOL app shell — sidenav, layout, theme toggle, footer, heroes + brand color layer. SideNav takes nav data as props so the tree stays app-local.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
package/src/ThemeToggle.jsx
CHANGED
|
@@ -71,10 +71,10 @@ export default function ThemeToggle({ variant = 'icon', size = 'md', className =
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// variant === 'icon' (default) — geometry from the DS button ladder
|
|
74
|
-
// (sm
|
|
74
|
+
// (sm 16 / md 20 / lg 24 glyph — 2026-07-28 pairing law), chrome = ghost icon-only .kol-btn.
|
|
75
75
|
// Overrules the 2026-07-15 "36×36/20 reference" one-off (user ruling
|
|
76
76
|
// 2026-07-28: the button ladder is the reference, bar icons included).
|
|
77
|
-
const glyph = size === 'sm' ?
|
|
77
|
+
const glyph = size === 'sm' ? 16 : size === 'lg' ? 24 : 20
|
|
78
78
|
return (
|
|
79
79
|
<button
|
|
80
80
|
type="button"
|