diff options
author | Usman Yahaya Baba <91813795+UssyMan@users.noreply.github.com> | 2025-04-01 03:08:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 02:08:27 +0000 |
commit | fab7bbcd38bb07b9fd7c22dc805840ad942dcd9e (patch) | |
tree | 78b7634695e9859d620b40b821a13f0371b2b672 /python | |
parent | 8b23801a248fe75adaa6e720feadfec5300c6aac (diff) | |
download | servo-fab7bbcd38bb07b9fd7c22dc805840ad942dcd9e.tar.gz servo-fab7bbcd38bb07b9fd7c22dc805840ad942dcd9e.zip |
Add SimulateColorScheme command and script thread handling (#36253)
Implements Steps 2-3 of #35867:
- Adds `SimulateColorScheme` to `DevtoolScriptControlMsg` for light/dark
mode simulation.
- Handles it in `ScriptThread` with `handle_theme_change` to toggle
themes.
Testing: This PR does not require testing because it only adds
infrastructure (command and handler) but doesn’t yet integrate with
devtools actors.
Fixes: Part of #35867 (https://github.com/servo/servo/issues/35867)
---------
Signed-off-by: Uthman Yahaya Baba <uthmanyahayababa@gmail.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions