@kolkrabbi/kol-framework 0.40.1 → 0.41.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/package.json +1 -1
- package/src/PageLayout.jsx +12 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-framework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
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/PageLayout.jsx
CHANGED
|
@@ -76,11 +76,19 @@ export default function PageLayout({ navTree = [], header, footer, defaultTocCon
|
|
|
76
76
|
const effectiveTocContent = tocContent ?? defaultTocContent
|
|
77
77
|
const showToc = Boolean(effectiveTocContent) && !tocCollapsed
|
|
78
78
|
|
|
79
|
-
/*
|
|
80
|
-
|
|
79
|
+
/* ONE OWNER PER PIXEL (two-page-scaffolds-one-job, kol-client-olina
|
|
80
|
+
* 2026-09-03). The plane paints the wash and hands `--kol-shell-page-wash:
|
|
81
|
+
* transparent` down: the variable means WHAT IS LEFT TO PAINT, so a
|
|
82
|
+
* PageShell — or any page root that reads it — inside this frame paints
|
|
83
|
+
* nothing over the plane. BrandLayout's line set the wash on the plane AND
|
|
84
|
+
* painted it, so a nested PageShell painted it again: `fg-02` rendered as two
|
|
85
|
+
* 0.02 layers, measured on olina's /slide-deck, the one page beside twenty
|
|
86
|
+
* `.kol-page` siblings that came out darker. kol-shell's AppShell keeps its
|
|
87
|
+
* own model (the wrapper paints the back, PageShell paints the wash — one
|
|
88
|
+
* paint there too). */
|
|
81
89
|
const plane = {
|
|
82
|
-
'--kol-
|
|
83
|
-
|
|
90
|
+
background: pageWash ?? 'var(--kol-surface-primary)',
|
|
91
|
+
'--kol-shell-page-wash': 'transparent',
|
|
84
92
|
}
|
|
85
93
|
|
|
86
94
|
if (bare) {
|