import mql from '@microlink/mql' const { data } = await mql('https://googlechromelabs.github.io/dark-mode-toggle/demo', { screenshot: true, colorScheme: "dark" })
colorScheme
Type: <string>
Default: 'no-preference'
Default: 'no-preference'
Sets
prefers-color-scheme
CSS media feature, indicating user preference to use 'light'
or 'dark'
color theme over the target url.