Set Roboto as default font and add Osaka font for titles
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
@@ -100,6 +100,9 @@ try {
|
||||
// Scripts
|
||||
$wa->useScript('template.js');
|
||||
|
||||
// Load Osaka font for site title
|
||||
$wa->useStyle('template.font.osaka');
|
||||
|
||||
/**
|
||||
* VirtueMart detection:
|
||||
* - Component must exist and be enabled
|
||||
|
||||
@@ -89,6 +89,9 @@ try {
|
||||
// Scripts
|
||||
$wa->useScript('template.js');
|
||||
|
||||
// Load Osaka font for site title
|
||||
$wa->useStyle('template.font.osaka');
|
||||
|
||||
// Smart Bootstrap component loading - only load what's needed
|
||||
if ($this->countModules('drawer-left', true) || $this->countModules('drawer-right', true)) {
|
||||
// Load Bootstrap Offcanvas component for drawers
|
||||
|
||||
@@ -121,6 +121,9 @@ try {
|
||||
// Scripts
|
||||
$wa->useScript('template.js');
|
||||
|
||||
// Load Osaka font for site title
|
||||
$wa->useStyle('template.font.osaka');
|
||||
|
||||
// Load GTM script if GTM is enabled
|
||||
if (!empty($params_googletagmanager) && !empty($params_googletagmanagerid)) {
|
||||
$wa->useScript('gtm.js');
|
||||
|
||||
@@ -46,6 +46,12 @@
|
||||
"uri": "media/templates/site/mokocassiopeia/css/user.min.css",
|
||||
"attributes": {"media": "all"}
|
||||
},
|
||||
{
|
||||
"name": "template.font.osaka",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/mokocassiopeia/css/fonts/osaka.css",
|
||||
"attributes": {"media": "all"}
|
||||
},
|
||||
{
|
||||
"name": "template.editor",
|
||||
"type": "style",
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
|
||||
<!-- Typography -->
|
||||
<field name="theme_sep_typo" type="spacer" label="Typography" hr="false" class="text fw-bold" />
|
||||
<field name="useFontScheme" type="groupedlist" label="TPL_MOKOCASSIOPEIA_FONT_LABEL" default="0">
|
||||
<field name="useFontScheme" type="groupedlist" label="TPL_MOKOCASSIOPEIA_FONT_LABEL" default="media/templates/site/mokocassiopeia/css/colors/fonts-local_roboto.css">
|
||||
<option value="0">JNONE</option>
|
||||
<group label="TPL_MOKOCASSIOPEIA_FONT_GROUP_LOCAL">
|
||||
<option value="media/templates/site/mokocassiopeia/css/colors/fonts-local_roboto.css">Roboto (local)</option>
|
||||
|
||||
Reference in New Issue
Block a user