Skip to content

fix(screenshots): force light theme, hide theme switcher#4803

Merged
nicolethoen merged 2 commits into
mainfrom
screenshots-9.25.25
Sep 30, 2025
Merged

fix(screenshots): force light theme, hide theme switcher#4803
nicolethoen merged 2 commits into
mainfrom
screenshots-9.25.25

Conversation

@mcoker
Copy link
Copy Markdown
Contributor

@mcoker mcoker commented Sep 25, 2025

Updated the screenshots in core and made these 2 changes locally that seem useful to have upstream?

First commit updates screenshot script

  • Tells puppeteer to always use light theme, otherwise it will match your OS theme
  • Hides the theme switcher from the screenshots

Second commit runs the screenshot tool to validate the change and show the diff it creates. Probably just removes the theme switcher unless any other full page thing was updated since the last time it ran.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Sep 25, 2025

Deploying patternfly-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8318bc3
Status:🚫  Build failed.

View logs

@patternfly-build
Copy link
Copy Markdown
Collaborator

patternfly-build commented Sep 25, 2025

Preview: https://pf-org--pr-4803-site.surge.sh

@nicolethoen nicolethoen merged commit abff5aa into main Sep 30, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants