From 51238139c104ab9fb09fe741030107b7c945dc76 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 18 Jan 2026 01:53:24 +0000 Subject: [PATCH] Add social-media-demo.css to joomla.asset.json and index.php Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com> --- src/templates/index.php | 4 ++++ src/templates/joomla.asset.json | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/templates/index.php b/src/templates/index.php index 3fbaf72..e4783c6 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -98,6 +98,10 @@ $wa->useStyle('template.user'); // css/user.css // Optional vendor CSS $wa->useStyle('vendor.bootstrap-toc'); +// Optional demo/showcase CSS (available for use, not loaded by default) +// To use: Add 'template.global.social-media-demo' to your article/module +// $wa->useStyle('template.global.social-media-demo'); + // Color theme (light + optional dark) $colorLightKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_LightColorName)); $colorDarkKey = strtolower(preg_replace('/[^a-z0-9_.-]/i', '', $params_DarkColorName)); diff --git a/src/templates/joomla.asset.json b/src/templates/joomla.asset.json index 782098c..ece81e1 100644 --- a/src/templates/joomla.asset.json +++ b/src/templates/joomla.asset.json @@ -235,6 +235,11 @@ "name": "vendor.fa7free.solid.min", "type": "style", "uri": "media/templates/site/moko-cassiopeia/vendor/fa7free/css/solid.min.css" + }, + { + "name": "template.global.social-media-demo", + "type": "style", + "uri": "media/templates/site/moko-cassiopeia/css/global/social-media-demo.css" } ] }