This repository contains a version of my personal website and blog built on Docusaurus. The site hosts my occasionally updated blog and links to documentation in my other repositories.
Provide a brief description about why this PR is necessary. Be sure to provide context.
This PR adds support for automatically applying the light or dark theme based on the user's system preference.
Related issues and/or PRs
Add a link to any existing issues and/or PRs. Or, write N/A if no related issues and/or PRs exist.
N/A
Changes made
Outline the specific changes made in this pull request in the form of a bulleted list. Include relevant details, such as added features, bug fixes, code refactoring, or improvements.
Added a configuration for automatically applying a theme that matches the user's system preferences based on the configurations in the Docusaurus documentation for color modes.
Checklist
The following is a best-effort checklist. If any items in this checklist are not applicable to this PR, add N/A after each item.
Documentation
[ ] I have updated the side navigation as necessary. N/A
[ ] I have updated the documentation to reflect the changes. N/A
[ ] I have documented or updated any remaining open issues linked to this PR in GitHub, Obsidian, etc. N/A
Build, deploy, and test
[ ] I have merged and published any dependent changes in other PRs. N/A
[ ] I have commented my code, particularly in hard-to-understand areas. N/A
[x] I have checked that my changes look as expected on a locally built version of the docs site.
Description
This PR adds support for automatically applying the light or dark theme based on the user's system preference.
Related issues and/or PRs
N/A
Changes made
Checklist
Documentation
N/A
N/A
N/A
Build, deploy, and test
N/A
N/A