Tldraw/apps/examples/e2e/tests
Mitja Bezenšek 12aea7ed68
[Experiment] Allow users to use system's appearance (dark / light) mode (#3703)
Allow the users to fully use the same colour scheme as their system.
Allows the users to either: force dark colour scheme, force light colour
scheme, or use the system one.

It's reactive to the system changes.


https://github.com/tldraw/tldraw/assets/2523721/6d4cef03-9ef0-4098-b299-6bf5d7513e98


### Change Type

<!--  Please select a 'Scope' label ️ -->

- [x] `sdk` — Changes the tldraw SDK
- [ ] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [ ] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [ ] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [x] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Add a brief release note for your PR here.

---------

Co-authored-by: David Sheldrick <d.j.sheldrick@gmail.com>
2024-06-17 14:46:04 +00:00
..
export-snapshots.spec.ts-snapshots Dynamic size mode + fill fill (#3835) 2024-06-16 16:58:13 +00:00
fixtures
test-canvas-events.spec.ts-snapshots
export-snapshots.spec.ts [Experiment] Allow users to use system's appearance (dark / light) mode (#3703) 2024-06-17 14:46:04 +00:00
test-actions-menu.spec.ts
test-api.spec.ts
test-camera.spec.ts test: disable camera pinch test for now, too flaky (#3854) 2024-05-31 09:10:04 +00:00
test-canvas-events.spec.ts
test-clipboard.spec.ts
test-context-menu.spec.ts
test-focus.spec.ts tests: ugh edit->edit still flaky, skip (#3919) 2024-06-11 12:39:19 +00:00
test-help-menu.spec.ts
test-kbds.spec.ts [Experiment] Allow users to use system's appearance (dark / light) mode (#3703) 2024-06-17 14:46:04 +00:00
test-main-menu.spec.ts
test-navigation-panel.spec.ts
test-page-menu.spec.ts
test-routes.spec.ts
test-shapes.spec.ts
test-smoke.spec.ts
test-style-panel.spec.ts
test-text.spec.ts
test-toolbar.spec.ts