Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix print preview in dark mode #3003

Merged
merged 2 commits into from
Jan 14, 2025
Merged

fix print preview in dark mode #3003

merged 2 commits into from
Jan 14, 2025

Conversation

kwongz
Copy link
Contributor

@kwongz kwongz commented Jan 13, 2025

Description

Ensures when in Dark mode or System: Dark Mode that print preview will have light mode styling

Screen.Recording.2025-01-13.134631.mp4

Something I noticed that system: dark mode takes care of print preview in light mode, whilst keeping the page with dark mode styling. It would be ideal if dark mode did the same, but couldn't find a way to make that happen.

Checklist

  • For UI or styling changes, I have added a screenshot or gif showing before & after
  • I have added a changeset
  • [ ] I have added to the docs where applicable
  • [ ] I have added to the VS Code extension where applicable

@kwongz kwongz requested a review from zachstence January 13, 2025 18:59
@kwongz
Copy link
Contributor Author

kwongz commented Jan 13, 2025

fixes #2970

@kwongz
Copy link
Contributor Author

kwongz commented Jan 13, 2025

@archiewood

tried opening the preview - docs in a iframe on a local hosted site. print preview of dark mode in a iframe looks good.

  • Firefox, Microsoft Edge, Google Chrome
Screen.Recording.2025-01-13.150948.mp4

@kwongz kwongz merged commit 4c8a120 into next Jan 14, 2025
61 of 62 checks passed
@kwongz kwongz deleted the fix/2970-print-light-mode branch January 14, 2025 14:30
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.

2 participants