@kolkrabbi/kol-theme 0.11.16 → 0.11.18

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.
@@ -1,3 +1,13 @@
1
+ /* Scroll-edge shadow token — SHADOWS ARE BLACK-BASED IN BOTH MODES (user law
2
+ * 2026-07-28): low-opacity black reads light in light mode, stronger black in
3
+ * dark. Never ink-based (fg flips white in dark = white smear bug). MIRROR
4
+ * blocks — edit all three together. */
5
+ :root { --kol-table-edge: rgba(0, 0, 0, 0.10); }
6
+ [data-theme="dark"], .dark { --kol-table-edge: rgba(0, 0, 0, 0.5); }
7
+ @media (prefers-color-scheme: dark) {
8
+ :root:not([data-theme]) { --kol-table-edge: rgba(0, 0, 0, 0.5); }
9
+ }
10
+
1
11
  /**
2
12
  * KOL components — organism tier
3
13
  *
@@ -55,8 +65,8 @@
55
65
  background:
56
66
  linear-gradient(to right, var(--kol-surface-primary) 40%, transparent) left / 32px 100%,
57
67
  linear-gradient(to left, var(--kol-surface-primary) 40%, transparent) right / 32px 100%,
58
- linear-gradient(to right, var(--kol-fg-08), transparent) left / 10px 100%,
59
- linear-gradient(to left, var(--kol-fg-08), transparent) right / 10px 100%;
68
+ linear-gradient(to right, var(--kol-table-edge), transparent) left / 10px 100%,
69
+ linear-gradient(to left, var(--kol-table-edge), transparent) right / 10px 100%;
60
70
  background-repeat: no-repeat;
61
71
  background-attachment: local, local, scroll, scroll;
62
72
  }
@@ -53,14 +53,13 @@
53
53
  color: var(--kol-fg-emphasis);
54
54
  }
55
55
 
56
- /* lede — the descriptive paragraph under a heading. +0.02em = the prose
57
- * reading-voice tracking for Right Grotesk (parity with .kol-prose). */
56
+ /* lede — the descriptive paragraph under a heading. +0.04em tracking (user-tuned up from the prose 0.02em). */
58
57
  .kol-doc-lede {
59
58
  font-family: var(--kol-font-family-sans);
60
59
  font-size: var(--kol-text-body-01);
61
60
  line-height: 160%;
62
61
  font-weight: 400;
63
- letter-spacing: 0.02em;
62
+ letter-spacing: 0.04em;
64
63
  color: var(--kol-fg-body);
65
64
  max-width: 65ch;
66
65
  }
@@ -71,7 +70,7 @@
71
70
  font-size: var(--kol-text-body-02);
72
71
  line-height: 160%;
73
72
  font-weight: 400;
74
- letter-spacing: 0.02em;
73
+ letter-spacing: 0.04em;
75
74
  color: var(--kol-fg-body);
76
75
  }
77
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.11.16",
3
+ "version": "0.11.18",
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",