@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.
- package/kol-base-tokens.css +15 -4
- package/kol-color.css +353 -0
- package/kol-components-atoms.css +175 -13
- package/kol-components-chess.css +8 -8
- package/kol-components-foundry.css +2 -2
- package/kol-components-molecules.css +394 -19
- package/kol-components-organisms.css +229 -5
- package/kol-components-shell.css +64 -0
- package/kol-components-styleguide.css +1 -1
- package/kol-components-workshop.css +6 -6
- package/kol-design-tokens.css +56 -17
- package/kol-theme.css +2 -0
- package/kol-type-folio-classes.css +58 -0
- package/kol-type-kolbox-classes.css +33 -0
- package/kol-type-mono-classes.css +27 -26
- package/kol-type-roles.css +23 -16
- package/kol-typography.css +131 -59
- package/package.json +1 -1
package/kol-components-atoms.css
CHANGED
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
* override the type class for one-off cases (e.g. uppercase labels in helpers)
|
|
46
46
|
* without forking the size variant.
|
|
47
47
|
*
|
|
48
|
-
* Radius is hard-coded to var(--kol-radius-
|
|
48
|
+
* Radius is hard-coded to var(--kol-radius-4) (4px). Repo invariant — never
|
|
49
49
|
* exceed 4px.
|
|
50
50
|
*/
|
|
51
51
|
|
|
52
52
|
.kol-control {
|
|
53
53
|
display: inline-flex;
|
|
54
54
|
align-items: center;
|
|
55
|
-
border-radius: var(--kol-radius-
|
|
55
|
+
border-radius: var(--kol-radius-4);
|
|
56
56
|
/* paint from the TONE properties (kol-components-molecules.css, TONE):
|
|
57
57
|
* `--filled` / `--outline` are aliases of the primary / outline tones, the
|
|
58
58
|
* fallback is filled, and a toned wrapper reaches a shell with no modifier */
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
* the xs radius; the icon-only square is 22, the same height (2026-09-02).
|
|
134
134
|
* Opt-in by prop only — the 2026-07-28 "dropdowns are sm at every viewport"
|
|
135
135
|
* law is untouched; nothing ramps to xs by viewport. */
|
|
136
|
-
.kol-control-xs { padding: 4px 8px; border-radius: var(--kol-radius-
|
|
136
|
+
.kol-control-xs { padding: 4px 8px; border-radius: var(--kol-radius-2); }
|
|
137
137
|
.kol-control-sm { padding: 4px 12px; }
|
|
138
138
|
.kol-control-md { padding: 6px 16px; }
|
|
139
139
|
.kol-control-lg { padding: 8px 20px; }
|
|
@@ -229,14 +229,14 @@
|
|
|
229
229
|
*
|
|
230
230
|
* Type: applied via .kol-mono-{12,14,16} on the size variant in JSX.
|
|
231
231
|
* No uppercase / capitalize — author strings in the case they should
|
|
232
|
-
* render (per ARCHITECTURE.md §2). Radius hard 4px (--kol-radius-
|
|
232
|
+
* render (per ARCHITECTURE.md §2). Radius hard 4px (--kol-radius-4).
|
|
233
233
|
* ═══════════════════════════════════════════════════════════════ */
|
|
234
234
|
|
|
235
235
|
.kol-btn {
|
|
236
236
|
display: inline-flex;
|
|
237
237
|
align-items: center;
|
|
238
238
|
justify-content: center;
|
|
239
|
-
border-radius: var(--kol-radius-
|
|
239
|
+
border-radius: var(--kol-radius-4);
|
|
240
240
|
white-space: nowrap;
|
|
241
241
|
transition: background-color var(--kol-transition-base),
|
|
242
242
|
color var(--kol-transition-base),
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
/* xs — the panel rung (ControlsXsRung, 2026-09-01): 22px shell (20 + ring), xs radius */
|
|
330
|
-
.kol-btn-xs { padding: 4px 8px; border-radius: var(--kol-radius-
|
|
330
|
+
.kol-btn-xs { padding: 4px 8px; border-radius: var(--kol-radius-2); }
|
|
331
331
|
.kol-btn-sm { padding: 4px 12px; }
|
|
332
332
|
.kol-btn-md { padding: 6px 16px; }
|
|
333
333
|
.kol-btn-lg { padding: 8px 20px; }
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
gap: 12px;
|
|
446
446
|
padding: 0;
|
|
447
447
|
border: 1px solid transparent;
|
|
448
|
-
border-radius: var(--kol-radius-
|
|
448
|
+
border-radius: var(--kol-radius-4);
|
|
449
449
|
background-color: transparent;
|
|
450
450
|
color: var(--kol-surface-on-primary);
|
|
451
451
|
cursor: pointer;
|
|
@@ -967,7 +967,7 @@ a:hover .icon-hover,
|
|
|
967
967
|
padding: 0.5rem;
|
|
968
968
|
background: color-mix(in srgb, var(--kol-surface-on-primary) 2%, transparent);
|
|
969
969
|
border: none;
|
|
970
|
-
border-radius: var(--kol-radius-
|
|
970
|
+
border-radius: var(--kol-radius-4);
|
|
971
971
|
color: color-mix(in srgb, var(--kol-surface-on-primary) 72%, transparent);
|
|
972
972
|
cursor: pointer;
|
|
973
973
|
transition: background-color var(--kol-transition-base), color var(--kol-transition-base);
|
|
@@ -993,7 +993,7 @@ a:hover .icon-hover,
|
|
|
993
993
|
height: 32px;
|
|
994
994
|
padding: 0;
|
|
995
995
|
border: none;
|
|
996
|
-
border-radius: var(--kol-radius-
|
|
996
|
+
border-radius: var(--kol-radius-4);
|
|
997
997
|
background: var(--kol-oq-12);
|
|
998
998
|
color: var(--kol-surface-on-primary);
|
|
999
999
|
cursor: pointer;
|
|
@@ -1097,6 +1097,10 @@ a:hover .icon-hover,
|
|
|
1097
1097
|
/* .kol-caption-label / .kol-caption-text retired 2026-07-28 — Figure rides
|
|
1098
1098
|
* the kol-doc-eyebrow / kol-doc-caption roles (one caption definition). */
|
|
1099
1099
|
|
|
1100
|
+
/* Figure folio (Folio's figure, Folio batch E): the image on Folio's hairline, the caption in its muted ink */
|
|
1101
|
+
.kol-figure--folio .kol-figure-image { border-color: var(--kol-folio-rule); }
|
|
1102
|
+
.kol-figure--folio .kol-figure-caption { color: var(--kol-folio-muted); }
|
|
1103
|
+
|
|
1100
1104
|
/* ── target-file: packages/theme/kol-components-atoms.css ──────────────
|
|
1101
1105
|
* Append directly after the .kol-btn-quiet block
|
|
1102
1106
|
* (after `.kol-btn-quiet:not(:disabled):hover { opacity: 1; }`). */
|
|
@@ -1163,7 +1167,7 @@ a:hover .icon-hover,
|
|
|
1163
1167
|
justify-content: center;
|
|
1164
1168
|
flex-shrink: 0;
|
|
1165
1169
|
line-height: 0;
|
|
1166
|
-
border-radius: var(--kol-radius-
|
|
1170
|
+
border-radius: var(--kol-radius-4);
|
|
1167
1171
|
padding: 0;
|
|
1168
1172
|
/* paint from the TONE properties (kol-components-molecules.css, TONE); the
|
|
1169
1173
|
* variant classes are aliases of the tones, the fallback is the `secondary`
|
|
@@ -1216,7 +1220,7 @@ a.kol-icon-frame {
|
|
|
1216
1220
|
* ONE rule rather than a second copy of the value — no --kol-* token holds a
|
|
1217
1221
|
* full round today (checked, zero hits), and inventing one for a single value
|
|
1218
1222
|
* used by one rule adds a name without adding a source of truth. If such a
|
|
1219
|
-
* token ever lands beside --kol-radius-
|
|
1223
|
+
* token ever lands beside --kol-radius-4, this one selector reads it. */
|
|
1220
1224
|
.kol-icon-frame-radius-full,
|
|
1221
1225
|
.kol-btn-radius-full { border-radius: 9999px; }
|
|
1222
1226
|
|
|
@@ -1261,7 +1265,7 @@ a.kol-icon-frame {
|
|
|
1261
1265
|
padding: 0;
|
|
1262
1266
|
border: 0;
|
|
1263
1267
|
background: transparent;
|
|
1264
|
-
border-radius: var(--kol-radius-
|
|
1268
|
+
border-radius: var(--kol-radius-4);
|
|
1265
1269
|
color: var(--kol-oq-32);
|
|
1266
1270
|
cursor: pointer;
|
|
1267
1271
|
}
|
|
@@ -1341,7 +1345,7 @@ a.kol-icon-frame {
|
|
|
1341
1345
|
display: inline-flex;
|
|
1342
1346
|
align-items: center;
|
|
1343
1347
|
justify-content: center;
|
|
1344
|
-
border-radius: var(--kol-radius-
|
|
1348
|
+
border-radius: var(--kol-radius-4);
|
|
1345
1349
|
white-space: nowrap;
|
|
1346
1350
|
cursor: pointer;
|
|
1347
1351
|
}
|
|
@@ -1699,3 +1703,161 @@ a.kol-icon-frame {
|
|
|
1699
1703
|
backdrop-filter: none;
|
|
1700
1704
|
}
|
|
1701
1705
|
}
|
|
1706
|
+
|
|
1707
|
+
/* =============================================================================
|
|
1708
|
+
* KOLBOX (plan-2026-11-18-kolbox-system W31.2, 2026-11-18). `variant="kolbox"`, the look a theme cannot carry, carried
|
|
1709
|
+
* class for class from apps/kolbox/src/ui. Every rule hangs off the variant's own root class, so the default and float
|
|
1710
|
+
* looks cannot change.
|
|
1711
|
+
* ============================================================================= */
|
|
1712
|
+
|
|
1713
|
+
/* XYPad: no stroke, the field's ground at radius 4, 1px guides, the puck in the ink, labels Inter 11 / 15 at the weight
|
|
1714
|
+
of the row it sits in (kolbox sets none) */
|
|
1715
|
+
.kol-xy-pad--kolbox .kol-xy-pad-labels { font-family: var(--kol-font-family-sans); font-size: 11px; line-height: 15px; color: var(--kol-oq-64); }
|
|
1716
|
+
.kol-xy-pad--kolbox .kol-xy-pad { background: var(--kol-kolbox-field); border-radius: var(--kol-radius-4); }
|
|
1717
|
+
.kol-xy-pad--kolbox .kol-xy-pad-guide { background: var(--kol-kolbox-line); }
|
|
1718
|
+
.kol-xy-pad--kolbox .kol-xy-pad-puck { background: var(--kol-surface-on-primary); }
|
|
1719
|
+
|
|
1720
|
+
/* batch 2 (W31.2, 2026-11-18): kolbox's ToggleSwitch, ToggleCheckbox, Textarea and Kbd looks, and Link (new, its one
|
|
1721
|
+
look). Values are kolbox's roles on the theme's tokens (_tmp/2026-11-18-kolbox-system/color-map.md): field oq-16,
|
|
1722
|
+
border oq-24, canvas oq-08, muted oq-64, text the ink, accent and on-accent the accent pair. Only what kolbox's own
|
|
1723
|
+
classes set; nothing kolbox inherits (family and weight stay the row's where kolbox sets none). */
|
|
1724
|
+
|
|
1725
|
+
/* your icons in a kolbox part: one 1px stroke at every size, as Figma's UI (the 16 lens and the 20 row glyphs drew 1.0
|
|
1726
|
+
and 1.25; his "not the same stroke", 2026-11-23) */
|
|
1727
|
+
.kol-kolbox-icon [stroke-width] { stroke-width: 1px; vector-effect: non-scaling-stroke; }
|
|
1728
|
+
|
|
1729
|
+
/* ToggleSwitch kolbox: a hit box at the kolbox control height (24) at radius 4; the track oq-24, on the accent; the knob the ink, on the on-accent */
|
|
1730
|
+
.kol-toggle-switch--kolbox { border-radius: var(--kol-radius-4); }
|
|
1731
|
+
.kol-toggle-switch--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
|
|
1732
|
+
.kol-toggle-switch--kolbox .kol-toggle-switch-track { background-color: var(--kol-kolbox-field-strong); }
|
|
1733
|
+
.kol-toggle-switch--kolbox .kol-toggle-switch-knob { background-color: var(--kol-surface-on-primary); }
|
|
1734
|
+
.kol-toggle-switch--kolbox[data-state="on"] .kol-toggle-switch-track { background-color: var(--kol-accent-primary); }
|
|
1735
|
+
.kol-toggle-switch--kolbox[data-state="on"] .kol-toggle-switch-knob { background-color: var(--kol-accent-on-primary); }
|
|
1736
|
+
|
|
1737
|
+
/* ToggleCheckbox kolbox: the 24 hit box (`--kol-kolbox-ctl`) and the 16 box at radius 4; unchecked the field with the oq-24 line, checked
|
|
1738
|
+
the accent fill and line, the check in the on-accent ink */
|
|
1739
|
+
.kol-toggle-checkbox--kolbox { border-radius: var(--kol-radius-4); }
|
|
1740
|
+
.kol-toggle-checkbox--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
|
|
1741
|
+
.kol-toggle-checkbox--kolbox .kol-toggle-checkbox-box { border-radius: var(--kol-radius-4); border-color: var(--kol-kolbox-line); background-color: var(--kol-kolbox-field); }
|
|
1742
|
+
.kol-toggle-checkbox--kolbox.is-active .kol-toggle-checkbox-box { border-color: var(--kol-accent-primary); background-color: var(--kol-accent-primary); color: var(--kol-accent-on-primary); }
|
|
1743
|
+
|
|
1744
|
+
/* Textarea kolbox: the field, the oq-24 line at radius 4, JetBrains Mono 12 / 16 in the ink; the accent line focused */
|
|
1745
|
+
.kol-textarea--kolbox { border-radius: var(--kol-radius-4); border-color: var(--kol-kolbox-line); background-color: var(--kol-kolbox-field); font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; color: var(--kol-surface-on-primary); }
|
|
1746
|
+
.kol-textarea--kolbox:focus { border-color: var(--kol-kolbox-line); }
|
|
1747
|
+
|
|
1748
|
+
/* Kbd kolbox: radius 2, the oq-08 plate and oq-64 ink; mono 10 / 14 (sm) and 12 / 16 (md); on an accent row the
|
|
1749
|
+
on-accent ink over a 15% wash of it */
|
|
1750
|
+
.kol-kbd--kolbox { border-radius: var(--kol-radius-2); background-color: var(--kol-kolbox-canvas); color: var(--kol-oq-64); font-family: var(--kol-font-family-mono); }
|
|
1751
|
+
.kol-kbd--kolbox-sm { font-size: 10px; line-height: 14px; }
|
|
1752
|
+
.kol-kbd--kolbox-md { font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); }
|
|
1753
|
+
.kol-kbd--kolbox.kol-kbd--kolbox-on-accent { background-color: color-mix(in oklab, var(--kol-accent-on-primary) 15%, transparent); color: var(--kol-accent-on-primary); }
|
|
1754
|
+
|
|
1755
|
+
/* Link: 11 / 15 in the palette's teal; in a light theme other than kolbox's (whose light carries its own darker aqua)
|
|
1756
|
+
the teal is taken toward black, 6.6:1 on white, where it is 3:1 (moved from apps/kolbox's --color-link) */
|
|
1757
|
+
.kol-link { font-size: 11px; line-height: 15px; color: var(--kol-palette-teal); }
|
|
1758
|
+
.kol-link:focus-visible { outline-color: var(--kol-accent-primary); }
|
|
1759
|
+
:root[data-theme="light"]:not([data-theme-variant="kolbox"]) .kol-link { color: color-mix(in srgb, var(--kol-palette-teal) 62%, black); }
|
|
1760
|
+
@media (prefers-color-scheme: light) {
|
|
1761
|
+
:root:not([data-theme]):not([data-theme-variant="kolbox"]) .kol-link { color: color-mix(in srgb, var(--kol-palette-teal) 62%, black); }
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
/* batch 3 (W31.2, 2026-11-18): kolbox's Button (with its icon button) and Input looks, carried class for class, kolbox's
|
|
1765
|
+
roles on the theme's tokens as batch 2's. Hover only while enabled: a disabled button never takes the hover fill. */
|
|
1766
|
+
|
|
1767
|
+
/* Button kolbox: radius 4, Inter 12 / 16 / 500 (the family is the row's), the accent's focus line; the grounds are its
|
|
1768
|
+
tones, the lit look is `pressed` */
|
|
1769
|
+
.kol-btn--kolbox { border-radius: var(--kol-radius-4); 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); }
|
|
1770
|
+
.kol-btn--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
|
|
1771
|
+
/* primary: the accent fill, no border (plan-2026-11-23-editor-measured-against-figma W4) */
|
|
1772
|
+
.kol-btn--kolbox-primary { border-color: transparent; background-color: var(--kol-accent-primary); color: var(--kol-accent-on-primary); }
|
|
1773
|
+
/* secondary: the fill only, no border (W15.4; Button.jsx draws it border-0) */
|
|
1774
|
+
.kol-btn--kolbox-secondary { background-color: var(--kol-kolbox-field); color: var(--kol-surface-on-primary); }
|
|
1775
|
+
.kol-btn--kolbox-secondary:enabled:hover { background-color: var(--kol-kolbox-field-strong); }
|
|
1776
|
+
/* outline: the line, no fill (Figma's browser top bar, 2026-11-23); the field on hover */
|
|
1777
|
+
.kol-btn--kolbox-outline { border-color: var(--kol-kolbox-line); background-color: transparent; color: var(--kol-surface-on-primary); }
|
|
1778
|
+
.kol-btn--kolbox-outline:enabled:hover { background-color: var(--kol-kolbox-field); }
|
|
1779
|
+
.kol-btn--kolbox-ghost { border-color: transparent; color: var(--kol-oq-64); }
|
|
1780
|
+
.kol-btn--kolbox-ghost:enabled:hover { background-color: var(--kol-kolbox-field); color: var(--kol-surface-on-primary); }
|
|
1781
|
+
/* lit: the field wash and the ink, no accent (plan-2026-11-23-editor-measured-against-figma W4) */
|
|
1782
|
+
.kol-btn--kolbox-lit { border-color: transparent; background-color: var(--kol-kolbox-field); color: var(--kol-surface-on-primary); }
|
|
1783
|
+
|
|
1784
|
+
/* Button kolbox iconOnly: the glyph in oq-64 (the ink on hover); the 24 frame (::before, `--kol-kolbox-ctl`) oq-16 on hover, the accent tint
|
|
1785
|
+
pressed, the pressed glyph the accent's */
|
|
1786
|
+
.kol-icon-btn--kolbox { border-radius: var(--kol-radius-4); color: var(--kol-oq-64); }
|
|
1787
|
+
.kol-icon-btn--kolbox::before { border-radius: var(--kol-radius-4); }
|
|
1788
|
+
.kol-icon-btn--kolbox:focus-visible { outline-color: var(--kol-accent-primary); }
|
|
1789
|
+
.kol-icon-btn--kolbox:not(.is-pressed):enabled:hover { color: var(--kol-surface-on-primary); }
|
|
1790
|
+
.kol-icon-btn--kolbox:not(.is-pressed):enabled:hover::before { background-color: var(--kol-kolbox-field); }
|
|
1791
|
+
/* pressed: the field wash and the ink, no accent (plan-2026-11-23-editor-measured-against-figma W4) */
|
|
1792
|
+
.kol-icon-btn--kolbox.is-pressed { color: var(--kol-surface-on-primary); }
|
|
1793
|
+
.kol-icon-btn--kolbox.is-pressed::before { background-color: var(--kol-kolbox-field); }
|
|
1794
|
+
|
|
1795
|
+
/* Input kolbox: the oq-16 field, no outline; sm (kolbox's field) radius 4, the value JetBrains Mono 12 / 16, the accent
|
|
1796
|
+
line inside the box focused; md (its search) radius 8, the value 12 / 16 in the row's family, the accent line
|
|
1797
|
+
focused; lg (the search modal's field) radius 8, the value Inter 16 / 22 / 500, no ring. The lead and a text suffix
|
|
1798
|
+
are mono 12 / 16 in oq-64, the glyph oq-64, the value the ink, the md and lg placeholder oq-64 */
|
|
1799
|
+
.kol-input--kolbox { background-color: var(--kol-kolbox-field); }
|
|
1800
|
+
/* focused: the one edge, no accent (plan-2026-11-23-editor-measured-against-figma W4) */
|
|
1801
|
+
.kol-input--kolbox:focus-within { outline-color: var(--kol-kolbox-line); }
|
|
1802
|
+
.kol-input--kolbox-sm { border-radius: var(--kol-radius-4); }
|
|
1803
|
+
.kol-input--kolbox-md,
|
|
1804
|
+
.kol-input--kolbox-lg { border-radius: var(--kol-radius-4); }
|
|
1805
|
+
.kol-input--kolbox .kol-input-value { color: var(--kol-surface-on-primary); }
|
|
1806
|
+
.kol-input--kolbox-sm .kol-input-value { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; }
|
|
1807
|
+
.kol-input--kolbox-md .kol-input-value { font-size: var(--kol-kolbox-text); line-height: var(--kol-kolbox-text-lh); letter-spacing: var(--kol-kolbox-text-ls); }
|
|
1808
|
+
.kol-input--kolbox-lg .kol-input-value { font-size: 16px; line-height: 22px; font-weight: 500; }
|
|
1809
|
+
.kol-input--kolbox-md .kol-input-value::placeholder,
|
|
1810
|
+
.kol-input--kolbox-lg .kol-input-value::placeholder { color: var(--kol-oq-64); }
|
|
1811
|
+
.kol-input--kolbox .kol-input-lead,
|
|
1812
|
+
.kol-input--kolbox .kol-input-suffix { font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; color: var(--kol-oq-64); }
|
|
1813
|
+
.kol-input--kolbox .kol-input-icon { color: var(--kol-oq-64); }
|
|
1814
|
+
|
|
1815
|
+
/* batch 4 (W31.2, 2026-11-18): kolbox's one floating surface and its chevron, shared by every kolbox part that floats. */
|
|
1816
|
+
|
|
1817
|
+
/* THE ONE FLOATING SURFACE (plan-2026-11-18-kolbox-system 28.3, 24.1; moved from apps/kolbox's `@utility`): everything
|
|
1818
|
+
of kolbox's that floats (a menu, a popover, a window, the toast, a tooltip, the dock) takes the dock's surface: the
|
|
1819
|
+
file's effect style shadow/dock value for value (two drops, two inset hairlines, the second drop the float well) and no
|
|
1820
|
+
bright edge. Where a floating part draws a border, the line is the rails' quiet one, oq-24
|
|
1821
|
+
(_tmp/2026-11-18-kolbox-system/w28-surface.md). */
|
|
1822
|
+
.kol-kolbox-surface {
|
|
1823
|
+
box-shadow: 0 1px 3px rgb(0 0 0 / 0.5), 0 3px 8px var(--kol-float-well), inset 0 0 0.5px rgb(255 255 255 / 0.3), inset 0 0.5px 0 rgb(255 255 255 / 0.08);
|
|
1824
|
+
border-color: var(--kol-kolbox-line);
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/* a chevron in a kolbox part: a 12 box holding the design's 6 x 3 glyph at 1.25px. The set's chevron spans 18 of its
|
|
1828
|
+
24 grid, so drawn at 12 it was 9 x 4.5, half again too big (his ruling 2026-11-18); the glyph is drawn at 8 (6 x 3),
|
|
1829
|
+
centred in the 12 box, and 3.75 user units at 8 are the 1.25px line. */
|
|
1830
|
+
.kol-kolbox-chevron { display: inline-flex; align-items: center; justify-content: center; }
|
|
1831
|
+
.kol-kolbox-chevron svg { width: 8px; height: 8px; }
|
|
1832
|
+
.kol-kolbox-chevron * { stroke-width: 3.75; }
|
|
1833
|
+
|
|
1834
|
+
/* FOLIO batch A (Folio migration, 2026-11-22): `variant="folio"` on Button (Folio's Action, Tool and ToolIcon), Input and
|
|
1835
|
+
ToggleSwitch, carried class for class from apps/folio (parts.jsx, EditorChrome.jsx, Chrome.jsx). Colors are Folio's own
|
|
1836
|
+
(`--kol-folio-*`, kol-color.css), so the frame's data-folio-theme, -palette and -accent reach them. Only what Folio's
|
|
1837
|
+
classes set; the family and line height a part inherits from Folio's frame are not set here. */
|
|
1838
|
+
|
|
1839
|
+
/* Button folio md (Folio's Tool): Inter 11 (kol-folio-meta's values); ghost the ink, the surface on hover, lit the
|
|
1840
|
+
accent's soft ground and strong ink */
|
|
1841
|
+
.kol-btn--folio-md { font-family: var(--kol-font-family-float); font-size: 11px; font-weight: 400; line-height: 1.21; }
|
|
1842
|
+
.kol-btn--folio-ghost { color: var(--kol-folio-ink); }
|
|
1843
|
+
@media (hover: hover) { .kol-btn--folio-ghost:hover { background-color: var(--kol-folio-surface); } }
|
|
1844
|
+
.kol-btn--folio-md[aria-pressed="true"] { background-color: var(--kol-folio-mint); color: var(--kol-folio-green); }
|
|
1845
|
+
/* Button folio lg (Folio's Action): the label 12 / 600, its glyph 16; outline the paper on the rule line, primary the
|
|
1846
|
+
accent fill and line with the paper ink */
|
|
1847
|
+
.kol-btn--folio-lg .kol-btn-label { font-size: 12px; font-weight: 600; }
|
|
1848
|
+
.kol-btn--folio-lg .kol-btn-glyph { font-size: 16px; }
|
|
1849
|
+
.kol-btn--folio-outline { border-color: var(--kol-folio-rule); background-color: var(--kol-folio-paper); color: var(--kol-folio-ink); }
|
|
1850
|
+
.kol-btn--folio-primary { border-color: var(--kol-folio-green); background-color: var(--kol-folio-green); color: var(--kol-folio-paper); }
|
|
1851
|
+
/* Button folio iconOnly (Folio's ToolIcon): the paper on hover; lit (the transport's play and loop) the soft ground and
|
|
1852
|
+
strong ink */
|
|
1853
|
+
@media (hover: hover) { .kol-icon-btn--folio:hover { background-color: var(--kol-folio-paper); } }
|
|
1854
|
+
.kol-icon-btn--folio[aria-pressed="true"] { background-color: var(--kol-folio-mint); color: var(--kol-folio-green); }
|
|
1855
|
+
|
|
1856
|
+
/* Input folio: the rule line on the paper, the value JetBrains Mono 12 / 16 in the ink, the accent line focused */
|
|
1857
|
+
.kol-input--folio { border-color: var(--kol-folio-rule); background-color: var(--kol-folio-paper); color: var(--kol-folio-ink); font-family: var(--kol-font-family-mono); font-size: 12px; line-height: 16px; }
|
|
1858
|
+
.kol-input--folio:focus { border-color: var(--kol-folio-green); }
|
|
1859
|
+
|
|
1860
|
+
/* ToggleSwitch folio: the rule track, the accent when on; the knob the paper */
|
|
1861
|
+
.kol-toggle-switch--folio { background-color: var(--kol-folio-rule); }
|
|
1862
|
+
.kol-toggle-switch--folio[aria-checked="true"] { background-color: var(--kol-folio-green); }
|
|
1863
|
+
.kol-toggle-switch--folio .kol-toggle-switch-knob { background-color: var(--kol-folio-paper); }
|
package/kol-components-chess.css
CHANGED
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
border: 1px solid color-mix(in srgb, var(--kol-surface-on-secondary) 12%, transparent);
|
|
232
232
|
background: color-mix(in srgb, var(--kol-surface-on-secondary) 6%, transparent);
|
|
233
233
|
color: var(--kol-surface-on-secondary);
|
|
234
|
-
border-radius: var(--kol-radius-
|
|
234
|
+
border-radius: var(--kol-radius-4);
|
|
235
235
|
padding: 10px 14px;
|
|
236
236
|
font-family: var(--kol-font-family-mono);
|
|
237
237
|
font-size: 0.75rem;
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
flex: 1;
|
|
400
400
|
border: 1px solid color-mix(in srgb, var(--kol-surface-on-secondary) 10%, transparent);
|
|
401
401
|
background: color-mix(in srgb, var(--kol-surface-on-secondary) 4%, transparent);
|
|
402
|
-
border-radius: var(--kol-radius-
|
|
402
|
+
border-radius: var(--kol-radius-4);
|
|
403
403
|
padding: 10px;
|
|
404
404
|
font-family: var(--kol-font-family-mono);
|
|
405
405
|
font-size: 0.75rem;
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
.board-playback__section {
|
|
472
472
|
background: color-mix(in srgb, var(--kol-surface-on-secondary) 3%, transparent);
|
|
473
473
|
border: 1px solid color-mix(in srgb, var(--kol-surface-on-secondary) 8%, transparent);
|
|
474
|
-
border-radius: var(--kol-radius-
|
|
474
|
+
border-radius: var(--kol-radius-4);
|
|
475
475
|
padding: 14px 16px;
|
|
476
476
|
display: flex;
|
|
477
477
|
flex-direction: column;
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
|
|
503
503
|
.board-playback__notes {
|
|
504
504
|
min-height: 110px;
|
|
505
|
-
border-radius: var(--kol-radius-
|
|
505
|
+
border-radius: var(--kol-radius-4);
|
|
506
506
|
padding: 16px;
|
|
507
507
|
background: color-mix(in srgb, var(--kol-surface-on-secondary) 4%, transparent);
|
|
508
508
|
font-family: var(--kol-font-family-mono);
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
.analysis-table-empty {
|
|
581
581
|
padding: 32px;
|
|
582
582
|
text-align: center;
|
|
583
|
-
border-radius: var(--kol-radius-
|
|
583
|
+
border-radius: var(--kol-radius-4);
|
|
584
584
|
border: 1px solid var(--kol-border-default);
|
|
585
585
|
background: color-mix(in srgb, var(--kol-surface-secondary) 92%, transparent);
|
|
586
586
|
color: var(--kol-surface-on-secondary);
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
font-size: 0.75rem;
|
|
773
773
|
letter-spacing: 0.08em;
|
|
774
774
|
padding: 4px 10px;
|
|
775
|
-
border-radius: var(--kol-radius-
|
|
775
|
+
border-radius: var(--kol-radius-4);
|
|
776
776
|
align-self: flex-start;
|
|
777
777
|
}
|
|
778
778
|
|
|
@@ -843,7 +843,7 @@
|
|
|
843
843
|
font-size: 0.85rem;
|
|
844
844
|
letter-spacing: 0.08em;
|
|
845
845
|
padding: 4px 10px;
|
|
846
|
-
border-radius: var(--kol-radius-
|
|
846
|
+
border-radius: var(--kol-radius-4);
|
|
847
847
|
background: color-mix(in srgb, #0a682a 20%, transparent);
|
|
848
848
|
color: #5dd27f;
|
|
849
849
|
}
|
|
@@ -993,7 +993,7 @@
|
|
|
993
993
|
.chess-hero__line-chart {
|
|
994
994
|
height: 60px;
|
|
995
995
|
background: color-mix(in srgb, var(--kol-surface-on-secondary) 4%, transparent);
|
|
996
|
-
border-radius: var(--kol-radius-
|
|
996
|
+
border-radius: var(--kol-radius-4);
|
|
997
997
|
padding: 12px;
|
|
998
998
|
}
|
|
999
999
|
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
background: transparent;
|
|
166
166
|
color: var(--fv-black);
|
|
167
167
|
border: 1px solid var(--fv-border-color);
|
|
168
|
-
border-radius: var(--kol-radius-
|
|
168
|
+
border-radius: var(--kol-radius-4);
|
|
169
169
|
transition: 0.2s;
|
|
170
170
|
pointer-events: auto !important;
|
|
171
171
|
}
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
position: absolute;
|
|
232
232
|
z-index: 10001;
|
|
233
233
|
padding: 14px;
|
|
234
|
-
border-radius: var(--kol-radius-
|
|
234
|
+
border-radius: var(--kol-radius-4);
|
|
235
235
|
color: var(--fv-black);
|
|
236
236
|
}
|
|
237
237
|
|