0323ee1f6b
This PR fixes a bug where dark mode would not immediately cause shapes to update their colors. Previously, we got the current theme during render but not in a way that hooked into the change. In this update, we hook into the change. We also pass the change down to shape fills as props rather than getting the theme from deeper down. ### Change Type - [x] `patch` ### Test Plan 1. Use dark mode. 2. Switch colors ### Release Notes - [fix] dark mode colors not updating |
||
---|---|---|
.. | ||
export-snapshots.spec.ts-snapshots | ||
test-canvas-events.spec.ts-snapshots | ||
test-focus.spec.ts-snapshots | ||
export-snapshots.spec.ts | ||
test-camera.spec.ts | ||
test-canvas-events.spec.ts | ||
test-clipboard.spec.ts | ||
test-focus.spec.ts | ||
test-kbds.spec.ts | ||
test-routes.spec.ts | ||
test-shapes.spec.ts | ||
test-smoke.spec.ts | ||
test-text.spec.ts |