Skip to content

Commit

Permalink
docs: logo in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
warmachine028 committed Nov 24, 2024
1 parent 5e01c02 commit b1fd63f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/take-snapshot.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ const takeSnapShot = async () => {
const page = await browser.newPage()
await page.setViewport({ width: 1920, height: 1080 })
await page.goto(url)
await sleep(3000)
await page.emulateMediaFeatures([{ name: "prefers-color-scheme", value: "light" }]);
await page.screenshot({ path: '.github/preview-light.png' })
await sleep(3000)
await page.emulateMediaFeatures([{ name: "prefers-color-scheme", value: "dark" }]);
await page.screenshot({ path: '.github/preview-dark.png' })
await browser.close()
Expand Down

1 comment on commit b1fd63f

@vercel
Copy link

@vercel vercel bot commented on b1fd63f Nov 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.