Tanish Manku
6eb88ee565
pagedraw: replace hardcoded chrome colors with semantic tokens
Implements the P0 color item from the PageDraw design review. Swap raw
hex/palette chrome colors for the semantic tokens shared by both lib
hosts (artcraft desktop + artcraft-webapp):
- ContextMenu: #1A1A1A/#333333/#ECECEC -> bg-ui-panel, white/10 hairlines,
text-base-fg/90
- SideToolbar: zinc swatch + #404040/#303030 popovers -> ui-controls /
bg-ui-panel + white/10 borders
- SliderWithIndicator: #5F5F68 tooltip -> bg-ui-controls
- SplitPane: gray-500/600 -> white/20-30
- HistoryStack: text-gray-400 -> text-base-fg/50
- PageDraw + base-image-selector: blue-500/600 accents -> primary token
(so the editor accent matches the product's brand-primary)
- pagedraw.css pegboard: #1b1b1b -> var(--st-canvas, #1b1b1b)
Only tokens defined in both host themes are used. Konva canvas-paint
colors (node strokes, brush defaults, selection fills) are intentionally
left as literals — they're canvas content, not CSS chrome. Oversized
modules deferred per scope.
2026-06-15 18:01:09 -07:00
..
2026-01-23 05:12:56 -05:00
2026-03-25 18:32:43 +07:00
2026-05-09 02:31:54 +07:00
2026-05-22 14:05:19 +07:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-05-09 14:26:42 -07:00
2026-04-22 18:38:02 +07:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-04-09 09:07:21 -07:00
2026-06-13 17:25:40 -04:00
2026-06-13 17:25:40 -04:00
2026-01-23 05:12:56 -05:00
2026-01-29 00:34:34 +07:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-04-03 15:19:41 +07:00
2026-05-22 14:05:19 +07:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-03-17 20:36:29 +07:00
2026-06-13 17:25:40 -04:00
2026-06-01 18:17:14 +07:00
2026-06-12 05:50:58 +07:00
2026-06-13 17:25:40 -04:00
2026-06-15 18:01:09 -07:00
2026-06-13 17:25:40 -04:00
2026-01-23 05:12:56 -05:00
2026-06-13 17:25:40 -04:00
2026-06-13 17:25:40 -04:00
2026-05-26 16:08:50 +07:00
2026-01-23 05:12:56 -05:00
2026-06-13 17:25:40 -04:00
2026-02-16 16:27:38 +07:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-01-23 05:12:56 -05:00
2026-06-14 22:20:29 -04:00
2026-04-14 21:31:45 +07:00
2026-04-30 10:02:10 +07:00
2026-06-02 20:36:02 +07:00
2026-01-23 05:12:56 -05:00
2026-04-22 18:38:02 +07:00
2026-06-08 13:01:51 -07:00
2026-05-09 16:35:18 +07:00
2026-06-13 17:25:40 -04:00
2026-03-06 02:08:51 +07:00