02.00
**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.
This commit is contained in:
@@ -1,3 +1,33 @@
|
||||
<!--
|
||||
=========================================================================
|
||||
Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
|
||||
|
||||
This file is part of a Moko Consulting project.
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see https://www.gnu.org/licenses/ .
|
||||
=========================================================================
|
||||
FILE INFORMATION
|
||||
DEFGROUP: Joomla
|
||||
INGROUP: Moko-Cassiopeia
|
||||
PATH: CONTRIBUTING.md
|
||||
VERSION: 02.00
|
||||
BRIEF: Contribution guidelines for the Moko-Cassiopeia project
|
||||
=========================================================================
|
||||
-->
|
||||
|
||||
# Contributing Guidelines
|
||||
|
||||
Thank you for considering contributing to this project! We welcome contributions from the community and are grateful for your support.
|
||||
@@ -6,27 +36,27 @@ Thank you for considering contributing to this project! We welcome contributions
|
||||
|
||||
1. **Fork the repository**
|
||||
|
||||
- Click the "Fork" button at the top of the repository page.
|
||||
- Click the "Fork" button at the top of the repository page.
|
||||
|
||||
2. **Create a branch**
|
||||
|
||||
```bash
|
||||
git checkout -b feature/your-feature-name
|
||||
```
|
||||
```bash
|
||||
git checkout -b feature/your-feature-name
|
||||
```
|
||||
|
||||
3. **Make your changes**
|
||||
|
||||
- Follow the existing code style.
|
||||
- Write clear commit messages.
|
||||
- Follow the existing code style.
|
||||
- Write clear commit messages.
|
||||
|
||||
4. **Test your changes**
|
||||
|
||||
- Ensure all tests pass and new code is covered.
|
||||
- Ensure all tests pass and new code is covered.
|
||||
|
||||
5. **Submit a pull request (PR)**
|
||||
|
||||
- Push your branch to your fork.
|
||||
- Open a PR against the `main` branch.
|
||||
- Push your branch to your fork.
|
||||
- Open a PR against the `main` branch.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user