Add "theme-dark" or "theme-light" to any module's Module Class Suffix
to force it into dark or light mode regardless of the page theme.
Implementation:
- CSS theme selectors changed from :root[data-bs-theme] to
[data-bs-theme] so variables apply to any element, not just <html>
- JS scans for .theme-dark/.theme-light classes on DOMContentLoaded
and sets data-bs-theme attribute on matching elements
- Scoped background/color/border-radius applied to themed modules
- Works with all module types, all layouts, no per-override changes
Files: template.js, template.css, light.standard.css, dark.standard.css,
light.custom.css, dark.custom.css, en-GB + en-US language docs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
BREAKING CHANGE: Sites still on MokoCassiopeia must install MokoOnyx
v01.x first to migrate settings before upgrading to v02.
Removed:
- helper/migrate.php — full migration engine (style cloning, file copy,
update server rewrite)
- script.php migration methods: migrateFromCassiopeia(),
copyUserFiles(), replaceCassiopeiaReferences() + OLD_NAME constants
- index.php first-load migration check (file_exists .migrated)
- Migration fieldset and language strings from admin UI
- "formerly MokoCassiopeia" from description
- MokoCassiopeia reference in bootstrap-toc.css comment
Updated:
- Roadmap rewritten for 01.xx→02.xx version line with clean future plan
- script.php MIN_JOOMLA bumped to 5.0.0 (Joomla 4.4 dropped)
- script.php postflight() simplified (favicon + lock only)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Remove GitHub mirror step from release.yml (Gitea is sole release host)
- Remove GitHub update server from templateDetails.xml
- Replace GH_TOKEN composer auth with GA_TOKEN Gitea auth
- Collapse MokoCassiopeia migration guide in <details> element
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add template overrides for com_joomgallery (gallery, category, image)
with Schema.org markup, Bootstrap 5 styling, and accessibility
- Sync dev branch version to 01.00.25 (match stable) so dev channel
is visible in Joomla update system (was 01.00.24 < stable 01.00.25)
- Add <creationDate> to auto-release.yml build_entry() and
update-server.yml NEW_ENTRY builder
- Add creationDate update to .gitea/workflows/release.yml auto-bump step
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Apply the same pseudo-element layering (scaled bg image, radial blur
softening, glass-effect overlay panel) to modules using the
banner-overlay.custom-hero class inside container-banner.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Bootstrap .btn-outline-secondary was overriding the accent color
and border-radius. Use higher specificity + !important.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
.hero now uses --hero-bg-image, --hero-bg-repeat, --hero-bg-attachment,
--hero-bg-position, --hero-bg-size CSS variables.
Default min-height changed from 100% to 75vh.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the large inline CSS variables reference fieldset with a
single note linking to the MokoOnyx repo documentation.
Add docs link to template description.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
.drawer-toggle-left gets border-radius 0 on left side.
.drawer-toggle-right gets border-radius 0 on right side.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
.hero is the module wrapper — now a full-width flex container.
Card styling (max-width, bg, padding, radius) moves to .hero .card.
All dimensions driven by CSS variables with sensible defaults:
--hero-justify, --hero-align, --hero-min-height,
--hero-card-text-align, --hero-card-max-width, etc.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sets locked=1 in #__extensions after install/update to prevent
accidental uninstallation via Extension Manager.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add scripts/minify.js using clean-css and terser
- Add "Setup Node.js" and "Minify CSS and JS" steps to both
.gitea and .github release workflows (runs before packaging)
- Add src/media/{css,js}/*.min.{css,js} to .gitignore
- Remove tracked .min files from the repo (vendor/ untouched)
This eliminates noisy diffs on generated files and ensures the
release ZIP always contains freshly minified assets.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add the new variable to both en-GB and en-US language strings so it
appears in the template admin panel alongside the existing header
background variables.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fix typo (backgroun-color → background-color) in .container-header that
silently broke the color fallback. Split background shorthand into
discrete background-color / background-image properties so the color
renders when --header-background-image is set to none.
Add --header-background-color to all four theme files (dark.standard,
light.standard, dark.custom, light.custom). Regenerate minified CSS.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds replaceCassiopeiaReferences() to script.php postflight so
article content and custom HTML modules are updated during
Joomla admin install/update, not just on frontend page load.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Favicons now output to media/templates/site/mokoonyx/images/favicons/
- On install/update: removes old /images/favicons/ directory
- On install/update: removes stale favicon files from site root
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Ensures site.webmanifest and all favicon files are regenerated
after every template install or update.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>