Complete template system overhaul: CSS variables, theme management, and UI improvements #74

Merged
Copilot merged 47 commits from copilot/fix-language-constants-display into main 2026-02-07 17:49:30 +00:00
2 changed files with 3 additions and 4 deletions
Showing only changes of commit b1ce13ca8b - Show all commits

View File

@@ -91,8 +91,8 @@ $wa->useStyle('template.vendor.social-media-demo'); // css/user.css
$wa->useStyle('vendor.bootstrap-toc'); $wa->useStyle('vendor.bootstrap-toc');
// Optional demo/showcase CSS (available for use, not loaded by default) // Optional demo/showcase CSS (available for use, not loaded by default)
// To use: Add 'template.global.social-media-demo' to your article/module // To use: Create the CSS file and register it in joomla.asset.json, then add to your article/module
// $wa->useStyle('template.global.social-media-demo'); // Example: $wa->useStyle('template.social-media-demo');
// Color theme (light + optional dark) // Color theme (light + optional dark)
$colorLightKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_LightColorName)); $colorLightKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_LightColorName));

View File

@@ -72,8 +72,7 @@ $templatePath = 'media/templates/site/mokocassiopeia';
// =========================== // ===========================
// Core template CSS // Core template CSS
$wa->useStyle('template.global.base'); // css/template.css $wa->useStyle('template.base'); // css/template.css
$wa->useStyle('template.global.social-media-demo'); // css/global/social-media-demo.css
// Optional vendor CSS // Optional vendor CSS
$wa->useStyle('vendor.bootstrap-toc'); $wa->useStyle('vendor.bootstrap-toc');