@kolkrabbi/kol-theme 0.225.0 → 0.226.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.
@@ -82,9 +82,9 @@
82
82
  .kol-table-cell-title {
83
83
  padding: 12px 16px;
84
84
  font-family: var(--kol-font-family-mono);
85
- font-size: 0.75rem;
85
+ font-size: var(--kol-ramp-size-l6);
86
86
  font-weight: 400;
87
- line-height: 1.3;
87
+ line-height: var(--kol-ramp-line-height-l6);
88
88
  color: var(--kol-surface-on-primary);
89
89
  white-space: nowrap;
90
90
  }
@@ -92,9 +92,9 @@
92
92
  .kol-table-cell-text {
93
93
  padding: 12px 16px;
94
94
  font-family: var(--kol-font-family-mono);
95
- font-size: 0.75rem;
95
+ font-size: var(--kol-ramp-size-l6);
96
96
  font-weight: 400;
97
- line-height: 1.4;
97
+ line-height: var(--kol-ramp-line-height-l6);
98
98
  color: var(--kol-fg-64);
99
99
  white-space: nowrap;
100
100
  }
@@ -612,7 +612,7 @@
612
612
  gap: var(--kol-spacing-3);
613
613
  padding: var(--kol-spacing-2) var(--kol-spacing-1);
614
614
  border-bottom: 1px solid var(--kol-fg-08);
615
- border-radius: var(--kol-radius-sm);
615
+ border-radius: var(--kol-radius-4);
616
616
  cursor: pointer;
617
617
  transition: background-color var(--kol-transition-fast);
618
618
  }
@@ -1044,3 +1044,227 @@
1044
1044
  .kol-sortable-item.is-drop-target { outline: 2px dashed currentColor; outline-offset: 3px; border-radius: 4px; }
1045
1045
  .kol-sortable-handle { cursor: grab; }
1046
1046
  .kol-sortable-handle:active { cursor: grabbing; }
