@kolkrabbi/kol-theme 0.153.0 → 0.155.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.
|
@@ -918,7 +918,13 @@
|
|
|
918
918
|
position: relative;
|
|
919
919
|
width: 100%;
|
|
920
920
|
overflow: hidden;
|
|
921
|
-
|
|
921
|
+
/* THE PANEL LIFTS OFF THE PAGE (2026-09-28, user: the search overlay "is very
|
|
922
|
+
* faint, and the input text is also very faint"). It painted the page's own
|
|
923
|
+
* surface, so over a dark page and a scrim it read as a hole rather than a
|
|
924
|
+
* panel. `oq-04` is the lift the shortcuts sheet already wears (2026-09-03):
|
|
925
|
+
* opaque, one step off the ground, in both themes. */
|
|
926
|
+
background-color: var(--kol-oq-04);
|
|
927
|
+
color: var(--kol-oq-96);
|
|
922
928
|
/* NO BORDER, NO SHADOW (user 2026-08-01). Both were tried and both were
|
|
923
929
|
* wrong: the shadow was another product's floating-card idiom, and the
|
|
924
930
|
* hairline left an empty palette reading as a bordered empty box. The SCRIM
|
|
@@ -932,6 +938,10 @@
|
|
|
932
938
|
* and is deleted with it: it solved the wrong problem. */
|
|
933
939
|
}
|
|
934
940
|
|
|
941
|
+
/* the query field inside a panel reads at full ink; its placeholder at 48 */
|
|
942
|
+
.kol-overlay-panel .kol-control--bare input { color: var(--kol-oq-96); }
|
|
943
|
+
.kol-overlay-panel .kol-control--bare input::placeholder { color: var(--kol-oq-48); }
|
|
944
|
+
|
|
935
945
|
/* ── Section — .kol-section-* ─────────────────────────────────────────────
|
|
936
946
|
* Between-siblings rhythm for stacked inspector sections (InspectorSectionRhythm,
|
|
937
947
|
* filed from kol-fxr 2026-08-15).
|
|
@@ -962,6 +972,34 @@
|
|
|
962
972
|
padding-top: 20px;
|
|
963
973
|
}
|
|
964
974
|
|
|
975
|
+
/* InspectorSection `pane` — the Affinity panel shape (editor inspector rebuild, 2026-09-27).
|
|
976
|
+
* A named pane, not a labelled form group: the title in emphasis on its own strip, the body
|
|
977
|
+
* padded, and panes ruled edge to edge — each pane pads itself, so the rule is never inset. */
|
|
978
|
+
.kol-inspector-pane + .kol-inspector-pane { border-top: 1px solid var(--kol-oq-08); }
|
|
979
|
+
.kol-inspector-pane-head {
|
|
980
|
+
display: flex;
|
|
981
|
+
align-items: center;
|
|
982
|
+
gap: 4px;
|
|
983
|
+
min-height: 40px;
|
|
984
|
+
padding: 4px 16px 0;
|
|
985
|
+
}
|
|
986
|
+
.kol-inspector-pane-title {
|
|
987
|
+
flex: 1;
|
|
988
|
+
min-width: 0;
|
|
989
|
+
margin: 0;
|
|
990
|
+
font-family: var(--kol-font-family-mono);
|
|
991
|
+
font-size: 14px;
|
|
992
|
+
line-height: 18px;
|
|
993
|
+
font-weight: 400;
|
|
994
|
+
color: var(--kol-fg-emphasis);
|
|
995
|
+
}
|
|
996
|
+
.kol-inspector-pane-body {
|
|
997
|
+
display: flex;
|
|
998
|
+
flex-direction: column;
|
|
999
|
+
gap: 8px;
|
|
1000
|
+
padding: 4px 16px 20px;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
965
1003
|
/* ─────────────────────────────────────────────────────────────────────
|
|
966
1004
|
* Content family hover — molecules/ContentCard.jsx · ContentRow.jsx
|
|
967
1005
|
*
|
|
@@ -912,3 +912,26 @@
|
|
|
912
912
|
outline: 2px solid var(--kol-accent-primary);
|
|
913
913
|
outline-offset: 1px;
|
|
914
914
|
}
|
|
915
|
+
|
|
916
|
+
/* ── ToolPalette · the tool row's states (editor inspector rebuild, 2026-09-27) ──
|
|
917
|
+
* The generic pressed toggle is an inverted tile, and ghost + `quiet` dims oq-48 ink
|
|
918
|
+
* by the disabled opacity on top — a tool row read washed-out at rest and shouted
|
|
919
|
+
* when armed. Affinity's row: the ink does the dimming, the armed tool is a sunken
|
|
920
|
+
* tile with a lighter edge and bright ink, hover a faint tile, a press gives. */
|
|
921
|
+
.kol-tool-palette .kol-btn {
|
|
922
|
+
--kol-tone-fg: var(--kol-oq-64);
|
|
923
|
+
--kol-tone-hover-bg: var(--kol-oq-08);
|
|
924
|
+
--kol-tone-hover-fg: var(--kol-surface-on-primary);
|
|
925
|
+
--kol-tone-pressed-bg: var(--kol-surface-sunken);
|
|
926
|
+
--kol-tone-pressed-fg: var(--kol-surface-on-primary);
|
|
927
|
+
transition: color 120ms ease, background-color 120ms ease, transform 80ms ease;
|
|
928
|
+
}
|
|
929
|
+
/* armed = Affinity's selected cell: a SUNKEN tile under a 1px lighter edge, the glyph bright —
|
|
930
|
+
* and it stays so under the cursor (the hover rule outranks the pressed fill) */
|
|
931
|
+
.kol-tool-palette .kol-btn-pressed {
|
|
932
|
+
--kol-tone-hover-bg: var(--kol-surface-sunken);
|
|
933
|
+
box-shadow: inset 0 0 0 1px var(--kol-oq-16);
|
|
934
|
+
}
|
|
935
|
+
.kol-tool-palette .kol-btn-quiet { opacity: 1; }
|
|
936
|
+
.kol-tool-palette .kol-btn:disabled { opacity: var(--kol-opacity-disabled); }
|
|
937
|
+
.kol-tool-palette .kol-btn:not(:disabled):not(.kol-dd-trigger):active { transform: scale(0.92); }
|
|
@@ -82,11 +82,65 @@
|
|
|
82
82
|
scrollbar-width: none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
85
|
+
/* THE SHELL'S ONE SCROLL REGION (showcase refinement 2026-09-28). It used to
|
|
86
|
+
* be three: each rail and #main scrolled themselves inside a grid wrapped in
|
|
87
|
+
* the chrome inset, so main's scrollbar sat 24px in from the window edge and
|
|
88
|
+
* ended at main's right edge, beside the TOC rather than at the window's.
|
|
89
|
+
* Now the region below the header scrolls as one, edge to edge; the rails are
|
|
90
|
+
* sticky inside it and still scroll their own overflow. `container-type: size`
|
|
91
|
+
* lets a rail be exactly one region tall (100cqh) without measuring anything.
|
|
92
|
+
*
|
|
93
|
+
* ONE SPACE BETWEEN A RAIL AND THE PAGE, NOT TWO. The grid had a 32/48px gap
|
|
94
|
+
* AND pages padded themselves with --kol-pad-section-x, so rail text sat up to
|
|
95
|
+
* ~100px from the page's. The gap is gone: a rail ends in an opaque 08 seam
|
|
96
|
+
* (the seam law) with the chrome inset inside it, and main pads the page
|
|
97
|
+
* ladder from the seam. Pages do not pad themselves on x. */
|
|
98
|
+
.shell-scroll {
|
|
99
|
+
container-type: size;
|
|
100
|
+
scrollbar-gutter: stable;
|
|
101
|
+
overscroll-behavior: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
88
104
|
.shell-content-grid {
|
|
89
|
-
gap:
|
|
105
|
+
gap: 0;
|
|
106
|
+
min-height: 100%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.shell-rail {
|
|
110
|
+
position: sticky;
|
|
111
|
+
top: 0;
|
|
112
|
+
align-self: start;
|
|
113
|
+
height: 100cqh;
|
|
114
|
+
overflow-y: auto;
|
|
115
|
+
overflow-x: hidden;
|
|
116
|
+
overscroll-behavior: contain;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.shell-rail--nav {
|
|
120
|
+
border-right: 1px solid var(--kol-oq-08);
|
|
121
|
+
padding-inline-end: var(--kol-pad-chrome-x);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.shell-rail--toc {
|
|
125
|
+
border-left: 1px solid var(--kol-oq-08);
|
|
126
|
+
padding-inline-start: var(--kol-pad-chrome-x);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.shell-main {
|
|
130
|
+
min-width: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* THE TYPED WORDMARK — the shell's second mark as live type in the Tight cut
|
|
134
|
+
* (2026-09-28), sized so its caps stand as tall as the drawn KOLKRABBI mark
|
|
135
|
+
* beside it (h-6). The display voice is uppercase by contract. */
|
|
136
|
+
.shell-wordmark-label {
|
|
137
|
+
font-family: var(--kol-font-family-sans-tight);
|
|
138
|
+
font-size: 33px;
|
|
139
|
+
line-height: 24px;
|
|
140
|
+
font-weight: 500;
|
|
141
|
+
text-transform: uppercase;
|
|
142
|
+
letter-spacing: 0;
|
|
143
|
+
white-space: nowrap;
|
|
90
144
|
}
|
|
91
145
|
|
|
92
146
|
.shell-sidebar-sticky::-webkit-scrollbar {
|
|
@@ -463,10 +517,6 @@
|
|
|
463
517
|
font-size: 13px;
|
|
464
518
|
}
|
|
465
519
|
|
|
466
|
-
/* Wide grid gap */
|
|
467
|
-
.shell-content-grid {
|
|
468
|
-
gap: 48px;
|
|
469
|
-
}
|
|
470
520
|
}
|
|
471
521
|
|
|
472
522
|
/* =============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.155.0",
|
|
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",
|