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

feat: Sync Export Theme to Current Theme #7959

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MxMossy
Copy link

@MxMossy MxMossy commented Apr 26, 2024

This change syncs the dark toggle to the current theme when a user opens the export dialogue.
I've read the arguments against this in #2026 but wanted to throw in my 2 cents.

I often use excalidraw for small edits and mockups and remember being confused why it was exporting in light mode despite my work being in dark mode. Of course, after a quick google I realized there was a toggle for it.

#4689 is another example of a user getting confused (granted with the old ui). As @ad1992 noted in the discussion, it's more likely a user wants to export what they are seeing. Generally, I would think if a user is working on a longer project that involves switching themes during the day, they are more likely to be a power user who is aware of this quirk.

As a final note, I use dark mode to avoid getting flash-banged by bright regions so the temporary light theme preview is an annoyance, as nit-picky as that sounds.

Open to discussion on this though!

Copy link

vercel bot commented Apr 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
excalidraw ✅ Ready (Inspect) Visit Preview Apr 26, 2024 0:09am
excalidraw-package-example ✅ Ready (Inspect) Visit Preview Apr 26, 2024 0:09am
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview Apr 26, 2024 0:09am
1 Ignored Deployment
Name Status Preview Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Apr 26, 2024 0:09am

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.

None yet

1 participant