Commit 4e23a55
Update illustration colors and add dot grid background (#3004)
* Update Sync and Preview illustrations with dark mode support and dot grid background
Rebuild the Sync tab illustration SVG with proper light/dark mode color switching.
Update the Preview tab browser chrome to use light colors in light mode.
Add an interactive DotGrid canvas component behind both illustrations with a
radial gradient mask for a clean fade effect.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Extract IllustrationGrid wrapper, use CSS tokens in SVGs, add tests
- Extract shared IllustrationGrid component (DotGrid + radial mask)
used by both Sync and Preview tabs
- Replace hardcoded SVG colors with CSS custom properties
(--color-frame-surface, --color-frame-bg, etc.) so illustrations
adapt automatically to theme changes
- Scope SVG class names with short prefixes (sti-, sds-) to avoid
collisions
- Add basic tests for DotGrid and IllustrationGrid components
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Mock DotGrid in sync tests to fix canvas error in jsdom
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Respect prefers-reduced-motion in DotGrid
When reduced motion is preferred, render a static grid with no intro
animation, hover repulsion, or click ripples. Mouse event listeners
are not attached at all. The grid still responds to resize and color
scheme changes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Keep WP logo white in dark mode on blue browser, dedup resize logic
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Solve for strange sidebars
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: katinthehatsite <katerynakodonenko@gmail.com>
Co-authored-by: Kateryna Kodonenko <kateryna@automattic.com>1 parent a405dff commit 4e23a55
10 files changed
Lines changed: 613 additions & 82 deletions
File tree
- apps/studio/src
- components
- tests
- modules/sync
- components
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
| 73 | + | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
0 commit comments