Repository navigation
🩹 Shiro v1.3.1 Released: giscus Dark Mode Fix & Style Refinements
A patch release that fixes giscus comment system theme switching between light and dark modes, along with minor style and documentation refinements.
🐛 Bug Fixes
💬 giscus Dark/Light Mode Switching
Fixed an issue where toggling between light mode and dark mode did not update the giscus comment box theme accordingly. The color-scheme property is now correctly applied to .giscus-frame in both light and dark modes, ensuring the comment area reflects the active color scheme when switching modes.
🔧 Improvements
Comment System Styles
- Restored
color-scheme: light/color-scheme: darkon.giscus-framefor proper browser-native control rendering inside the iframe. - Removed redundant
.darkstyle overrides for Disqus, relying on CSS variable auto-switching instead.
Documentation
- Normalized "Giscus" → "giscus" (lowercase) across
_config.yml,README.md, andREADME_CN.mdto match the official giscus branding.
🛠️ Upgrade Notes
To update your theme to the latest version, use the method matching your installation:
npm
npm i hexo-theme-shiro@latestGit
cd themes/shiro
git pullNote: After upgrading, review the default _config.yml for any new or changed options, and update your _config.shiro.yml accordingly.
This release is fully backward compatible — no configuration changes are required. Simply update the theme files and rebuild your site.
🤝 Feedback
Thank you for using Shiro! If you encounter any issues with the new features or have suggestions, please feel free to open an issue.
If you enjoy using Shiro, please consider giving it a ⭐️ on GitHub to support my work!
Full Changelog: v1.3.0...v1.3.1
Made by Acris with ❤️