@kolkrabbi/kol-theme 0.101.0 → 0.102.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 +12 -5
- package/package.json +1 -1
package/kol-base-tokens.css
CHANGED
|
@@ -46,8 +46,15 @@
|
|
|
46
46
|
* in light. The two are exact opposites, so no existing token is sunken on
|
|
47
47
|
* both sides — which is why "everything should be sunken" kept coming back
|
|
48
48
|
* looking wrong on one theme however it was patched.
|
|
49
|
-
*
|
|
50
|
-
|
|
49
|
+
* BUILT ON THE `ab` LADDER, not on literals (user, 2026-08-30: *"oq-inverse-96
|
|
50
|
+
* is the wrong sunken token … its pair should have been oq-ab-inverse-96 …
|
|
51
|
+
* that's based on primary or some dark that's not 000000"*). The `ab` tier is
|
|
52
|
+
* ABSOLUTE — pure #000/#fff — so `oq-ab-96` is 10 and `oq-ab-inverse-96` is
|
|
53
|
+
* 245 in BOTH themes and neither can be the well on its own. What flips is
|
|
54
|
+
* which one the well points at, and that is this token's entire job.
|
|
55
|
+
* Light: `oq-ab-inverse-96` (245, under the 250 page)
|
|
56
|
+
* Dark: `oq-ab-96` (10, under the 18 page) */
|
|
57
|
+
--kol-surface-sunken: var(--kol-oq-ab-inverse-96);
|
|
51
58
|
|
|
52
59
|
--kol-surface-inverse: #0e0e11;
|
|
53
60
|
--kol-surface-on-inverse: #fcfbf8;
|
|
@@ -77,8 +84,8 @@
|
|
|
77
84
|
--kol-surface-tertiary: #0e0e11;
|
|
78
85
|
--kol-surface-on-tertiary: #ffffff;
|
|
79
86
|
|
|
80
|
-
/* the sunken well, dark side —
|
|
81
|
-
--kol-surface-sunken:
|
|
87
|
+
/* the sunken well, dark side — `oq-ab-96` (10) under the #121215 page (18) */
|
|
88
|
+
--kol-surface-sunken: var(--kol-oq-ab-96);
|
|
82
89
|
|
|
83
90
|
--kol-surface-inverse: #fcfbf8;
|
|
84
91
|
--kol-surface-on-inverse: #0e0e11;
|
|
@@ -128,7 +135,7 @@
|
|
|
128
135
|
/* the sunken well, system-dark — this block is the one a user who never
|
|
129
136
|
* touched the toggle gets, and it is the one the first pass of this fix
|
|
130
137
|
* forgot: the `:root` light value would have leaked into system dark. */
|
|
131
|
-
--kol-surface-sunken:
|
|
138
|
+
--kol-surface-sunken: var(--kol-oq-ab-96);
|
|
132
139
|
|
|
133
140
|
--kol-surface-inverse: #fcfbf8;
|
|
134
141
|
--kol-surface-on-inverse: #0e0e11;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.102.0",
|
|
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",
|