Skip to content

docs: update MkDocs palette toggle configuration#211

Merged
j-d-ha merged 1 commit into
mainfrom
docs/add-auto-dark-theme-change
Dec 2, 2025
Merged

docs: update MkDocs palette toggle configuration#211
j-d-ha merged 1 commit into
mainfrom
docs/add-auto-dark-theme-change

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Dec 2, 2025

Copy link
Copy Markdown
Collaborator

Summary

Updates the MkDocs theme configuration to support automatic dark mode detection based on system preferences, along with improved palette toggle icons.

Changes

  • Added automatic dark mode palette option that respects system prefers-color-scheme setting
  • Updated toggle icons to use lightbulb variants for better visual consistency
  • Added media queries to palette configurations for proper light/dark mode detection
  • Removed navigation.tabs.sticky feature flag

Type of Change

  • Documentation update
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Testing

  • Verified MkDocs builds successfully with new configuration
  • Tested automatic theme switching based on system preferences
  • Confirmed manual theme toggle works correctly

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

- Added support for automatic mode palette toggle with improved icons.
- Removed deprecated `navigation.tabs.sticky` option.
- Updated light and dark mode toggle settings with contextual media queries.
@github-actions github-actions Bot added breaking-change Introduces a breaking change type: feat New feature labels Dec 2, 2025
@j-d-ha j-d-ha changed the title feat(docs): update MkDocs palette toggle configuration docs: update MkDocs palette toggle configuration Dec 2, 2025
@j-d-ha j-d-ha removed the breaking-change Introduces a breaking change label Dec 2, 2025
@j-d-ha
j-d-ha merged commit 1daba7d into main Dec 2, 2025
7 of 9 checks passed
@j-d-ha
j-d-ha deleted the docs/add-auto-dark-theme-change branch December 2, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feat New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant