Uh oh!
There was an error while loading. Please reload this page.
🐛Fix docs light/dark theme switcher - #1
Conversation
Lehoczky
commented
Aug 24, 2021
Oh I see that https://fastapi.tiangolo.com/ uses the same tooltips. Should I create a PR there too, or is this intentional and not a mistake? |
ArcLightSlavik
commented
Aug 24, 2021
Looks similar if not the same? fastapi/fastapi#3246 |
Lehoczky
commented
Aug 24, 2021
Maybe swapping the icons would be better too, sure. While using the light theme the bulb would be "turned on" and with the dark theme it would be "off". Makes sense to me. However fastapi/fastapi#3246 does not fix the tooltip texts. |
Lehoczky
commented
Aug 26, 2021
Anyway, swapping the text alone seems like an improvement for me. Swapping the icons can be something for another PR. |
Codecov Report
@@ Coverage Diff @@## main #1 +/- ##
=======================================
Coverage ? 97.27% =======================================
Files ? 175 Lines ? 5842 Branches ? 0 =======================================
Hits ? 5683 Misses ? 159 Partials ? 0 Continue to review full report at Codecov.
|
tiangolo
commented
Dec 3, 2021
Great, thank you @Lehoczky! 🚀 And thanks for the comments @ArcLightSlavik! |
Just a simple fix for the lightbulb's tooltip on the documentation site:
Before:


After:

