@kolkrabbi/kol-theme 0.11.6 → 0.11.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-components-atoms.css +5 -3
- package/kol-typography.css +17 -15
- package/package.json +1 -1
package/kol-components-atoms.css
CHANGED
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
* navigation is location, not a toggled tool. */
|
|
315
315
|
.kol-btn-nav {
|
|
316
316
|
background: transparent;
|
|
317
|
-
color: var(--kol-oq-
|
|
317
|
+
color: var(--kol-oq-64);
|
|
318
318
|
border: 1px solid transparent;
|
|
319
319
|
}
|
|
320
320
|
@media (hover: hover) {
|
|
@@ -323,9 +323,11 @@
|
|
|
323
323
|
color: var(--kol-surface-on-primary);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
+
/* active = brightness only (0.11.7, user-ordered): quiet chrome states ride
|
|
327
|
+
* the opacity ladder — a background block is pressed-tool language, not
|
|
328
|
+
* location. Hover keeps its transient wash (feedback, not state). */
|
|
326
329
|
.kol-btn-nav[aria-current="page"] {
|
|
327
|
-
|
|
328
|
-
color: var(--kol-surface-on-primary);
|
|
330
|
+
color: var(--kol-oq-88);
|
|
329
331
|
}
|
|
330
332
|
/* square box comes from .kol-btn-icon (geometry, all variants) — no
|
|
331
333
|
* nav-specific padding rules needed */
|
package/kol-typography.css
CHANGED
|
@@ -744,12 +744,14 @@
|
|
|
744
744
|
* ============================================================================= */
|
|
745
745
|
|
|
746
746
|
:root {
|
|
747
|
-
/* Sans family tokens —
|
|
747
|
+
/* Sans family tokens — four cuts loaded. Editor convention used in prose:
|
|
748
748
|
* Narrow for top-of-scale (display, large headings), Compact for mid (smaller
|
|
749
|
-
* headings, lede), base for body
|
|
749
|
+
* headings, lede), base for body, Tight for the display-tight voice.
|
|
750
|
+
* Atomic classes follow the same convention. */
|
|
750
751
|
--kol-font-family-sans: 'Right Grotesk', sans-serif;
|
|
751
752
|
--kol-font-family-sans-narrow: 'Right Grotesk Narrow', 'Right Grotesk', sans-serif;
|
|
752
753
|
--kol-font-family-sans-compact: 'Right Grotesk Compact', 'Right Grotesk', sans-serif;
|
|
754
|
+
--kol-font-family-sans-tight: 'Right Grotesk Tight', 'Right Grotesk', sans-serif;
|
|
753
755
|
|
|
754
756
|
/* Type size tokens — numbered scale, 01 = largest, ascending = smaller.
|
|
755
757
|
* Mobile-first; @media overrides below scale display + heading-01 up on
|
|
@@ -834,19 +836,21 @@
|
|
|
834
836
|
* Add the class when a consumer needs it. */
|
|
835
837
|
|
|
836
838
|
/* =============================================================================
|
|
837
|
-
* DISPLAY TIGHT — the condensed-caps display voice:
|
|
838
|
-
*
|
|
839
|
-
*
|
|
840
|
-
*
|
|
839
|
+
* DISPLAY TIGHT — the condensed-caps display voice: the Tight cut by NAME
|
|
840
|
+
* (--kol-font-family-sans-tight), weight 500 (TightMedium). Never select the
|
|
841
|
+
* cut via font-stretch: the loaded faces are static, carry no stretch
|
|
842
|
+
* descriptors, so stretch-based selection silently renders the wide base cut
|
|
843
|
+
* (bug found 2026-07-28). Uppercase BY CONTRACT — display classes are the one
|
|
844
|
+
* type family that carries text-transform; the display voice is caps by
|
|
845
|
+
* design language.
|
|
841
846
|
* Lobbied verbatim from the website's elder type system (2026-07-16) so call
|
|
842
847
|
* sites migrate without renames. `kol-heading-display` was a byte-identical
|
|
843
848
|
* duplicate of `kol-display-lg` and was not carried — map it to display-lg.
|
|
844
849
|
* ============================================================================= */
|
|
845
850
|
|
|
846
851
|
.kol-display-lg {
|
|
847
|
-
font-family: var(--kol-font-family-sans);
|
|
848
|
-
font-
|
|
849
|
-
font-weight: 470;
|
|
852
|
+
font-family: var(--kol-font-family-sans-tight);
|
|
853
|
+
font-weight: 500;
|
|
850
854
|
font-size: var(--kol-text-display-tight-01);
|
|
851
855
|
line-height: 100%;
|
|
852
856
|
text-transform: uppercase;
|
|
@@ -854,18 +858,16 @@
|
|
|
854
858
|
}
|
|
855
859
|
|
|
856
860
|
.kol-display-section {
|
|
857
|
-
font-family: var(--kol-font-family-sans);
|
|
858
|
-
font-
|
|
859
|
-
font-weight: 470;
|
|
861
|
+
font-family: var(--kol-font-family-sans-tight);
|
|
862
|
+
font-weight: 500;
|
|
860
863
|
font-size: var(--kol-text-display-tight-02);
|
|
861
864
|
line-height: 100%;
|
|
862
865
|
text-transform: uppercase;
|
|
863
866
|
}
|
|
864
867
|
|
|
865
868
|
.kol-display-section-sm {
|
|
866
|
-
font-family: var(--kol-font-family-sans);
|
|
867
|
-
font-
|
|
868
|
-
font-weight: 470;
|
|
869
|
+
font-family: var(--kol-font-family-sans-tight);
|
|
870
|
+
font-weight: 500;
|
|
869
871
|
font-size: var(--kol-text-display-tight-03);
|
|
870
872
|
line-height: 100%;
|
|
871
873
|
text-transform: uppercase;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.8",
|
|
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",
|