@mdbase-dev/ui 0.1.3 → 0.1.6

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/README.md CHANGED
@@ -21,7 +21,7 @@ applyThemePreference(loadThemePreference());
21
21
  themes. Style components with roles, not palette values. Short aliases such
22
22
  as `--ink` belong to each app.
23
23
  `--color-current` and `--color-on-current` mark the keyboard/pointer current
24
- choice in palettes, completion lists and diagnostics; `--color-selected` stays subtle for persistent selections.
24
+ choice in completion lists and diagnostics; `--color-selected` stays subtle for persistent selections.
25
25
  Each colour that differs by theme is one `light-dark()` value, and `:root`
26
26
  uses one scheme at a time. In CSS, `var(--color-text)` resolves as before. In
27
27
  script, read a resolved colour from an element (`getComputedStyle(element).color`),
package/css/palette.css CHANGED
@@ -81,9 +81,7 @@
81
81
 
82
82
  .mdbase-command-results > button[aria-selected="true"] {
83
83
  color: var(--color-text);
84
- background: light-dark(oklch(94% 0.001 286), oklch(29% 0.004 286));
85
- outline: 1px solid light-dark(oklch(60% 0.004 286), oklch(63% 0.004 286));
86
- outline-offset: -1px;
84
+ background: color-mix(in oklab, var(--color-text) 12%, var(--color-surface-overlay));
87
85
  }
88
86
 
89
87
  @media (forced-colors: active) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdbase-dev/ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -250,6 +250,6 @@
250
250
  "typecheck": "node scripts/compile-catalogues.mjs && tsc -p tsconfig.json --noEmit"
251
251
  },
252
252
  "mdbaseRelease": {
253
- "commit": "25e1422ce7be6721603125681044cd1784d25618"
253
+ "commit": "7e627613134d0942f01278bbe807e7a31537ae37"
254
254
  }
255
255
  }