@dbx-tools/ui-branding 0.6.217 → 0.6.218
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 +7 -5
- package/index.ts +1 -1
- package/package.json +2 -2
- package/src/brand-bridge.css +9 -8
- package/src/styles.css +2 -2
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/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
`
|
|
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.
|
|
6
|
+
export const PACKAGE_VERSION = "0.6.218";
|
|
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.
|
|
34
|
+
"@dbx-tools/shared-core": "0.6.218"
|
|
35
35
|
},
|
|
36
36
|
"license": "Apache-2.0",
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"version": "0.6.
|
|
40
|
+
"version": "0.6.218",
|
|
41
41
|
"type": "module",
|
|
42
42
|
"exports": {
|
|
43
43
|
"./react": "./src/react/index.ts",
|
package/src/brand-bridge.css
CHANGED
|
@@ -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
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
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-
|
|
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