Skip to content

Increase contrast in dark theme and add optional light theme#8

Merged
nscuro merged 1 commit into
mainfrom
tweak-theme
Apr 24, 2026
Merged

Increase contrast in dark theme and add optional light theme#8
nscuro merged 1 commit into
mainfrom
tweak-theme

Conversation

@nscuro

@nscuro nscuro commented Apr 24, 2026

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: nscuro <nscuro@protonmail.com>
Copilot AI review requested due to automatic review settings April 24, 2026 21:07
@nscuro nscuro added the enhancement New feature or request label Apr 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the MkDocs Material theme configuration to improve dark-theme contrast and introduce a user-toggleable light theme for the documentation site.

Changes:

  • Reworked theme.palette to provide both slate (dark) and default (light) schemes with a toggle.
  • Added/updated CSS custom properties for both schemes to support primary: custom / accent: custom.
  • Adjusted link styling in content to improve visibility (underline with hover behavior).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
mkdocs.yml Adds dual palette entries (dark/light) and a theme toggle, switching to custom primary/accent colors.
docs/stylesheets/extra.css Defines scheme-specific CSS variables for default and slate, plus link underline styling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nscuro nscuro merged commit 5b73b85 into main Apr 24, 2026
9 checks passed
@nscuro nscuro deleted the tweak-theme branch April 24, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants