@kolkrabbi/kol-theme 0.200.2 → 0.200.4
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/README.md +1 -1
- package/kol-components-atoms.css +5 -4
- package/kol-opaque.css +18 -0
- package/kol-typography.css +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,6 +40,6 @@ Tailwind v4 **does not scan `node_modules`**, so layout utilities emitted inside
|
|
|
40
40
|
|
|
41
41
|
## Fonts
|
|
42
42
|
|
|
43
|
-
The typography CSS references the brand fonts at absolute paths (`/fonts/right-grotesk/…`, `/fonts/jetbrains-mono/…`). **The package does not ship the font files** — your app must serve them from `/fonts/` (e.g. drop them in your `public/` dir). The showcase in this repo does exactly that. Without them, type falls back to system fonts. **Public Sans is not one of them** (0.195.0): only the document sheet (`.kol-sheet`, kol-framework's `MarkdownPage`)
|
|
43
|
+
The typography CSS references the brand fonts at absolute paths (`/fonts/right-grotesk/…`, `/fonts/jetbrains-mono/…`). **The package does not ship the font files** — your app must serve them from `/fonts/` (e.g. drop them in your `public/` dir). The showcase in this repo does exactly that. Without them, type falls back to system fonts. **Public Sans is not one of them** (0.195.0): only the document sheet (`.kol-sheet`, kol-framework's `MarkdownPage`) and the sans tab row (`--kol-font-family-sans-neutral`, TabsRow `type="sans"`, 0.200.3) set it, and an app that renders either loads it by Google Fonts link — `https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap`.
|
|
44
44
|
|
|
45
45
|
Pure CSS — no JS, no dependencies.
|
package/kol-components-atoms.css
CHANGED
|
@@ -1455,10 +1455,11 @@ a.kol-icon-frame {
|
|
|
1455
1455
|
.kol-scroll-fade--x[data-fade-right] { --kol-scroll-fade-right: 2rem; }
|
|
1456
1456
|
/* a tab row wider than its column (TabsRow `overflow="scroll"`): one line, scrolled sideways, no scrollbar; the row
|
|
1457
1457
|
* takes its own width and at least the column's, so a trailing control still sits at the right */
|
|
1458
|
-
/* THE
|
|
1459
|
-
*
|
|
1460
|
-
|
|
1461
|
-
|
|
1458
|
+
/* THE SANS TAB (TabsRow `type="sans"`): the neutral sans he asked to try (*"try public sans?"*), 14px. Its glyph keeps the
|
|
1459
|
+
* set's 1.5 stroke (his word, 2026-10-30 — a 2 stroke was tried in 0.200.2 and read heavy against the 300 text). */
|
|
1460
|
+
.kol-tab-sans { font-family: var(--kol-font-family-sans-neutral); }
|
|
1461
|
+
/* …and the same row on the mono (TabsRow `type="mono-light"`, his word 2026-10-30: *"just like this one but mono, JetBrains Mono, keep it light"*) */
|
|
1462
|
+
.kol-tab-mono-light { font-family: var(--kol-font-family-mono); }
|
|
1462
1463
|
.kol-tabs-scroll {
|
|
1463
1464
|
display: flex;
|
|
1464
1465
|
overflow-x: auto;
|
package/kol-opaque.css
CHANGED
|
@@ -202,6 +202,24 @@
|
|
|
202
202
|
.hover\:text-oq-88:hover { color: var(--kol-oq-88); }
|
|
203
203
|
.hover\:text-oq-96:hover { color: var(--kol-oq-96); }
|
|
204
204
|
|
|
205
|
+
/* group-hover (2026-10-30): the same steps lit by a `.group` ancestor — a tab's glyph brightening with its label.
|
|
206
|
+
* Tailwind cannot write these for a colour it does not own; the `hover:` set above had them, this set did not. */
|
|
207
|
+
.group:hover .group-hover\:text-oq-01 { color: var(--kol-oq-01); }
|
|
208
|
+
.group:hover .group-hover\:text-oq-02 { color: var(--kol-oq-02); }
|
|
209
|
+
.group:hover .group-hover\:text-oq-04 { color: var(--kol-oq-04); }
|
|
210
|
+
.group:hover .group-hover\:text-oq-08 { color: var(--kol-oq-08); }
|
|
211
|
+
.group:hover .group-hover\:text-oq-12 { color: var(--kol-oq-12); }
|
|
212
|
+
.group:hover .group-hover\:text-oq-16 { color: var(--kol-oq-16); }
|
|
213
|
+
.group:hover .group-hover\:text-oq-24 { color: var(--kol-oq-24); }
|
|
214
|
+
.group:hover .group-hover\:text-oq-32 { color: var(--kol-oq-32); }
|
|
215
|
+
.group:hover .group-hover\:text-oq-40 { color: var(--kol-oq-40); }
|
|
216
|
+
.group:hover .group-hover\:text-oq-48 { color: var(--kol-oq-48); }
|
|
217
|
+
.group:hover .group-hover\:text-oq-64 { color: var(--kol-oq-64); }
|
|
218
|
+
.group:hover .group-hover\:text-oq-72 { color: var(--kol-oq-72); }
|
|
219
|
+
.group:hover .group-hover\:text-oq-80 { color: var(--kol-oq-80); }
|
|
220
|
+
.group:hover .group-hover\:text-oq-88 { color: var(--kol-oq-88); }
|
|
221
|
+
.group:hover .group-hover\:text-oq-96 { color: var(--kol-oq-96); }
|
|
222
|
+
|
|
205
223
|
.hover\:text-oq-inverse-01:hover { color: var(--kol-oq-inverse-01); }
|
|
206
224
|
.hover\:text-oq-inverse-02:hover { color: var(--kol-oq-inverse-02); }
|
|
207
225
|
.hover\:text-oq-inverse-04:hover { color: var(--kol-oq-inverse-04); }
|
package/kol-typography.css
CHANGED
|
@@ -732,6 +732,7 @@
|
|
|
732
732
|
* headings, lede), base for body, Tight for display 01–04 (since 0.59.0).
|
|
733
733
|
* Atomic classes follow the same convention. */
|
|
734
734
|
--kol-font-family-sans: 'Right Grotesk', sans-serif;
|
|
735
|
+
--kol-font-family-sans-neutral: 'Public Sans', sans-serif; /* TabsRow type="sans" (2026-10-29). Declared nowhere in kol-theme: the app that renders it adds the Google Fonts css2 link (PublicSansByLink, his ruling 2026-10-28 — hosted cuts were wrong, 2026-10-30) */
|
|
735
736
|
--kol-font-family-sans-narrow: 'Right Grotesk Narrow', 'Right Grotesk', sans-serif;
|
|
736
737
|
--kol-font-family-sans-compact: 'Right Grotesk Compact', 'Right Grotesk', sans-serif;
|
|
737
738
|
--kol-font-family-sans-tight: 'Right Grotesk Tight', 'Right Grotesk', sans-serif;
|