From c4e8306d1b99204ceb2713905b5af3ef912a9691 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Mar 2026 00:56:17 +0000 Subject: [PATCH] Update all documentation references to new custom palette naming Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com> --- .github/CLAUDE.md | 2 +- README.md | 4 ++-- docs/CSS_VARIABLES.md | 6 +++--- src/templateDetails.xml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/CLAUDE.md b/.github/CLAUDE.md index d5931f3..bd84bb2 100644 --- a/.github/CLAUDE.md +++ b/.github/CLAUDE.md @@ -192,7 +192,7 @@ From `phpcs.xml`: - **Classes**: Kebab-case (e.g., `.theme-toggle`, `.fab-button`) - **IDs**: Kebab-case (e.g., `#main-content`) - **CSS Variables**: Kebab-case with double hyphen prefix (e.g., `--color-primary`, `--body-bg`) -- **Files**: Lowercase with underscores for variants (e.g., `colors_standard.css`, `colors_custom_light.css`) +- **Files**: Lowercase with dots and descriptive names (e.g., `light.standard.css`, `dark.custom.css`, `light.custom.css`) ### General File Naming diff --git a/README.md b/README.md index ba1a93e..5a975fc 100644 --- a/README.md +++ b/README.md @@ -208,8 +208,8 @@ Access template configuration via **System → Site Templates → MokoCassiopeia MokoCassiopeia supports custom theme schemes: 1. **Copy template files** from `/templates/` directory: - - `theme_custom_light.css` → `media/templates/site/mokocassiopeia/css/theme/light.custom.css` - - `theme_custom_dark.css` → `media/templates/site/mokocassiopeia/css/theme/dark.custom.css` + - `light.custom.css` → `media/templates/site/mokocassiopeia/css/theme/light.custom.css` + - `dark.custom.css` → `media/templates/site/mokocassiopeia/css/theme/dark.custom.css` 2. **Customize** the CSS variables to match your brand colors 3. **Enable in Joomla**: System → Site Templates → MokoCassiopeia → Theme tab → Set palette to "Custom" 4. **Save** and view your site with custom colors diff --git a/docs/CSS_VARIABLES.md b/docs/CSS_VARIABLES.md index 5a07b80..f4adec4 100644 --- a/docs/CSS_VARIABLES.md +++ b/docs/CSS_VARIABLES.md @@ -46,8 +46,8 @@ This document provides a complete reference of all CSS variables available in th To create custom color schemes: 1. **Copy template files** from `./templates/` directory: - - `theme_custom_light.css` → `media/templates/site/mokocassiopeia/css/theme/light.custom.css` - - `theme_custom_dark.css` → `media/templates/site/mokocassiopeia/css/theme/dark.custom.css` + - `light.custom.css` → `media/templates/site/mokocassiopeia/css/theme/light.custom.css` + - `dark.custom.css` → `media/templates/site/mokocassiopeia/css/theme/dark.custom.css` 2. **Edit the variables** in the copied files to match your brand @@ -638,7 +638,7 @@ To customize button colors in your custom color palette: } ``` -See `templates/colors_custom_light.css` and `templates/colors_custom_dark.css` for complete examples. +See `templates/light.custom.css` and `templates/dark.custom.css` for complete examples. --- diff --git a/src/templateDetails.xml b/src/templateDetails.xml index a843aa8..9eefe73 100644 --- a/src/templateDetails.xml +++ b/src/templateDetails.xml @@ -41,7 +41,7 @@ Jonathan Miller || Moko Consulting hello@mokoconsulting.tech (C)GNU General Public License Version 3 - 2026 Moko Consulting - MokoCassiopeia Template Description

MokoCassiopeia 3.0 continues Joomla's tradition of space-themed default templates— building on the legacy of Solarflare (Joomla 1.0), Milkyway (Joomla 1.5), and Protostar (Joomla 3.0).

This template is a customized fork of the Cassiopeia template introduced in Joomla 4, preserving its modern, accessible, and mobile-first foundation while introducing new stylistic enhancements and structural refinements specifically tailored for use by Moko Consulting.

Custom Colour Themes

To create a custom colour scheme, copy the template file templates/theme_custom_light.css to media/templates/site/mokocassiopeia/css/theme/light.custom.css or templates/theme_custom_dark.css to media/templates/site/mokocassiopeia/css/theme/dark.custom.css. Customise the CSS variables to match your brand, then activate it in System → Site Templates → MokoCassiopeia → Theme tab by selecting "Custom" for the Light or Dark Mode Palette. For comprehensive documentation on all available CSS variables, see docs/CSS_VARIABLES.md.

Code Attribution

This template is based on the original Cassiopeia template developed by the Joomla! Project and released under the GNU General Public License.

Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.

It includes integration with Bootstrap TOC, an open-source table of contents generator by A. Feld, licensed under the MIT License.

All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.

]]>
+ MokoCassiopeia Template Description

MokoCassiopeia 3.0 continues Joomla's tradition of space-themed default templates— building on the legacy of Solarflare (Joomla 1.0), Milkyway (Joomla 1.5), and Protostar (Joomla 3.0).

This template is a customized fork of the Cassiopeia template introduced in Joomla 4, preserving its modern, accessible, and mobile-first foundation while introducing new stylistic enhancements and structural refinements specifically tailored for use by Moko Consulting.

Custom Colour Themes

To create a custom colour scheme, copy the template file templates/light.custom.css to media/templates/site/mokocassiopeia/css/theme/light.custom.css or templates/dark.custom.css to media/templates/site/mokocassiopeia/css/theme/dark.custom.css. Customise the CSS variables to match your brand, then activate it in System → Site Templates → MokoCassiopeia → Theme tab by selecting "Custom" for the Light or Dark Mode Palette. For comprehensive documentation on all available CSS variables, see docs/CSS_VARIABLES.md.

Code Attribution

This template is based on the original Cassiopeia template developed by the Joomla! Project and released under the GNU General Public License.

Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards.

It includes integration with Bootstrap TOC, an open-source table of contents generator by A. Feld, licensed under the MIT License.

All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable.

]]>
1 component.php