@kolkrabbi/kol-theme 0.11.23 → 0.11.25
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-color.css +5 -5
- package/kol-components-atoms.css +6 -7
- package/package.json +1 -1
package/kol-color.css
CHANGED
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
|
|
98
98
|
/* =============================================================================
|
|
99
99
|
* DARK MODE
|
|
100
|
-
* Explicit dark-mode surface overrides ([data-theme="dark"], .dark)
|
|
101
|
-
* kol-base-tokens.css
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
100
|
+
* Explicit dark-mode surface overrides ([data-theme="dark"], .dark) live in
|
|
101
|
+
* kol-base-tokens.css, alongside their system-follow MIRROR blocks
|
|
102
|
+
* (@media prefers-color-scheme gated on :root:not([data-theme])) — USER law
|
|
103
|
+
* corrected 2026-07-28: explicit choice > system/auto > light. This file
|
|
104
|
+
* defines no dark rules of its own.
|
|
105
105
|
* ============================================================================= */
|
|
106
106
|
|
|
107
107
|
/* =============================================================================
|
package/kol-components-atoms.css
CHANGED
|
@@ -233,13 +233,12 @@
|
|
|
233
233
|
line-height: 0;
|
|
234
234
|
}
|
|
235
235
|
/* Icon-only is a GEOMETRY condition, not a variant (2026-07-28, user-ordered):
|
|
236
|
-
* a lone glyph gets a SQUARE
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
|
|
240
|
-
.kol-btn-icon.kol-btn-
|
|
241
|
-
.kol-btn-icon.kol-btn-
|
|
242
|
-
.kol-btn-icon.kol-btn-lg { padding: 8px; }
|
|
236
|
+
* a lone glyph gets a PINNED SQUARE per rung — sm 28 / md 32 / lg 36 — equal to
|
|
237
|
+
* the rung's button height and independent of glyph size (padding-derived
|
|
238
|
+
* squares drifted with icon size; user law: the box never moves). */
|
|
239
|
+
.kol-btn-icon.kol-btn-sm { width: 28px; height: 28px; padding: 0; }
|
|
240
|
+
.kol-btn-icon.kol-btn-md { width: 32px; height: 32px; padding: 0; }
|
|
241
|
+
.kol-btn-icon.kol-btn-lg { width: 36px; height: 36px; padding: 0; }
|
|
243
242
|
|
|
244
243
|
.kol-btn-primary {
|
|
245
244
|
background: var(--kol-surface-secondary);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolkrabbi/kol-theme",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.25",
|
|
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",
|