@kolkrabbi/kol-theme 0.9.0 → 0.9.2

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 CHANGED
@@ -73,42 +73,13 @@
73
73
 
74
74
  /* =============================================================================
75
75
  * DARK MODE
76
- * Explicit dark-mode surface overrides ([data-theme="dark"], .dark) now come
77
- * from @kol/theme/kol-base-tokens.css (shared with apps/web). The system-
78
- * preference auto-dark block below stays brand-local web has no equivalent.
76
+ * Explicit dark-mode surface overrides ([data-theme="dark"], .dark) come from
77
+ * kol-base-tokens.css. There is deliberately NO OS-preference auto-dark block:
78
+ * user ruling 2026-07-15 (ledger 2.4) light mode first until migration
79
+ * completion; theme is decided only by an explicit data-theme. Reinstating
80
+ * OS-follow is a user ruling, not a cleanup.
79
81
  * ============================================================================= */
80
82
 
81
- /* =============================================================================
82
- * SYSTEM PREFERENCE (Automatic Dark Mode)
83
- *
84
- * KEPT deliberately (ruling applied 2026-07-15, ledger-2.0 #2.4): KOL policy
85
- * is light-first + FOLLOW-SYSTEM — an undecided page respects the visitor's
86
- * OS preference; an explicit choice (app-set data-theme or a saved toggle)
87
- * always wins because [data-theme="light"] opts out of this block and
88
- * [data-theme="dark"] doesn't need it. A repo wanting hard light-always
89
- * stamps data-theme="light" at boot — that's the per-repo seam, not a theme
90
- * edit. ThemeToggle + useTheme implement the same policy JS-side.
91
- * ============================================================================= */
92
-
93
- @media (prefers-color-scheme: dark) {
94
- :root:not([data-theme="light"]) {
95
- --kol-link: #60A5FA;
96
- --kol-link-hover: #93C5FD;
97
-
98
- --kol-surface-primary: #121215;
99
- --kol-surface-on-primary: #FAFAFA;
100
-
101
- --kol-surface-secondary: #19191D;
102
- --kol-surface-on-secondary: #F8F8F8;
103
-
104
- --kol-surface-tertiary: #0E0E11;
105
- --kol-surface-on-tertiary: #FFFFFF;
106
-
107
- --kol-surface-inverse: #FCFBF8;
108
- --kol-surface-on-inverse: #0E0E11;
109
- }
110
- }
111
-
112
83
  /* =============================================================================
113
84
  * BASE ANCHOR RULE — unstyled links get the link color. Sits in the
114
85
  * components layer, so any utility class or later-loading chrome sheet
@@ -136,6 +136,18 @@
136
136
  z-index: 11; /* over the piece (its wrapper is z-10) */
137
137
  }
138
138
 
139
+ /* armed palette cell (edit mode) — same amber, unmissable */
140
+ .chess-palette--armed {
141
+ background-color: rgba(251, 191, 36, 0.35);
142
+ box-shadow: inset 0 0 0 2px rgba(251, 191, 36, 0.9);
143
+ }
144
+
145
+ /* sideline moves in notation carry the board's amber; color-mix keeps
146
+ * contrast on both themes (leans ink on light, cream on dark) */
147
+ .kol-btn.chess-notation-sideline {
148
+ color: color-mix(in srgb, #f59e0b 72%, var(--kol-surface-on-primary));
149
+ }
150
+
139
151
  .chess-board__coordinate-label {
140
152
  display: inline-flex;
141
153
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolkrabbi/kol-theme",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
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",