@dbx-tools/ui-branding 0.6.217 → 0.6.219

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
@@ -67,11 +67,13 @@ default AppKit renders untouched.
67
67
  </BrandProvider>
68
68
  ```
69
69
 
70
- The bridge is **identity-only** (primary/accent/ring/sidebar-primary + fonts). It
71
- intentionally does not remap neutrals (`--background`/`--foreground`/`--muted`/
72
- `--border`) because a `BrandContext` carries a single light palette — remapping
73
- neutrals would disable dark mode. Add new semantic tokens to re-skin in
74
- `brand-bridge.css`.
70
+ The bridge is **identity-only** (primary/ring/sidebar-primary + fonts). Selected
71
+ menus, rows, and tabs receive a subtle `primaryHover` tint rather than a brand
72
+ accent, so default navigation stays cool blue instead of reading as coral/red or
73
+ success green. It intentionally leaves neutrals (`--background`/`--foreground`/
74
+ `--muted`/`--border`) and status tokens (`--success`/`--warning`/
75
+ `--destructive`) to AppKit because those values must remain theme-aware. Add new
76
+ semantic tokens to re-skin in `brand-bridge.css`.
75
77
 
76
78
  ## Assets
77
79
 
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // Hand edits are overwritten on the next watch; this file is read-only.
4
4
 
5
5
  export const PACKAGE_IDENTIFIER = "@dbx-tools/ui-branding";
6
- export const PACKAGE_VERSION = "0.6.217";
6
+ export const PACKAGE_VERSION = "0.6.219";
7
7
  export * as browser from "./src/browser.ts";
8
8
  export * as generatedAssets from "./src/generated/assets.ts";
9
9
  export * as reactBrand from "./src/react/brand.tsx";
package/package.json CHANGED
@@ -31,13 +31,13 @@
31
31
  "react-dom": "~19.2.4"
32
32
  },
33
33
  "dependencies": {
34
- "@dbx-tools/shared-core": "0.6.217"
34
+ "@dbx-tools/shared-core": "0.6.219"
35
35
  },
36
36
  "license": "Apache-2.0",
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "version": "0.6.217",
40
+ "version": "0.6.219",
41
41
  "type": "module",
42
42
  "exports": {
43
43
  "./react": "./src/react/index.ts",
@@ -35,15 +35,16 @@
35
35
  * in `ThreadSidebar`, which styles off `bg-accent text-accent-foreground`, was
36
36
  * the worst of it.
37
37
  *
38
- * So tint rather than replace: a low percentage of the brand accent mixed into
39
- * the CURRENT `--background`. Because `--background` is a neutral this bridge
40
- * deliberately leaves to AppKit, the mix follows the active theme on its own -
41
- * a pale wash in light mode, a deep one in dark - which keeps AppKit's own
42
- * per-theme `--accent-foreground` (near-black / near-white) readable against
43
- * it. That is also why `--accent-foreground` is NOT set here: pinning it would
44
- * break whichever theme it was not chosen for.
38
+ * Menus, selected rows, and tabs are navigation, not success or identity
39
+ * signals. Tint them with the cooler primary-hover color rather than the
40
+ * identity accent so the default brand produces a quiet blue wash instead of
41
+ * coral/red or success green. Mixing into the CURRENT `--background` follows
42
+ * the active theme on its own - pale in light mode and deep in dark mode -
43
+ * while AppKit's per-theme `--accent-foreground` remains readable. That is
44
+ * also why `--accent-foreground` is NOT set here: pinning it would break
45
+ * whichever theme it was not chosen for.
45
46
  */
46
- --accent: color-mix(in oklab, var(--brand-color-accent) 18%, var(--background));
47
+ --accent: color-mix(in oklab, var(--brand-color-primary-hover) 12%, var(--background));
47
48
  --sidebar-primary: var(--brand-color-primary);
48
49
  --sidebar-primary-foreground: var(--brand-color-background);
49
50
  --sidebar-ring: var(--brand-color-primary);
package/src/styles.css CHANGED
@@ -1,6 +1,6 @@
1
1
  :root {
2
- --brand-color-primary: #ff3621;
3
- --brand-color-primary-hover: #98102a;
2
+ --brand-color-primary: #1b3139;
3
+ --brand-color-primary-hover: #0e538b;
4
4
  --brand-color-accent: #00a972;
5
5
  --brand-color-foreground: #1b3139;
6
6
  --brand-color-background: #ffffff;