Update all documentation references to new custom palette naming
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
2
.github/CLAUDE.md
vendored
2
.github/CLAUDE.md
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<author>Jonathan Miller || Moko Consulting</author>
|
||||
<authorEmail>hello@mokoconsulting.tech</authorEmail>
|
||||
<copyright>(C)GNU General Public License Version 3 - 2026 Moko Consulting</copyright>
|
||||
<description><![CDATA[<h3>MokoCassiopeia Template Description</h3> <p> <strong>MokoCassiopeia 3.0</strong> continues Joomla's tradition of space-themed default templates— building on the legacy of <em>Solarflare</em> (Joomla 1.0), <em>Milkyway</em> (Joomla 1.5), and <em>Protostar</em> (Joomla 3.0). </p> <p> This template is a customized fork of the <strong>Cassiopeia</strong> 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. </p> <h4>Custom Colour Themes</h4> <p> To create a custom colour scheme, copy the template file <code>templates/theme_custom_light.css</code> to <code>media/templates/site/mokocassiopeia/css/theme/light.custom.css</code> or <code>templates/theme_custom_dark.css</code> to <code>media/templates/site/mokocassiopeia/css/theme/dark.custom.css</code>. Customise the CSS variables to match your brand, then activate it in <em>System → Site Templates → MokoCassiopeia → Theme tab</em> by selecting "Custom" for the Light or Dark Mode Palette. For comprehensive documentation on all available CSS variables, see <code>docs/CSS_VARIABLES.md</code>. </p> <h4>Code Attribution</h4> <p> This template is based on the original <strong>Cassiopeia</strong> template developed by the <a href="https://www.joomla.org" target="_blank" rel="noopener">Joomla! Project</a> and released under the GNU General Public License. </p> <p> Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards. </p> <p> It includes integration with <a href="https://afeld.github.io/bootstrap-toc/" target="_blank" rel="noopener">Bootstrap TOC</a>, an open-source table of contents generator by A. Feld, licensed under the MIT License. </p> <p> All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable. </p>]]></description>
|
||||
<description><![CDATA[<h3>MokoCassiopeia Template Description</h3> <p> <strong>MokoCassiopeia 3.0</strong> continues Joomla's tradition of space-themed default templates— building on the legacy of <em>Solarflare</em> (Joomla 1.0), <em>Milkyway</em> (Joomla 1.5), and <em>Protostar</em> (Joomla 3.0). </p> <p> This template is a customized fork of the <strong>Cassiopeia</strong> 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. </p> <h4>Custom Colour Themes</h4> <p> To create a custom colour scheme, copy the template file <code>templates/light.custom.css</code> to <code>media/templates/site/mokocassiopeia/css/theme/light.custom.css</code> or <code>templates/dark.custom.css</code> to <code>media/templates/site/mokocassiopeia/css/theme/dark.custom.css</code>. Customise the CSS variables to match your brand, then activate it in <em>System → Site Templates → MokoCassiopeia → Theme tab</em> by selecting "Custom" for the Light or Dark Mode Palette. For comprehensive documentation on all available CSS variables, see <code>docs/CSS_VARIABLES.md</code>. </p> <h4>Code Attribution</h4> <p> This template is based on the original <strong>Cassiopeia</strong> template developed by the <a href="https://www.joomla.org" target="_blank" rel="noopener">Joomla! Project</a> and released under the GNU General Public License. </p> <p> Modifications and enhancements have been made by Moko Consulting in accordance with open-source licensing standards. </p> <p> It includes integration with <a href="https://afeld.github.io/bootstrap-toc/" target="_blank" rel="noopener">Bootstrap TOC</a>, an open-source table of contents generator by A. Feld, licensed under the MIT License. </p> <p> All third-party libraries and assets remain the property of their respective authors and are credited within their source files where applicable. </p>]]></description>
|
||||
<inheritable>1</inheritable>
|
||||
<files>
|
||||
<filename>component.php</filename>
|
||||
|
||||
Reference in New Issue
Block a user