Skip to content

Docs: Select color scheme based on system preference - #3591

Merged
frostming merged 2 commits into
pdm-project:mainfrom
p-rogalski:docs-system-preference-color-theme
Aug 5, 2025
Merged

Docs: Select color scheme based on system preference#3591
frostming merged 2 commits into
pdm-project:mainfrom
p-rogalski:docs-system-preference-color-theme

Conversation

@p-rogalski

@p-rogalski p-rogalski commented Aug 4, 2025

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Added a toggle to select the documentation color scheme based on system preference. Additionally, the icons for light and dark mode were adjusted to match the automatic toggle icon.

Related mkdocs documentation: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#automatic-light-dark-mode

@codecov

codecov Bot commented Aug 4, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.23%. Comparing base (625e2a5) to head (9c9a049).
⚠️ Report is 52 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3591      +/-   ##
==========================================
- Coverage   85.47%   85.23%   -0.24%     
==========================================
  Files         118      118              
  Lines       12017    12017              
  Branches     1961     1961              
==========================================
- Hits        10271    10243      -28     
- Misses       1180     1209      +29     
+ Partials      566      565       -1     
Flag Coverage Δ
unittests 85.09% <ø> (-0.23%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@frostming
frostming merged commit 26b7b95 into pdm-project:main Aug 5, 2025
23 of 24 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.

2 participants