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

ENH: Dark theme with light Stanford logo and default to browser preference #12

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

effigies
Copy link
Contributor

@effigies effigies commented Jun 5, 2023

Generated a white logo from Stanford branding and cropped it to match the current logo.

I don't really understand why this isn't working. Chrome continues to show the dark logo, while Firefox only shows the light logo. Will probably need Javascript to actually make this work, which seems bad when HTML supports this.

Marking this as a draft in case anybody wants to figure this out. Will mark it ready to review if/when I get around to doing this.

@effigies effigies marked this pull request as ready for review June 5, 2023 15:29
@effigies effigies changed the title ENH: Dark theme with light Stanford logo ENH: Dark theme with light Stanford logo and default to browser preference Jun 5, 2023
@effigies effigies marked this pull request as draft June 5, 2023 17:29
@effigies
Copy link
Contributor Author

effigies commented Jun 5, 2023

Converted to draft, as sharing this with Quarto devs led one to point out that dark mode can produce flashes on load, which might trigger epilepsy: quarto-dev/quarto-cli#2588 (reply in thread)

Will probably try to play around with it more sooner or later. I really don't like light themes...

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.

1 participant