Commit ff2a366
committed
feat(hub-ui): bridge json-render accent to the brand primary
json-render components read their accent from `--jr-primary` (a standalone
blue default) via inline styles, so rendered plugin UI ignored the hub primary
and any branding override. Since ViewJsonRender renders inside the dock shadow
root, set `--jr-primary` from the brand primary in the ramp block — Tabs,
Switch, Progress, and Link now follow --devframe-primary / branding, tracking
the global primary (not per-group accent, matching the chrome-only accent
decision). The blue fallback remains for standalone json-render use.
Created with the help of an agent.1 parent a1c74f9 commit ff2a366
3 files changed
Lines changed: 16 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
41 | 52 | | |
0 commit comments