c011742e4a
Add smooth theme-switch transitions and restore hero .overlay wrapper
...
- Add prefers-reduced-motion-scoped CSS transitions (bg, color, border) on
:root, body, and key layout containers so light/dark theme switches animate
smoothly instead of snapping
- Restore <div class="overlay"> child in hero.php; slim .custom-hero rule to a
customisation hook only — visual overlay styles are handled by .overlay child
- Regenerate template.min.css
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 20:55:50 -05:00
57b4c3240e
Add hero/banner-overlay CSS variables and wire template.css
...
- Add HERO / BANNER OVERLAY section to light.standard.css and dark.standard.css:
--hero-height, --hero-color, --hero-bg-repeat, --hero-bg-attachment,
--hero-bg-position, --hero-bg-size, --hero-border-bottom,
--hero-overlay-bg (light: 0.1 alpha / dark: 0.3 alpha),
--hero-overlay-padding, --hero-overlay-text-align, --hero-overlay-text-color
- Replace all hardcoded values in .container-banner .banner-overlay and
.overlay with var() references (with fallbacks)
- Fix background-position: comma syntax → correct space-separated single-bg value
- Add css_vars_hero note field to CSS Variables tab in templateDetails.xml
- Add TPL_MOKOCASSIOPEIA_CSS_VARS_HERO_LABEL/DESC to en-US and en-GB
- Regenerate .min files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 20:51:09 -05:00
f0e7ccac6d
Add minify build script and generate .min CSS/JS; rename position to brand-aside
...
Build tooling:
- Add package.json with clean-css and terser dev dependencies
- Add scripts/minify.js: reads joomla.asset.json, auto-detects source/.min
pairs, and minifies all template-owned CSS and JS files
- Add node_modules/ to .gitignore
Generated .min files (all 6 manifest pairs):
- css/template.min.css (17.8% saved)
- css/editor.min.css (49.4% saved)
- css/theme/light.standard.min.css (13.1% saved)
- css/theme/dark.standard.min.css (14.4% saved)
- js/template.min.js (58.2% saved)
- js/gtm.min.js (62.3% saved)
Rename: header-aside → brand-aside (position, CSS class, language keys)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 20:22:09 -05:00