**Major Release** — introduces the long-awaited **Dark Mode Toggle**, streamlining accessibility and usability enhancements. ##Added * **Dark Mode Toggle** * Frontend toggle switch included in template. * JavaScript handles switching between light/dark modes. * Dark mode CSS rules applied across template styles. * Automatic persistence of user choice (via localStorage). * **Header Parameters Update** * Added **logo parameter support** in template settings. * Updated metadata & copyright header. * **Expanded TOC (Table of Contents)** * Automatic TOC injection when enabled. * User selects placement via article > options > layout (`toc-left` or `toc-right`). ##Improved * Cleaned up `index.php` by removing **skip-to-content** duplicate calls. * Consolidated JavaScript asset loading (ensuring dark-mode script is loaded correctly from external JS file). * Streamlined CSS for **toggle switch**, ensuring it inherits Bootstrap/Cassiopeia defaults. * General accessibility refinements in typography and color contrast. ##Fixed * Fixed missing **logo param** in header output. * Corrected stylesheet inconsistencies between Bootstrap 5 helpers and template overrides. * Patched redundant calls in script includes.
2.2 KiB
2.2 KiB
Contributing Guidelines
Thank you for considering contributing to this project! We welcome contributions from the community and are grateful for your support.
📋 How to Contribute
-
Fork the repository
- Click the "Fork" button at the top of the repository page.
-
Create a branch
git checkout -b feature/your-feature-name -
Make your changes
- Follow the existing code style.
- Write clear commit messages.
-
Test your changes
- Ensure all tests pass and new code is covered.
-
Submit a pull request (PR)
- Push your branch to your fork.
- Open a PR against the
mainbranch.
🛠 Development Guidelines
- Use
.editorconfigfor consistent formatting. - Keep commits focused — one feature/fix per commit.
- Write documentation for new features.
📜 Code of Conduct
By participating in this project, you agree to follow our Code of Conduct.
© 2025 Moko Consulting. Licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).