Thanks to visit codestin.com
Credit goes to github.com

Skip to content

📝 Add dark mode auto switch to docs based on OS preference#4869

Merged
tiangolo merged 3 commits into
fastapi:masterfrom
ComicShrimp:master
May 11, 2022
Merged

📝 Add dark mode auto switch to docs based on OS preference#4869
tiangolo merged 3 commits into
fastapi:masterfrom
ComicShrimp:master

Conversation

@ComicShrimp

Copy link
Copy Markdown
Contributor

Implement the example from Material MKdocs that make the docs auto switch from light to dark mode based on system preference.

@codecov

codecov Bot commented May 6, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4869 (e0479d2) into master (d07422a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #4869   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          531       531           
  Lines        13629     13629           
=========================================
  Hits         13629     13629           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d07422a...e0479d2. Read the comment docs.

@ComicShrimp ComicShrimp changed the title docs: add dark mode auto switch based on OS preference 📝 docs: add dark mode auto switch based on OS preference May 6, 2022
@github-actions

github-actions Bot commented May 6, 2022

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 9f03c1b at: https://62755bf4d35e5d1672cea49f--fastapi.netlify.app

@github-actions

github-actions Bot commented May 9, 2022

Copy link
Copy Markdown
Contributor

📝 Docs preview for commit e0479d2 at: https://62796d0186ccd4069344bd57--fastapi.netlify.app

@tiangolo tiangolo changed the title 📝 docs: add dark mode auto switch based on OS preference 📝 Add dark mode auto switch to docs based on OS preference May 11, 2022
@tiangolo

Copy link
Copy Markdown
Member

Great, thanks! 📝 🦇

@tiangolo tiangolo merged commit 15dd126 into fastapi:master May 11, 2022
JeanArhancet pushed a commit to JeanArhancet/fastapi that referenced this pull request Aug 20, 2022
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