Skip to content

Make Giscus light and dark themes configurable via _config.yml #3270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

neuroconvergent
Copy link

Currently, the site.giscus.theme option is ignored because giscus.liquid always computes the theme as light/dark based on the current site theme. This PR allows users to configure separate light and dark giscus themes in _config.yml, which will support dynamic updates when switching between light, dark, or system themes.

Fixes #3269

Copy link

netlify bot commented Aug 16, 2025

Deploy Preview for relaxed-lollipop-b6bc17 ready!

Name Link
🔨 Latest commit 4d1d3fa
🔍 Latest deploy log https://app.netlify.com/projects/relaxed-lollipop-b6bc17/deploys/68a0e1ed376aea00088952bf
😎 Deploy Preview https://deploy-preview-3270--relaxed-lollipop-b6bc17.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Giscus theme option doesn't work
1 participant