@cosmicdrift/kumiko-headless 0.102.0 → 0.102.1

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/package.json +2 -2
  2. package/src/apex/css.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-headless",
3
- "version": "0.102.0",
3
+ "version": "0.102.1",
4
4
  "description": "Headless UI logic for Kumiko — Dispatcher contract, Form-Controller, View-Model, Nav-Resolver. Plattform- und React-frei; jeder Renderer (renderer, renderer-web, renderer-native, …) komponiert darauf.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@cosmicdrift/kumiko-framework": "0.102.0",
35
+ "@cosmicdrift/kumiko-framework": "0.102.1",
36
36
  "zod": "^4.4.3"
37
37
  },
38
38
  "publishConfig": {
package/src/apex/css.ts CHANGED
@@ -226,6 +226,14 @@ export const APEX_NAV_MENU_CSS = `
226
226
  .nav-menu__more:hover { color: var(--primary-hover); }
227
227
  .apex-dark .nav-menu__trigger { color: var(--on-dark-muted); }
228
228
  .apex-dark .nav-menu__trigger:hover { color: var(--on-dark); }
229
+ /* The panel is a light popover; its links must NOT inherit the dark-chrome
230
+ nav-link color (.apex-dark .nav-links a, specificity 0,2,1) or a consumer's
231
+ own .nav-links a. Pin both link types with matching specificity (0,2,1) so
232
+ titles + the footer link stay readable in the dark theme. */
233
+ .nav-menu__panel a.nav-menu__item { color: var(--fg); }
234
+ .nav-menu__panel a.nav-menu__item:hover { color: var(--fg); }
235
+ .nav-menu__panel a.nav-menu__more { color: var(--primary); }
236
+ .nav-menu__panel a.nav-menu__more:hover { color: var(--primary-hover); }
229
237
  `;
230
238
 
231
239
  export const APEX_STRUCTURAL_CSS =