@kolkrabbi/kol-theme 0.172.0 → 0.173.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 +13 -0
- package/kol-components-molecules.css +4 -2
- package/package.json +1 -1
package/kol-base-tokens.css
CHANGED
|
@@ -87,6 +87,11 @@
|
|
|
87
87
|
* Two declarations, not one. The single-token version was my elegance, not a
|
|
88
88
|
* requirement — the two themes want different depths and that is allowed. */
|
|
89
89
|
--kol-surface-sunken: var(--kol-oq-ab-100);
|
|
90
|
+
/* THE SECONDARY FILL'S HOVER / PRESS (PrimaryHoverIsTheWell, kol-fxr 2026-10-10) — the primary
|
|
91
|
+
* tone's two steps. Light steps down from the rest fill (242 → 234 → 226, clear of a 250 page);
|
|
92
|
+
* the well would be the WHITE pole here, lighter than rest. Dark goes to the well — see below. */
|
|
93
|
+
--kol-surface-secondary-hover: rgb(from var(--kol-surface-secondary) calc(r - 8) calc(g - 8) calc(b - 8));
|
|
94
|
+
--kol-surface-secondary-press: rgb(from var(--kol-surface-secondary) calc(r - 16) calc(g - 16) calc(b - 16));
|
|
90
95
|
|
|
91
96
|
--kol-surface-inverse: #0e0e11;
|
|
92
97
|
--kol-surface-on-inverse: #fcfbf8;
|
|
@@ -116,6 +121,10 @@
|
|
|
116
121
|
--kol-surface-tertiary: #0e0e11;
|
|
117
122
|
/* the well is the 96 rung in dark, not the pole — see the light block */
|
|
118
123
|
--kol-surface-sunken: var(--kol-oq-ab-96);
|
|
124
|
+
/* dark: rest 25 minus 8 was 17 on an 18 rail — the button vanished on hover. The well (10)
|
|
125
|
+
* is the step; press is one past it. */
|
|
126
|
+
--kol-surface-secondary-hover: var(--kol-surface-sunken);
|
|
127
|
+
--kol-surface-secondary-press: rgb(from var(--kol-surface-sunken) calc(r - 8) calc(g - 8) calc(b - 8));
|
|
119
128
|
--kol-surface-on-tertiary: #ffffff;
|
|
120
129
|
|
|
121
130
|
|
|
@@ -164,6 +173,10 @@
|
|
|
164
173
|
--kol-surface-tertiary: #0e0e11;
|
|
165
174
|
/* the well is the 96 rung in dark, not the pole — see the light block */
|
|
166
175
|
--kol-surface-sunken: var(--kol-oq-ab-96);
|
|
176
|
+
/* dark: rest 25 minus 8 was 17 on an 18 rail — the button vanished on hover. The well (10)
|
|
177
|
+
* is the step; press is one past it. */
|
|
178
|
+
--kol-surface-secondary-hover: var(--kol-surface-sunken);
|
|
179
|
+
--kol-surface-secondary-press: rgb(from var(--kol-surface-sunken) calc(r - 8) calc(g - 8) calc(b - 8));
|
|
167
180
|
--kol-surface-on-tertiary: #ffffff;
|
|
168
181
|
|
|
169
182
|
|
|
@@ -2005,11 +2005,13 @@
|
|
|
2005
2005
|
* = 31 (lighter). So the step is taken from the REST FILL itself, down a fixed 8 and 16 in both
|
|
2006
2006
|
* themes — light 242 → 234 → 226, dark 25 → 17 → 9. Deeper is darker on both grounds. Decided on
|
|
2007
2007
|
* the recommendation; Round 9 shows the three steps in both themes for review. */
|
|
2008
|
-
|
|
2008
|
+
/* the steps are surface tokens since 0.173.0 — light keeps 242 → 234 → 226, dark goes to the
|
|
2009
|
+
* well (PrimaryHoverIsTheWell, kol-fxr 2026-10-10: 25 → 17 was the 18 rail's own color) */
|
|
2010
|
+
--kol-tone-hover-bg: var(--kol-surface-secondary-hover);
|
|
2009
2011
|
--kol-tone-hover-image: none;
|
|
2010
2012
|
--kol-tone-hover-fg: var(--kol-surface-on-primary);
|
|
2011
2013
|
--kol-tone-hover-border: transparent;
|
|
2012
|
-
--kol-tone-active-bg:
|
|
2014
|
+
--kol-tone-active-bg: var(--kol-surface-secondary-press);
|
|
2013
2015
|
--kol-tone-active-image: none;
|
|
2014
2016
|
--kol-tone-pressed-bg: var(--kol-surface-on-primary);
|
|
2015
2017
|
--kol-tone-pressed-image: none;
|