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 tooltips for light/dark theme toggler in docs #9588

Merged
merged 1 commit into from Jun 22, 2023
Merged

✏️ Fix tooltips for light/dark theme toggler in docs #9588

merged 1 commit into from Jun 22, 2023

Conversation

pankaj1707k
Copy link
Contributor

This is a minor fix 😅

When already in dark mode, hovering over the switcher shows "Switch to dark mode" in the tool-tip. Similarly, it shows "Switch to light mode" when its already in light mode.

I have fixed this by swapping the tool-tip texts in docs/en/mkdocs.yml.

PS: Please clarify if this needs to be done for every language separately or is it sourced from the en directory itself 😅

@github-actions
Copy link
Contributor

📝 Docs preview for commit 6ca3c5d at: https://6474fe11c137bd45d7d893ca--fastapi.netlify.app

@tiangolo
Copy link
Owner

Yep, good catch, thanks! 🚀

@tiangolo tiangolo merged commit d82700c into tiangolo:master Jun 22, 2023
10 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.

None yet

2 participants