diff options
author | arthmis <artmis9@protonmail.com> | 2024-12-12 01:17:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 06:17:02 +0000 |
commit | 26f61103d62837e1f8dc9f646b9bfdd36949cd4f (patch) | |
tree | 25e196d5af49e3979f6aeb0174e3a2c02a89aa44 /components/script/task_source/rendering.rs | |
parent | dfcbb18a8b85a2a766765d4c2d9f10952e5dc0e0 (diff) | |
download | servo-26f61103d62837e1f8dc9f646b9bfdd36949cd4f.tar.gz servo-26f61103d62837e1f8dc9f646b9bfdd36949cd4f.zip |
Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532)
* respond to winit platform theme changed event and send it to the layout thread
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
* refactoring viewport and theme change handling functions based on feedback
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
* fixing issues reported by test-tidy
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
* update stylo in order to use color_scheme function on Device
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
---------
Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Co-authored-by: lazypassion <25536767+lazypassion@users.noreply.github.com>
Diffstat (limited to 'components/script/task_source/rendering.rs')
0 files changed, 0 insertions, 0 deletions