1047
+
1048
+ /* =============================================================================
1049
+ * KOLBOX (plan-2026-11-18-kolbox-system W31.2, 2026-11-18). `variant="kolbox"`, carried class for class from
1050
+ * apps/kolbox/src/ui; every rule hangs off the variant's own root class.
1051
+ * ============================================================================= */
1052
+
1053
+ /* WheelTriangle kolbox: the handles a ring in the ink over a hairline of the ground; the focus ring the accent */
1054
+ .kol-wheel-triangle--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
1055
+ .kol-wheel-triangle--kolbox .kol-wheel-triangle-halo { stroke: var(--kol-surface-primary); }
1056
+ .kol-wheel-triangle--kolbox .kol-wheel-triangle-ring { stroke: var(--kol-surface-on-primary); }
1057
+
1058
+ /* batch 5 (W31.2, 2026-11-18): kolbox's editor chrome and color parts, carried class for class from apps/kolbox/src/ui.
1059
+ Every rule hangs off the variant's own root class; only what kolbox's own classes set, nothing kolbox inherits. */
1060
+
1061
+ /* Rail kolbox: the panel fill, 240 wide (49 collapsed), its edge line the kolbox line (`--kol-kolbox-line`, W16.4) drawn
1062
+ over its own edge (the `before` box is Tailwind's); under 768 the full width, as tall as its content */
1063
+ .kol-rail--kolbox { width: var(--kol-kolbox-rail-w); background-color: var(--kol-surface-secondary); }
1064
+ .kol-rail--kolbox.is-collapsed { width: var(--kol-kolbox-rail-w-collapsed); }
1065
+ .kol-rail--kolbox::before { background-color: var(--kol-kolbox-line); }
1066
+ @media (max-width: 767px) { .kol-rail--kolbox, .kol-rail--kolbox.is-collapsed { width: 100%; } }
1067
+
1068
+ /* LabeledControlSection kolbox (kolbox's RailSection): the kolbox line (W16.4) over its top pixel, the title the UI text (11 / 16) in
1069
+ the ink, open or closed, and the head's action glyphs in the same ink (closed is not empty, his "I thought text were
1070
+ white", plan-2026-11-19-kolbox-whats-left R3.2); a lit action keeps its accent */
1071
+ .kol-section--kolbox::before { background-color: var(--kol-kolbox-line); }
1072
+ .kol-section-title--kolbox { font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); font-weight: var(--kol-kolbox-title-weight, 500); color: var(--kol-surface-on-primary); }
1073
+ .kol-section--kolbox > header .kol-icon-btn--kolbox:not(.is-pressed) { color: var(--kol-surface-on-primary); }
1074
+ /* the head's actions are 24 boxes (`--kol-kolbox-ctl`) whatever box a caller set (a 16 `size-4!`), as Figma's 24 header buttons
1075
+ (plan-2026-11-23-editor-measured-against-figma W3); important here out-ranks the caller's important utility (layer order) */
1076
+ .kol-section--kolbox > header .kol-icon-btn--kolbox { width: var(--kol-kolbox-ctl) !important; height: var(--kol-kolbox-ctl) !important; }
1077
+
1078
+ /* SBSquare, HueStrip, AlphaStrip kolbox (kolbox's ColorField, HueSlider, OpacitySlider): the handle a 2px ring in the
1079
+ ink; the opacity run over the oq-24 / oq-16 checker */
1080
+ .kol-spectrum-handle--kolbox { box-shadow: 0 0 0 2px var(--kol-surface-on-primary); }
1081
+ .kol-alpha-strip--kolbox { background: repeating-conic-gradient(var(--kol-kolbox-field-strong) 0 25%, var(--kol-kolbox-field) 0 50%) 0 0 / 8px 8px; }
1082
+
1083
+ /* ColorPickerPopover kolbox (kolbox's PopoverColor): the rule between the picker and the page's swatches */
1084
+ .kol-color-popover-rule--kolbox { background-color: var(--kol-kolbox-line); }
1085
+
1086
+ /* TimelineDock kolbox (kolbox's MotionTimeline): 200 high (480 expanded), the panel fill, every line oq-24; the name
1087
+ column the rail's width; the lanes on the ground; clips oq-16 (lit oq-24); keys in the ink; the head the accent */
1088
+ .kol-timeline--kolbox { height: var(--kol-kolbox-timeline-h); border-color: var(--kol-kolbox-line); background-color: var(--kol-surface-secondary); }
1089
+ .kol-timeline--kolbox.is-expanded { height: var(--kol-kolbox-timeline-h-expanded); }
1090
+ .kol-timeline--kolbox .kol-timeline-line { border-color: var(--kol-kolbox-line); }
1091
+ .kol-timeline--kolbox .kol-timeline-names { width: var(--kol-kolbox-rail-w); }
1092
+ .kol-timeline--kolbox .kol-timeline-tick { background-color: var(--kol-kolbox-line); }
1093
+ .kol-timeline--kolbox .kol-timeline-ground { background-color: var(--kol-surface-primary); }
1094
+ .kol-timeline--kolbox .kol-timeline-head { background-color: var(--kol-accent-primary); }
1095
+ .kol-timeline--kolbox .kol-timeline-key { background-color: var(--kol-surface-on-primary); }
1096
+ .kol-timeline--kolbox .kol-timeline-clip { background-color: var(--kol-kolbox-field); }
1097
+ .kol-timeline--kolbox .kol-timeline-clip.is-selected,
1098
+ .kol-timeline--kolbox .kol-timeline-row.is-selected { background-color: var(--kol-kolbox-field); }
1099
+ .kol-timeline--kolbox .kol-timeline-clip.is-selected { background-color: var(--kol-kolbox-field-strong); }
1100
+ .kol-timeline--kolbox .kol-timeline-title { font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); font-weight: var(--kol-kolbox-title-weight, 500); color: var(--kol-surface-on-primary); }
1101
+ .kol-timeline--kolbox .kol-timeline-label { font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); font-weight: var(--kol-kolbox-label-weight, 500); color: var(--kol-oq-64); }
1102
+ .kol-timeline--kolbox .kol-timeline-name { font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); font-weight: var(--kol-kolbox-label-weight, 500); color: var(--kol-surface-on-primary); }
1103
+ .kol-timeline--kolbox .kol-timeline-name.is-sub { color: var(--kol-oq-64); }
1104
+ .kol-timeline--kolbox .kol-timeline-meta { font-size: 10px; line-height: 14px; color: var(--kol-oq-64); }
1105
+ .kol-timeline--kolbox .kol-timeline-mono { font-family: var(--kol-font-family-mono); }
1106
+ .kol-timeline--kolbox .kol-timeline-muted { color: var(--kol-oq-64); }
1107
+
1108
+ /* TimelineDock folio (Folio's Timeline, batch D 2026-11-22): the rule over it, the lanes in the surface, the keys in the
1109
+ ink, the head green; the time mono 12 / 16 and the names mono 10 / 14, both muted */
1110
+ .kol-timeline--folio { border-color: var(--kol-folio-rule); }
1111
+ .kol-timeline--folio .kol-timeline-lane { background-color: var(--kol-folio-surface); }
1112
+ .kol-timeline--folio .kol-timeline-key { background-color: var(--kol-folio-ink); }
1113
+ .kol-timeline--folio .kol-timeline-head { background-color: var(--kol-folio-green); }
1114
+ .kol-timeline--folio .kol-timeline-time { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; color: var(--kol-folio-muted); }
1115
+ .kol-timeline--folio .kol-timeline-name { font-family: var(--kol-font-family-mono); font-size: 10px; line-height: 14px; color: var(--kol-folio-muted); }
1116
+ .kol-timeline--kolbox .kol-timeline-keylabel:hover { color: var(--kol-surface-on-primary); }
1117
+ .kol-timeline--kolbox .kol-timeline-zoom { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; color: var(--kol-surface-on-primary); border-radius: var(--kol-radius-4); }
1118
+ .kol-timeline--kolbox .kol-timeline-zoom:hover { background-color: var(--kol-kolbox-field); }
1119
+ .kol-timeline--kolbox .kol-timeline-zoom:focus-visible,
1120
+ .kol-timeline--kolbox .kol-timeline-toggle:focus-visible { outline-color: var(--kol-accent-primary); }
1121
+ .kol-timeline--kolbox .kol-timeline-time { border-radius: var(--kol-radius-4); background-color: var(--kol-kolbox-field); }
1122
+ .kol-timeline--kolbox .kol-timeline-time:focus-within { outline-color: var(--kol-accent-primary); }
1123
+ .kol-timeline--kolbox .kol-timeline-time-rule { background-color: var(--kol-kolbox-line); }
1124
+ .kol-timeline--kolbox .kol-timeline-time-cell { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; }
1125
+ .kol-timeline--kolbox .kol-timeline-time-cell input { color: var(--kol-surface-on-primary); }
1126
+ .kol-timeline--kolbox .kol-timeline-time-cell span { color: var(--kol-oq-64); }
1127
+ .kol-timeline--kolbox .kol-timeline-toggle { border-radius: var(--kol-radius-4); color: var(--kol-oq-64); }
1128
+ .kol-timeline--kolbox .kol-timeline-toggle.is-on { color: var(--kol-accent-primary); }
1129
+ .kol-timeline--kolbox .kol-timeline-toggle:hover { background-color: var(--kol-kolbox-field); color: var(--kol-surface-on-primary); }
1130
+
1131
+ /* CommandOverlay kolbox (kolbox's ModalSearch): 576 wide, radius 16, the panel fill; the group titles 11 / 15 in spaced
1132
+ capitals, the foot's hints 11 / 15, both in the muted ink; the hint at a row's end mono 10 / 14 */
1133
+ .kol-command--kolbox { width: var(--kol-kolbox-search-w); border-radius: var(--kol-radius-12); background-color: var(--kol-surface-secondary); }
1134
+ .kol-command--kolbox .kol-command-group { font-size: 11px; line-height: 15px; color: var(--kol-oq-64); }
1135
+ .kol-command--kolbox .kol-command-rule { background-color: var(--kol-kolbox-line); }
1136
+ .kol-command--kolbox .kol-command-foot { font-size: 11px; line-height: 15px; color: var(--kol-oq-64); }
1137
+ .kol-command--kolbox .kol-command-foot button:hover { color: var(--kol-surface-on-primary); }
1138
+ .kol-command--kolbox .kol-command-hint { font-family: var(--kol-font-family-mono); font-size: 10px; line-height: 14px; color: var(--kol-oq-64); }
1139
+ /* a row's second line, `body` (Folio on kolbox, 2026-11-22): the matched text under a search result, kolbox's help step
1140
+ (11 / 15) in the muted ink; drawn only when a row has one */
1141
+ .kol-command--kolbox .kol-command-body { font-family: var(--kol-font-family-sans); font-size: 11px; font-weight: 400; line-height: 15px; color: var(--kol-oq-64); }
1142
+
1143
+ /* CommandOverlay folio (Folio batch B, 2026-11-22): the search modal (search) and the command list (commands) in the ink,
1144
+ each with its own shadow; rules Folio's; the field's text Folio's nav (13 / 500), the list's rows and field Folio's
1145
+ meta; the lit row on the surface; hints, the kind and the empty line muted. ShortcutsOverlay folio: the list's shadow,
1146
+ the title muted, a rule over each key, the combo green. */
1147
+ .kol-command--folio-search { color: var(--kol-folio-ink); box-shadow: 0 24px 64px rgb(0 0 0 / 0.18); }
1148
+ .kol-command--folio-commands { color: var(--kol-folio-ink); box-shadow: 0 2px 6px -2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.4); }
1149
+ .kol-command-head--folio,
1150
+ .kol-command-result--folio { border-color: var(--kol-folio-rule); }
1151
+ .kol-command-search--folio { font-family: var(--kol-font-family-float); font-size: 13px; font-weight: 500; line-height: 1.21; }
1152
+ .kol-command-search--folio::placeholder,
1153
+ .kol-command-hint--folio,
1154
+ .kol-command-empty--folio { color: var(--kol-folio-muted); }
1155
+ .kol-command-result--folio.is-active,
1156
+ .kol-command-row--folio.is-active { background-color: var(--kol-folio-surface); }
1157
+ .kol-command-field--folio { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; border-color: var(--kol-folio-rule); }
1158
+ .kol-command-row--folio { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; }
1159
+ .kol-shortcuts--folio { box-shadow: 0 24px 64px rgb(0 0 0 / 0.18); }
1160
+ .kol-shortcuts-title--folio { color: var(--kol-folio-muted); }
1161
+ .kol-shortcuts-row--folio { border-color: var(--kol-folio-rule); }
1162
+ .kol-shortcuts-combo--folio { color: var(--kol-folio-green); }
1163
+
1164
+ /* Table kolbox (kolbox's FileList with its head and rows): the head Inter 11 / 16 at 450 in the muted ink, the sorted
1165
+ column the ink; a row 11 / 16 at 450 in the ink, the name 550 (Figma's list, measured: plan-2026-11-23 W6); hover and keyboard focus the fg-04 lift; the size mono 10 / 14 muted */
1166
+ .kol-table--kolbox .kol-table-head { font-size: 11px; line-height: 16px; font-weight: 450; letter-spacing: 0.005em; color: var(--kol-oq-64); }
1167
+ .kol-table--kolbox .kol-table-head .is-sorted { color: var(--kol-surface-on-primary); }
1168
+ .kol-table--kolbox .kol-table-row { border-bottom: none; font-size: 11px; line-height: 16px; font-weight: 450; letter-spacing: 0.005em; color: var(--kol-surface-on-primary); } /* no rule between rows: Figma's list draws none (W4b, 2026-11-23) */
1169
+ .kol-table--kolbox .kol-table-row:hover,
1170
+ .kol-table--kolbox .kol-table-row:focus-visible { background-color: var(--kol-fg-04); }
1171
+ .kol-table--kolbox .kol-table-name { font-weight: 550; }
1172
+ .kol-table--kolbox .kol-table-icon { color: var(--kol-oq-64); }
1173
+ .kol-table--kolbox .kol-table-size { font-family: var(--kol-font-family-mono); font-size: 10px; line-height: 14px; color: var(--kol-oq-64); }
1174
+
1175
+ /* Table folio (Folio's table of books, Folio batch E): the head muted over the 2px ink rule, rows on Folio's hairline,
1176
+ the surface under the pointer, the arrow muted until its row is hovered. Folio's own colors (kol-color.css) */
1177
+ .kol-table--folio .kol-table-head { color: var(--kol-folio-muted); border-color: var(--kol-folio-ink); }
1178
+ .kol-table--folio .kol-table-row { border-color: var(--kol-folio-rule); }
1179
+ .kol-table--folio .kol-table-row:hover { background-color: var(--kol-folio-surface); }
1180
+ .kol-table--folio .kol-table-arrow { color: var(--kol-folio-muted); }
1181
+ .kol-table--folio .kol-table-row:hover .kol-table-arrow { color: var(--kol-folio-ink); }
1182
+
1183
+ /* ReadingContents folio (Folio's contents in the reader's left Rail, Folio batch E): the head over the ink rule; the
1184
+ current chapter on mint in the green, the others the surface under the pointer; a chapter's headings on a hairline,
1185
+ quiet until hovered; the progress figure green over the rule-colored track */
1186
+ .kol-reading-contents--folio .kol-reading-contents-muted { color: var(--kol-folio-muted); }
1187
+ .kol-reading-contents--folio .kol-reading-contents-head { border-color: var(--kol-folio-ink); }
1188
+ .kol-reading-contents--folio .kol-reading-contents-row:hover { background-color: var(--kol-folio-surface); }
1189
+ .kol-reading-contents--folio .kol-reading-contents-row:not(.is-current) .kol-reading-contents-number { color: var(--kol-folio-muted); }
1190
+ .kol-reading-contents--folio .kol-reading-contents-row.is-current { background-color: var(--kol-folio-mint); color: var(--kol-folio-green); }
1191
+ .kol-reading-contents--folio .kol-reading-contents-sections { border-color: var(--kol-folio-rule); }
1192
+ .kol-reading-contents--folio .kol-reading-contents-quiet { color: var(--kol-folio-muted); }
1193
+ .kol-reading-contents--folio .kol-reading-contents-quiet:hover { color: var(--kol-folio-ink); }
1194
+ .kol-reading-contents--folio .kol-reading-contents-heading:hover { background-color: var(--kol-folio-surface); }
1195
+ .kol-reading-contents--folio .kol-reading-contents-progress { border-color: var(--kol-folio-rule); }
1196
+ .kol-reading-contents--folio .kol-reading-contents-figure { color: var(--kol-folio-green); }
1197
+ .kol-reading-contents--folio .kol-reading-contents-track { background-color: var(--kol-folio-rule); }
1198
+ .kol-reading-contents--folio .kol-reading-contents-fill { background-color: var(--kol-folio-green); }
1199
+
1200
+ /* EditorShell kolbox (kolbox's Shell): square, every junction with RailSwitcher and the rails square as Figma's (W16.2,
1201
+ the 12 radius of the old rounded window went), the ground, the label voice in the ink; the canvas oq-08 */
1202
+ .kol-editor-shell--kolbox { background-color: var(--kol-surface-primary); font-family: var(--kol-font-family-sans); font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); font-weight: 500; color: var(--kol-surface-on-primary); }
1203
+ .kol-editor-shell--kolbox .kol-editor-canvas--kolbox { background-color: var(--kol-kolbox-canvas); }
1204
+
1205
+ /* LogoSystem and LogoTuner (W27.4, 2026-11-19): the tuner boards' inks as KOL tokens. The form the ink, grey oq-32 (the
1206
+ wedges too); construction and math 1-wide ink lines (their opacity is the board's); the grid fg-24; the traced line
1207
+ red; the curvature comb yellow, orange and red at 0.8; the handles the accent; the labels mono 15 in board units;
1208
+ a reference image at 0.28 */
1209
+ .kol-logo-board .kol-logo-form { fill: var(--kol-fg-96); }
1210
+ .kol-logo-board .kol-logo-form.is-grey,
1211
+ .kol-logo-board .kol-logo-wedges { fill: var(--kol-oq-32); }
1212
+ .kol-logo-board .kol-logo-lines { fill: none; stroke: var(--kol-fg-96); stroke-width: 1; }
1213
+ .kol-logo-board .kol-logo-grid { fill: none; stroke: var(--kol-fg-24); stroke-width: 1; }
1214
+ .kol-logo-board .kol-logo-trace { fill: none; stroke: var(--kol-palette-red); stroke-width: 1; }
1215
+ .kol-logo-board .kol-logo-dots { fill: var(--kol-fg-96); }
1216
+ .kol-logo-board .kol-logo-comb { opacity: 0.8; }
1217
+ .kol-logo-board .kol-logo-comb.is-0 { fill: var(--kol-palette-yellow); }
1218
+ .kol-logo-board .kol-logo-comb.is-1 { fill: var(--kol-palette-orange); }
1219
+ .kol-logo-board .kol-logo-comb.is-2 { fill: var(--kol-palette-red); }
1220
+ .kol-logo-board .kol-logo-handle { fill: var(--kol-accent-primary); stroke: var(--kol-accent-on-primary); cursor: grab; }
1221
+ .kol-logo-board .kol-logo-label { font-family: var(--kol-font-family-mono); font-size: 15px; fill: var(--kol-fg-96); }
1222
+ .kol-logo-board .kol-logo-ref { opacity: 0.28; }
1223
+ /* a board given its settings' palette (logoBoard inksOf, R9 2026-11-19): the canvas's ground behind it, its ink on the
1224
+ form, lines, dots and labels, the grid that ink at 0.22, the grey form the canvas's #b3b3b3 */
1225
+ .kol-logo-board.is-inked { background-color: var(--kol-logo-ground); }
1226
+ .kol-logo-board.is-inked .kol-logo-form,
1227
+ .kol-logo-board.is-inked .kol-logo-dots,
1228
+ .kol-logo-board.is-inked .kol-logo-label { fill: var(--kol-logo-ink); }
1229
+ .kol-logo-board.is-inked .kol-logo-lines { stroke: var(--kol-logo-ink); }
1230
+ .kol-logo-board.is-inked .kol-logo-grid { stroke: var(--kol-logo-ink); opacity: 0.22; }
1231
+ .kol-logo-board.is-inked .kol-logo-form.is-grey,
1232
+ .kol-logo-board.is-inked .kol-logo-wedges { fill: #b3b3b3; }
1233
+
1234
+ /* =============================================================================
1235
+ * FOLIO, batch C (Folio batch C, 2026-11-22). `variant="folio"`, carried class for class from
1236
+ * apps/folio/src/folio/Chrome.jsx. Every rule hangs off the variant's own root class.
1237
+ * ============================================================================= */
1238
+
1239
+ /* LabeledControlSection folio (Folio's SettingGroup): the heading 12 / 17 medium in the ink */
1240
+ .kol-section--folio > .kol-section-title--folio { font-size: 12px; font-weight: 500; line-height: 17px; color: var(--kol-folio-ink); }
1241
+
1242
+ /* ColorPickerPopover folio (Folio's SwatchMenu): the panel on paper in the hairline, Folio's lift (its own two shadows) */
1243
+ .kol-color-picker--folio > .kol-color-picker-panel { border-color: var(--kol-folio-rule); background-color: var(--kol-folio-paper); box-shadow: 0 2px 6px -2px rgb(0 0 0 / 0.3), 0 8px 24px -8px rgb(0 0 0 / 0.4); }
1244
+
1245
+ /* =============================================================================
1246
+ * FindBar and StatusBar (Folio on kolbox, 2026-11-22): the document's find bar and status bar, new parts. kolbox on the
1247
+ * rail ground with the one kolbox line against the canvas; folio carried class for class from apps/folio EditorChrome.jsx.
1248
+ * ============================================================================= */
1249
+
1250
+ /* FindBar kolbox: the rail ground, the kolbox line under it, the count in oq-64, the rule between find and replace */
1251
+ .kol-find-bar--kolbox { background-color: var(--kol-surface-secondary); border-color: var(--kol-kolbox-line); color: var(--kol-surface-on-primary); }
1252
+ .kol-find-bar--kolbox .kol-find-bar-count { color: var(--kol-oq-64); }
1253
+ .kol-find-bar--kolbox .kol-find-bar-rule { background-color: var(--kol-kolbox-line); }
1254
+
1255
+ /* StatusBar kolbox: the rail ground, the kolbox line over it, the ink; the counts in oq-64 */
1256
+ .kol-status-bar--kolbox { background-color: var(--kol-surface-secondary); border-color: var(--kol-kolbox-line); color: var(--kol-surface-on-primary); }
1257
+ .kol-status-bar--kolbox .kol-status-bar-left { color: var(--kol-oq-64); }
1258
+
1259
+ /* FindBar folio: its surface under the rule; the count and Aa Folio's meta in the muted ink, Aa lit mint with green */
1260
+ .kol-find-bar--folio { background-color: var(--kol-folio-surface); border-color: var(--kol-folio-rule); }
1261
+ .kol-find-bar--folio .kol-find-bar-count,
1262
+ .kol-find-bar--folio .kol-find-bar-case { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; color: var(--kol-folio-muted); }
1263
+ .kol-find-bar--folio .kol-find-bar-case:hover { background-color: var(--kol-folio-paper); }
1264
+ .kol-find-bar--folio .kol-find-bar-case.is-on { background-color: var(--kol-folio-mint); color: var(--kol-folio-green); }
1265
+ .kol-find-bar--folio .kol-find-bar-rule { background-color: var(--kol-folio-rule); }
1266
+ .kol-find-bar--folio .kol-find-bar-close { color: var(--kol-folio-muted); }
1267
+
1268
+ /* StatusBar folio: Folio's meta over its rule, the counts muted */
1269
+ .kol-status-bar--folio { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; border-color: var(--kol-folio-rule); }
1270
+ .kol-status-bar--folio .kol-status-bar-left { color: var(--kol-folio-muted); }
@@ -337,3 +337,67 @@
337
337
  /* ── StudioDetail — the preview's hover veil (kol-shell 0.78.0, 2026-10-24): "Click to expand" over the image on hover
338
338
  only; the overlay itself is opacity 0 inline, so a touch device never sees it until a tap opens the full view ── */
339
339
  .kol-detail-preview:hover .kol-detail-preview-overlay { opacity: 1; }
340
+
341
+ /* batch 5 (W31.2, 2026-11-18): kolbox's tool dock, transport, phone nav, file browser frame and document title, carried
342
+ class for class from apps/kolbox. Every rule hangs off the variant's own root class; only what kolbox's own classes
343
+ set. The dock's surface is `.kol-kolbox-surface` (kol-components-atoms.css). */
344
+
345
+ /* ToolRail kolbox (kolbox's ToolDock): radius 12, the panel fill; its rules 1 by 24 in oq-24. A slot (ToolRailSlot) 32
346
+ square (Figma's dock, W16.3), radius 6, the 20 glyph in the ink (R3.4, his "bigger icons", drawn white as his reference), hover the field
347
+ fill; the armed tool solid accent on the accent's ink;
348
+ a lit toggle the accent tint. A tool with a fold is ButtonSplit kolbox's icon-only form (kol-components-molecules.css) */
349
+ .kol-tool-rail--kolbox { border-radius: var(--kol-radius-13); /* Figma's toolbar, measured 13 (W7) */ background-color: var(--kol-surface-secondary); }
350
+ .kol-tool-rail--kolbox .kol-tool-rail-rule { background-color: var(--kol-kolbox-line); }
351
+ .kol-tool-slot--kolbox { border-radius: var(--kol-radius-4); color: var(--kol-surface-on-primary); }
352
+ .kol-tool-slot--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
353
+ .kol-tool-slot--kolbox:not(.is-active):not(.is-lit):enabled:hover { background-color: var(--kol-kolbox-field); color: var(--kol-surface-on-primary); }
354
+ /* a lit toggle: the field wash and the ink; only the armed tool keeps the accent (plan-2026-11-23-editor-measured-against-figma W4) */
355
+ .kol-tool-slot--kolbox.is-lit { background-color: var(--kol-kolbox-field); color: var(--kol-surface-on-primary); }
356
+ .kol-tool-slot--kolbox.is-active { background-color: var(--kol-accent-primary); color: var(--kol-accent-on-primary); }
357
+
358
+ /* ToolRail folio (Folio's ToolRow, batch D 2026-11-22): its rule under it in Folio's rule ink */
359
+ .kol-tool-rail--folio { border-color: var(--kol-folio-rule); }
360
+
361
+ /* AppFloatNav folio, transport (Folio's ToolTransport, batch D 2026-11-22): its slots are Button folio's icon (batch A);
362
+ the time mono 12 / 16, its total muted */
363
+ .kol-transport--folio .kol-transport-time { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; }
364
+ .kol-transport--folio .kol-transport-total { color: var(--kol-folio-muted); }
365
+
366
+ /* AppFloatNav kolbox, transport: the time mono 12 / 16 in the ink */
367
+ .kol-transport--kolbox .kol-transport-time { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; color: var(--kol-surface-on-primary); }
368
+
369
+ /* AppFloatNav kolbox, the phone nav (kolbox's RailPhone): the pill and More's circle on the field fill, the lit slot
370
+ oq-24, the glyphs in the ink */
371
+ .kol-phone-nav--kolbox .kol-phone-nav-pill,
372
+ .kol-phone-nav--kolbox .kol-phone-nav-slot.is-round { background-color: var(--kol-kolbox-field); }
373
+ .kol-phone-nav--kolbox .kol-phone-nav-slot { color: var(--kol-surface-on-primary); }
374
+ .kol-phone-nav--kolbox .kol-phone-nav-slot.is-lit:not(.is-round) { background-color: var(--kol-kolbox-field-strong); }
375
+ .kol-phone-nav--kolbox .kol-phone-nav-slot:focus-visible { outline-color: var(--kol-accent-primary); }
376
+
377
+ /* CatalogPage kolbox (kolbox's Browser): the panel fill, the sans at 12 / 16 in the ink */
378
+ .kol-catalog-page--kolbox { background-color: var(--kol-surface-secondary); font-family: var(--kol-font-family-sans); font-size: 12px; line-height: 16px; color: var(--kol-surface-on-primary); }
379
+
380
+ /* DocumentCapsule kolbox (the top rail's document title): the slash 14 / 20 muted; the name 13 / 18 medium in the ink,
381
+ the accent on hover and while its menu is open; the chevron muted at rest */
382
+ .kol-document-title--kolbox .kol-document-title-slash { font-size: 14px; line-height: 20px; color: var(--kol-oq-64); }
383
+ .kol-document-title--kolbox .kol-document-title-name { border-radius: var(--kol-radius-4); font-size: 13px; line-height: 18px; font-weight: var(--kol-kolbox-title-weight, 500); color: var(--kol-surface-on-primary); }
384
+ .kol-document-title--kolbox .kol-document-title-name:enabled:hover,
385
+ .kol-document-title--kolbox .kol-document-title-name.is-open { background-color: var(--kol-kolbox-field); } /* (plan-2026-11-23-editor-measured-against-figma W4), was the accent ink */
386
+ .kol-document-title--kolbox .kol-document-title-name:focus-visible { outline-color: var(--kol-accent-primary); }
387
+ .kol-document-title--kolbox .kol-document-title-chevron { color: var(--kol-oq-64); }
388
+
389
+ /* MenuBar folio (Folio batch B, 2026-11-22): the bar between two rules; a trigger Folio's meta in the ink, the surface on
390
+ hover and while its list is open */
391
+ .kol-menubar--folio { border-color: var(--kol-folio-rule); }
392
+ .kol-menubar-trigger--folio { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; color: var(--kol-folio-ink); }
393
+ .kol-menubar-trigger--folio:hover,
394
+ .kol-menubar-trigger--folio.is-open { background-color: var(--kol-folio-surface); }
395
+
396
+ /* MenuBar kolbox (Folio on kolbox, 2026-11-22; kolbox's retired top rail bar): the panel fill, the rails' line under it;
397
+ a trigger radius 4, the label role (12 / 16 at the look's label weight) in the ink, the field fill on hover and while
398
+ its list is open, the accent's focus line */
399
+ .kol-menubar--kolbox { background-color: var(--kol-surface-secondary); border-color: var(--kol-kolbox-line); }
400
+ .kol-menubar-trigger--kolbox { border-radius: var(--kol-radius-4); font-family: var(--kol-font-family-sans); font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); font-weight: var(--kol-kolbox-label-weight, 500); color: var(--kol-surface-on-primary); }
401
+ .kol-menubar-trigger--kolbox:hover,
402
+ .kol-menubar-trigger--kolbox.is-open { background-color: var(--kol-kolbox-field); }
403
+ .kol-menubar-trigger--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
@@ -479,6 +479,6 @@
479
479
  .kol-lab-grid { grid-template-rows: 1fr; grid-template-columns: clamp(320px, var(--kol-lab-rail-w), 560px) minmax(0, 1fr); }
