@kolkrabbi/kol-theme 0.11.2 → 0.11.3

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.
Files changed (2) hide show
  1. package/kol-color.css +8 -5
  2. package/package.json +1 -1
package/kol-color.css CHANGED
@@ -105,13 +105,16 @@
105
105
  * ============================================================================= */
106
106
 
107
107
  /* =============================================================================
108
- * BASE ANCHOR RULE unstyled links get the link color. Sits in the
109
- * components layer, so any utility class or later-loading chrome sheet
110
- * (kol-framework, brand) still wins per the cascade contract (§5).
108
+ * LINK COLOROPT-IN, never global. The old bare `a { color }` rule painted
109
+ * every anchor in every consumer and out-ranked chrome on two axes: `a:hover`
110
+ * (0,1,1) beats any single utility class, and an unlayered theme import beats
111
+ * whole `layer(...)` chrome sheets regardless of specificity. Chrome owns its
112
+ * anchor colors; content links are `.kol-prose a` (inherit + underline).
113
+ * Blue is a choice: add `.kol-link` at the call site.
111
114
  * ============================================================================= */
112
115
 
113
- a { color: var(--kol-link); }
114
- a:hover { color: var(--kol-link-hover); }
116
+ .kol-link { color: var(--kol-link); }
117
+ .kol-link:hover { color: var(--kol-link-hover); }
115
118
 
116
119
  /* =============================================================================
117
120
  * CONTEXT-AWARE SURFACE INVERSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
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",