@kolkrabbi/kol-framework 0.5.7 → 0.5.8
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-framework.css +2 -77
- package/package.json +3 -3
package/kol-framework.css
CHANGED
|
@@ -585,83 +585,8 @@ code, pre {
|
|
|
585
585
|
text-decoration: none;
|
|
586
586
|
}
|
|
587
587
|
|
|
588
|
-
/*
|
|
589
|
-
|
|
590
|
-
.kol-codeblock {
|
|
591
|
-
position: relative;
|
|
592
|
-
margin: 16px 0;
|
|
593
|
-
border: 1px solid var(--kol-fg-16);
|
|
594
|
-
border-radius: 4px;
|
|
595
|
-
background: var(--kol-fg-04);
|
|
596
|
-
overflow: hidden;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
.kol-codeblock pre {
|
|
600
|
-
margin: 0;
|
|
601
|
-
padding: 20px 24px 20px 24px;
|
|
602
|
-
font-family: var(--kol-font-family-mono, monospace);
|
|
603
|
-
/* text metrics = THE code text rule (.kol-prose pre / .kol-doc-code in
|
|
604
|
-
* kol-type-roles.css) — the elder 13/1.55 voice, restored by user ruling */
|
|
605
|
-
font-size: 13px;
|
|
606
|
-
line-height: 1.55;
|
|
607
|
-
overflow-x: auto;
|
|
608
|
-
color: var(--kol-surface-on-primary);
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
.kol-codeblock pre code {
|
|
612
|
-
font-family: inherit;
|
|
613
|
-
padding: 0;
|
|
614
|
-
background: none;
|
|
615
|
-
border: none;
|
|
616
|
-
color: inherit;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
.kol-codeblock-lang {
|
|
620
|
-
position: absolute;
|
|
621
|
-
top: 8px;
|
|
622
|
-
left: 12px;
|
|
623
|
-
font-family: var(--kol-font-family-mono, monospace);
|
|
624
|
-
font-size: 10px;
|
|
625
|
-
font-weight: 600;
|
|
626
|
-
letter-spacing: 0.08em;
|
|
627
|
-
text-transform: uppercase;
|
|
628
|
-
color: var(--kol-fg-40);
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.kol-codeblock-lang + pre {
|
|
632
|
-
padding-top: 32px;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
/* Filename chip — same scale as the lang chip; no text-transform (casing
|
|
636
|
-
* law: filenames render as authored). When both chips show, the lang chip
|
|
637
|
-
* yields the top-left slot and sits inboard of the copy button. */
|
|
638
|
-
.kol-codeblock-filename {
|
|
639
|
-
position: absolute;
|
|
640
|
-
top: 8px;
|
|
641
|
-
left: 12px;
|
|
642
|
-
font-family: var(--kol-font-family-mono, monospace);
|
|
643
|
-
font-size: 10px;
|
|
644
|
-
font-weight: 600;
|
|
645
|
-
letter-spacing: 0.08em;
|
|
646
|
-
color: var(--kol-fg-40);
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.kol-codeblock-filename ~ .kol-codeblock-lang {
|
|
650
|
-
left: auto;
|
|
651
|
-
right: 56px;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
.kol-codeblock-filename + pre {
|
|
655
|
-
padding-top: 32px;
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
/* Positioning only — the chip look itself is the CopyButton atom
|
|
659
|
-
* (.kol-copy-btn in kol-theme). */
|
|
660
|
-
.kol-codeblock-copy {
|
|
661
|
-
position: absolute;
|
|
662
|
-
top: 8px;
|
|
663
|
-
right: 8px;
|
|
664
|
-
}
|
|
588
|
+
/* Code block chrome moved to kol-theme kol-components-molecules.css (2026-07-28 —
|
|
589
|
+
* theme is chrome's home; the elder-reference replication lives there). */
|
|
665
590
|
|
|
666
591
|
/* ───── Reveal utility ───── */
|
|
667
592
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-framework",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
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",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"app-shell"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@kolkrabbi/kol-component": "0.12.
|
|
31
|
-
"@kolkrabbi/kol-icons": "0.8.
|
|
30
|
+
"@kolkrabbi/kol-component": "0.12.5",
|
|
31
|
+
"@kolkrabbi/kol-icons": "0.8.4"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^18.3.0 || ^19.0.0",
|