480
480
  }
481
481
  /* the colour column's hex IS the "Edit color" button (review 1, Adobe's ref 2): bare, a wash of the column's own ink on hover */
482
- .kol-lab-hex { border-radius: var(--kol-radius-sm, 4px); color: inherit; }
482
+ .kol-lab-hex { border-radius: var(--kol-radius-4, 4px); color: inherit; }
483
483
  .kol-lab-hex:hover,
484
484
  .kol-lab-hex[aria-expanded="true"] { background: color-mix(in srgb, currentColor 14%, transparent); }
@@ -178,7 +178,7 @@
178
178
  max-height: calc(100dvh - 2 * var(--kol-spacing-12));
179
179
  padding: var(--kol-spacing-6);
180
180
  border: 1px solid var(--kol-oq-08);
181
- border-radius: var(--kol-radius-sm);
181
+ border-radius: var(--kol-radius-4);
182
182
  overflow-x: auto;
183
183
  }
184
184
  .shell-tree-space {
@@ -624,7 +624,7 @@
624
624
  .docs-card {
625
625
  display: block;
626
626
  padding: 16px;
627
- border-radius: var(--kol-radius-sm);
627
+ border-radius: var(--kol-radius-4);
628
628
  border: 1px solid;
629
629
  border-color: color-mix(in srgb, var(--kol-surface-on-primary) 4%, transparent);
630
630
  background: transparent;
@@ -645,7 +645,7 @@
645
645
  /* Compact doc card for sidebar */
646
646
  .docs-card--compact {
647
647
  padding: 8px 12px;
648
- border-radius: var(--kol-radius-sm);
648
+ border-radius: var(--kol-radius-4);
649
649
  }
650
650
 
651
651
  .docs-title-link {
@@ -789,7 +789,7 @@
789
789
  .docs-image {
790
790
  max-width: 100%;
791
791
  height: auto;
792
- border-radius: var(--kol-radius-sm);
792
+ border-radius: var(--kol-radius-4);
793
793
  margin-block: 1.5rem;
794
794
  }
795
795
 
@@ -844,7 +844,7 @@
844
844
  gap: 6px;
845
845
  padding: 6px 12px;
846
846
  border: 1px solid color-mix(in srgb, var(--kol-surface-on-primary) 16%, transparent);
847
- border-radius: var(--kol-radius-sm);
847
+ border-radius: var(--kol-radius-4);
848
848
  background: transparent;
849
849
  cursor: pointer;
850
850
  transition: all 0.15s ease;
@@ -897,7 +897,7 @@
897
897
  aspect-ratio: 1;
898
898
  position: relative;
899
899
  overflow: hidden;
900
- border-radius: var(--kol-radius-sm);
900
+ border-radius: var(--kol-radius-4);
901
901
  background: color-mix(in srgb, var(--kol-surface-on-primary) 4%, transparent);
902
902
  }
903
903
 
@@ -8,11 +8,16 @@
8
8
  * import — `@import "./kol-design-tokens.css" layer(components);`.
9
9
  */
10
10
  :root {
11
- /* Spacing scale (4px base) */
11
+ /* Spacing scale (4px base). The name is px ÷ 4, a decimal written with a dash. 1, 6, 10 and 14 added
12
+ * 2026-11-18 (plan-2026-11-18-kolbox-system W1.1: tool UIs sit under 16, where the scale had four stops) */
13
+ --kol-spacing-0-25: 0.0625rem; /* 1px */
12
14
  --kol-spacing-0-5: 0.125rem; /* 2px — the gap between list rows, so two fills never touch (2026-11-12) */
13
15
  --kol-spacing-1: 0.25rem; /* 4px */
16
+ --kol-spacing-1-5: 0.375rem; /* 6px */
14
17
  --kol-spacing-2: 0.5rem; /* 8px */
18
+ --kol-spacing-2-5: 0.625rem; /* 10px */
15
19
  --kol-spacing-3: 0.75rem; /* 12px */
20
+ --kol-spacing-3-5: 0.875rem; /* 14px */
16
21
  --kol-spacing-4: 1rem; /* 16px */
17
22
  --kol-spacing-5: 1.25rem; /* 20px */
18
23
  --kol-spacing-6: 1.5rem; /* 24px */
@@ -127,23 +132,29 @@
127
132
  --kol-content-column: 768px;
128
133
  --kol-content-measure: 65ch;
129
134
 
130
- /* Border radius (4px increments) */
131
- --kol-radius-none: 0;
132
- /* xs (2026-08-01) — the hairline rung. Claimed out loud: 2px had SIX
133
- hand-written `rounded-[2px]` call sites (swatches, color rows, the
134
- glass panel) and no token, so the scale's 4px floor was simply being
135
- ignored rather than followed. A value used six times is a rung. */
136
- --kol-radius-xs: 2px;
137
- --kol-radius-sm: 4px;
138
- /* CONTAINERS ARE 4px (user ruling 2026-08-09, "change 8px radius to 4px in
139
- containers. everywhere."). The repo ships 4px or full, nothing between —
140
- md/lg/xl/2xl stay resolvable so no consumer's var() breaks, but they all
141
- collapse to the 4px value. Do not re-widen a rung without a ruling. */
142
- --kol-radius-md: 4px;
143
- --kol-radius-lg: 4px;
144
- --kol-radius-xl: 4px;
145
- --kol-radius-2xl: 4px;
135
+ /* Border radius — NAMED BY ITS NUMBER (plan-2026-11-18-kolbox-system W1.2, his word: *"I want numbers for radius not
136
+ xc sm md etc."*). One value in every theme: a theme does not change a corner. 2 is the hairline rung (2026-08-01:
137
+ six hand-written `rounded-[2px]` call sites and no token). 4 IS STILL THE CONTAINER (user ruling 2026-08-09,
138
+ "change 8px radius to 4px in containers. everywhere."): the new 6, 8, 12 and 16 are rungs a tool UI may pick, not
139
+ a re-widening of any container, and every old name below still lands on 4. */
140
+ --kol-radius-0: 0;
141
+ --kol-radius-2: 2px;
142
+ --kol-radius-4: 4px;
143
+ --kol-radius-6: 6px;
144
+ --kol-radius-8: 8px;
145
+ --kol-radius-12: 12px;
146
+ --kol-radius-13: 13px; /* Figma's file card and toolbar corner, measured (plan-2026-11-23-editor-measured-against-figma W6, W7); kolbox only */
147
+ --kol-radius-16: 16px;
146
148
  --kol-radius-full: 9999px;
149
+ /* ALIASES — the size names (on the retirement ledger 2026-11-18), each the px it was: none 0, xs 2, the rest 4
150
+ (md/lg/xl/2xl collapsed to 4 by the 2026-08-09 ruling). New code writes the number. */
151
+ --kol-radius-none: var(--kol-radius-0);
152
+ --kol-radius-xs: var(--kol-radius-2);
153
+ --kol-radius-sm: var(--kol-radius-4);
154
+ --kol-radius-md: var(--kol-radius-4);
155
+ --kol-radius-lg: var(--kol-radius-4);
156
+ --kol-radius-xl: var(--kol-radius-4);
157
+ --kol-radius-2xl: var(--kol-radius-4);
147
158
 
148
159
  /* Shadows (subtle elevation) */
149
160
  --kol-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
@@ -214,6 +225,28 @@
214
225
  /* the float window's width (ModalDialog float, the useModal float prompts, QuickLookFrame float; plan-2026-11-12-one-header
215
226
  * W6.1, P8: *"why doesnt it use width?"*) — was a literal 562 / 418 in each */
216
227
  --kol-float-window-w: 562px;
228
+ /* the kolbox variant's widths (his ruling 2026-11-18, plan-2026-11-18-kolbox-system 31.1b: kolbox's widths are kept and
229
+ * written as the kolbox variant's; foundations 09-sizes.md): a popover's panel 240 (its color, stroke and effect
230
+ * popovers, beside the 240 rail) and a centred window 480 (a confirm, a prompt, the restore prompt) */
231
+ --kol-kolbox-popover-w: 240px;
232
+ --kol-kolbox-modal-w: 480px;
233
+ /* batch 5: the rails (240, the collapsed strip 49), the search modal (576), the timeline (200, 480 expanded) */
234
+ --kol-kolbox-rail-w: 240px;
235
+ --kol-kolbox-rail-w-collapsed: 49px;
236
+ --kol-kolbox-search-w: 576px;
237
+ --kol-kolbox-timeline-h: 200px;
238
+ --kol-kolbox-timeline-h-expanded: 480px;
239
+ /* the kolbox control height, ONE place (his ruling 2026-11-19, "they should all be 24 not 28", from his Figma frame):
240
+ * every kolbox control reads it (Button and its icon button and hover frame, ButtonSplit, ButtonGroup joined, Input
241
+ * sm, Dropdown, TabsRow sm, Slider, ToggleSwitch, ToggleCheckbox, ColorInputRow, LabeledControl's row, the timeline's
242
+ * time and zoom fields; apps/kolbox's `h-control`). Was 28 */
243
+ --kol-kolbox-ctl: var(--kol-ctl-24);
244
+ /* the kolbox UI text, ONE place (plan-2026-11-23-editor-measured-against-figma W2, read from Figma's own editor by the rig
245
+ * in _tmp/2026-11-23-editor-diff): every label, row, section heading and button reads Inter 11 on a 16 line at 0.005em
246
+ * (Figma 0.055px). Was 12 on 16 or 17, set by eye */
247
+ --kol-kolbox-text: 11px;
248
+ --kol-kolbox-text-lh: 16px;
249
+ --kol-kolbox-text-ls: 0.005em;
217
250
  /* the module's rows: the label column of a LabeledControl float `inline` row and its gap to the control; the
218
251
  * regular rhythm between rows (compact is spacing-2); the collapsed-v module's pill (`--kol-float-fold-h` is its
219
252
  * deprecated alias, plan-2026-11-12-one-header W2.1) */
@@ -387,9 +420,15 @@
387
420
  * them to NOTHING EMITTED, no error — the same silent failure this block was
388
421
  * written to end for `z-modal`. Closing the ladder is a real ruling and it
389
422
  * needs its own sweep, not a side effect of registering the scale. */
423
+ /* the 2026-11-18 stops (W1.1): `gap-px`, `p-1.5`, `p-2.5` and `p-3.5` resolve through KOL's token; Tailwind's own
424
+ * name for 1px is `px` */
425
+ --spacing-px: var(--kol-spacing-0-25);
390
426
  --spacing-1: var(--kol-spacing-1);
427
+ --spacing-1\.5: var(--kol-spacing-1-5);
391
428
  --spacing-2: var(--kol-spacing-2);
429
+ --spacing-2\.5: var(--kol-spacing-2-5);
392
430
  --spacing-3: var(--kol-spacing-3);
431
+ --spacing-3\.5: var(--kol-spacing-3-5);
393
432
  --spacing-4: var(--kol-spacing-4);
394
433
  --spacing-5: var(--kol-spacing-5);
395
434
  --spacing-6: var(--kol-spacing-6);
package/kol-theme.css CHANGED
@@ -39,6 +39,8 @@
39
39
  @import "./kol-type-mono-classes.css" layer(components);
40
40
  @import "./kol-type-roles.css" layer(components);
41
41
  @import "./kol-type-float-classes.css" layer(components);
42
+ @import "./kol-type-kolbox-classes.css" layer(components);
43
+ @import "./kol-type-folio-classes.css" layer(components);
42
44
  @import "./kol-utilities.css" layer(components);
43
45
  @import "./kol-components-atoms.css" layer(components);
44
46
  @import "./kol-components-molecules.css" layer(components);
@@ -0,0 +1,58 @@
1
+ /**
2
+ * kol-type-folio-classes — the folio look's type roles (Folio migration batch 0, 2026-11-22).
3
+ *
4
+ * Fifteen roles and the reading text, carried value for value from apps/folio's own family (src/folio/reader.css, where
5
+ * they were `kol-reader-*`), as kolbox's are in kol-type-kolbox-classes.css. Roles from the Folio Figma frame 228:13142
6
+ * ("03 / One family. A clear hierarchy."). The face is the float style's Inter, `--kol-font-family-float`, as Folio reads
7
+ * it; the reading text's mono is `--kol-font-family-mono`. Sizes are fixed, except the prose, which the viewer sizes.
8
+ *
9
+ * role size / weight / line, tracking use
10
+ * wordmark 38 / 800 / normal, -2 the masthead's "folio"
11
+ * title 72 / 700 / 1, -3.4 a page title (My library, an article)
12
+ * figure 56 / 700 / 1, -2.5 a big count
13
+ * chapter 56 / 700 / 1.05, -2.4 a chapter's opening title
14
+ * section 28 / 700 / 1.2, -0.8 a section heading
15
+ * book 25 / 700 / 1.21, -0.7 a book's title in a card or the rail
16
+ * shelf 16 / 700 / 1.2, -0.3 a title under a cover
17
+ * row 14 / 600 a book's title in the table
18
+ * glyph 16 / 400 the chevron, plus and arrow beside a control's label
19
+ * nav 13 / 500 masthead and rail links
20
+ * body 13 / 400 / 1.5 interface body text
21
+ * control 12 / 600 buttons and fields
22
+ * meta 11 / 400 supporting text
23
+ * meta-sm 10 / 400 table metadata
24
+ * label 10 / 600, +1.1, capitals kickers and column heads
25
+ * prose --kol-folio-prose-size (16 default) / 400 / 1.65 the reading text; em-scaled inside, data-family="mono" for mono
26
+ */
27
+
28
+ .kol-folio-wordmark { font-family: var(--kol-font-family-float); font-size: 38px; font-weight: 800; line-height: normal; letter-spacing: -2px; }
29
+ .kol-folio-title { font-family: var(--kol-font-family-float); font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -3.4px; }
30
+ .kol-folio-figure { font-family: var(--kol-font-family-float); font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -2.5px; }
31
+ .kol-folio-chapter { font-family: var(--kol-font-family-float); font-size: 56px; font-weight: 700; line-height: 1.05; letter-spacing: -2.4px; }
32
+ .kol-folio-section { font-family: var(--kol-font-family-float); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.8px; }
33
+ .kol-folio-book { font-family: var(--kol-font-family-float); font-size: 25px; font-weight: 700; line-height: 1.21; letter-spacing: -0.7px; }
34
+ .kol-folio-shelf { font-family: var(--kol-font-family-float); font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -0.3px; }
35
+ .kol-folio-row { font-family: var(--kol-font-family-float); font-size: 14px; font-weight: 600; line-height: 1.21; }
36
+ .kol-folio-glyph { font-family: var(--kol-font-family-float); font-size: 16px; font-weight: 400; line-height: 1; }
37
+ .kol-folio-nav { font-family: var(--kol-font-family-float); font-size: 13px; font-weight: 500; line-height: 1.21; }
38
+ .kol-folio-body { font-family: var(--kol-font-family-float); font-size: 13px; font-weight: 400; line-height: 1.5; }
39
+ .kol-folio-control { font-family: var(--kol-font-family-float); font-size: 12px; font-weight: 600; line-height: 1.21; }
40
+ .kol-folio-meta { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; }
41
+ .kol-folio-meta-sm { font-family: var(--kol-font-family-float); font-size: 10px; font-weight: 400; line-height: 1.21; }
42
+ .kol-folio-label { font-family: var(--kol-font-family-float); font-size: 10px; font-weight: 600; line-height: 1.21; letter-spacing: 1.1px; text-transform: uppercase; }
43
+
44
+ /* the reading text, sized by the viewer (−/+), set in sans or mono */
45
+ .kol-folio-prose {
46
+ font-family: var(--kol-font-family-float);
47
+ font-size: var(--kol-folio-prose-size, 16px);
48
+ font-weight: 400;
49
+ line-height: 1.65;
50
+ }
51
+ .kol-folio-prose[data-family="mono"] { font-family: var(--kol-font-family-mono), ui-monospace, monospace; line-height: 1.6; }
52
+ .kol-folio-prose h2 { font-family: var(--kol-font-family-float); font-size: 1.75em; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
53
+ .kol-folio-prose h3 { font-family: var(--kol-font-family-float); font-size: 1.25em; font-weight: 700; line-height: 1.3; }
54
+ .kol-folio-prose h4 { font-family: var(--kol-font-family-float); font-size: 0.625em; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
55
+ .kol-folio-prose blockquote { font-size: 1.25em; font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; }
56
+ .kol-folio-prose table { font-size: 0.875em; line-height: 1.5; }
57
+ .kol-folio-prose th { font-family: var(--kol-font-family-float); font-size: 10px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
58
+ .kol-folio-prose pre { font-size: 0.9em; }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * kol-type-kolbox-classes — the kolbox look's type roles (plan-2026-11-18-kolbox-system W31.2, batch 0, 2026-11-18).
3
+ *
4
+ * Eleven roles, carried value for value from kolbox's own steps (apps/kolbox/src/index.css: text-title … text-rail-title),
5
+ * as float's are in kol-type-float-classes.css. Each class sets family, size, weight and line-height. Sizes are fixed: a
6
+ * kolbox role is a control-sized voice, not a fluid one. The families are the theme's own (`--kol-font-family-sans`,
7
+ * `--kol-font-family-mono`), as kolbox reads them, so a theme variant that sets its families reaches these roles too.
8
+ *
9
+ * role size / weight / lh use
10
+ * title 16 / 500 / 22 a window's or a rail's title line
11
+ * rail-title 14 / 500 / 20 the selection's name in a rail's header
12
+ * body 14 / 400 / 20 body text
13
+ * document 13 / 500 / 22 the file's name (rail and top rail)
14
+ * brand 15 / 600 / 21 the KOL mark's word
15
+ * section 11 / 500 / 16 a section heading
16
+ * label 11 / 500 / 16 control labels
17
+ * row 11 / 400 / 16 list and menu rows
18
+ * help 11 / 400 / 15 help and hints
19
+ * value 12 / 400 / 16 mono values in fields
20
+ * meta 10 / 400 / 14 mono metadata
21
+ */
22
+
23
+ .kol-kolbox-title { font-family: var(--kol-font-family-sans); font-size: 16px; font-weight: var(--kol-kolbox-title-weight, 500); line-height: 22px; }
24
+ .kol-kolbox-rail-title { font-family: var(--kol-font-family-sans); font-size: 14px; font-weight: var(--kol-kolbox-title-weight, 500); line-height: 20px; }
25
+ .kol-kolbox-body { font-family: var(--kol-font-family-sans); font-size: 14px; font-weight: 400; line-height: 20px; }
26
+ .kol-kolbox-document { font-family: var(--kol-font-family-sans); font-size: 13px; font-weight: var(--kol-kolbox-title-weight, 500); line-height: 22px; }
27
+ .kol-kolbox-brand { font-family: var(--kol-font-family-sans); font-size: 15px; font-weight: 600; line-height: 21px; }
28
+ .kol-kolbox-section { font-family: var(--kol-font-family-sans); font-size: var(--kol-kolbox-text); font-weight: var(--kol-kolbox-title-weight, 500); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); }
29
+ .kol-kolbox-label { font-family: var(--kol-font-family-sans); font-size: var(--kol-kolbox-text); font-weight: var(--kol-kolbox-label-weight, 500); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); }
30
+ .kol-kolbox-row { font-family: var(--kol-font-family-sans); font-size: var(--kol-kolbox-text); font-weight: 400; line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); }
31
+ .kol-kolbox-help { font-family: var(--kol-font-family-sans); font-size: 11px; font-weight: 400; line-height: 15px; }
32
+ .kol-kolbox-value { font-family: var(--kol-font-family-mono); font-size: 12px; font-weight: 400; line-height: 16px; }
33
+ .kol-kolbox-meta { font-family: var(--kol-font-family-mono); font-size: 10px; font-weight: 400; line-height: 14px; }