Skip to content

🩹 Shiro v1.3.1 Released: giscus Dark Mode Fix & Style Refinements

Choose a tag to compare

@Acris Acris released this 14 Mar 06:15
· 198 commits to dev since this release
44a666f

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: dark on .giscus-frame for proper browser-native control rendering inside the iframe.
  • Removed redundant .dark style overrides for Disqus, relying on CSS variable auto-switching instead.

Documentation

  • Normalized "Giscus" → "giscus" (lowercase) across _config.yml, README.md, and README_CN.md to 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@latest

Git

cd themes/shiro
git pull

Note: 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 ❤️