--emulate-dark-mode
- CLI
- --emulate-dark-mode
Sets prefers-color-scheme to dark. The default page apperance is light.
Example
zshot -f page.png \
--emulate-dark-mode \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "png",
"emulate_dark_mode": true
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/hello_zshot/","output_type":"png","emulate_dark_mode":true}' \
-o page.png