Stylesheet Updats
This commit is contained in:
@@ -1,110 +1,151 @@
|
||||
{
|
||||
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json",
|
||||
"name": "moko-cassiopeia",
|
||||
"version": "4.0.0",
|
||||
"description": "This file contains details of the assets used by moko-cassiopeia, the default Joomla 4 site template.",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"assets": [
|
||||
{
|
||||
"name": "template.MOKO-CASSIOPEIA.ltr",
|
||||
"description": "The css file to be used when the site is left to right (LTR).",
|
||||
"type": "style",
|
||||
"uri": "template.min.css",
|
||||
"dependencies": [
|
||||
"fontawesome"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.MOKO-CASSIOPEIA.rtl",
|
||||
"description": "The css file to be used when the site is right to left (RTL).",
|
||||
"type": "style",
|
||||
"uri": "template-rtl.min.css",
|
||||
"dependencies": [
|
||||
"fontawesome"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.offline",
|
||||
"description": "The css file to be used when the site is offline and offline.php is being used.",
|
||||
"type": "style",
|
||||
"uri": "offline.css"
|
||||
},
|
||||
{
|
||||
"name": "template.active.language",
|
||||
"description": "An asset to allow language specific css, eg 'language/[lang-CODE]/[lang-CODE].css', to use it as a dependency to the active template",
|
||||
"type": "style",
|
||||
"uri": "",
|
||||
"class": "LangActiveAssetItem",
|
||||
"dependencies": [
|
||||
"template.active"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.user",
|
||||
"description": "A file where a user can add their own css.",
|
||||
"type": "style",
|
||||
"uri": "user.css",
|
||||
"weight": 500,
|
||||
"dependencies": [
|
||||
"template.active",
|
||||
"template.active.language"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.MOKO-CASSIOPEIA",
|
||||
"description": "The file containing the javascript for this template.",
|
||||
"type": "script",
|
||||
"uri": "template.js",
|
||||
"attributes" : {
|
||||
"defer": true
|
||||
},
|
||||
"dependencies": [
|
||||
"core"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.active",
|
||||
"description": "A dummy asset to allow extensions to use it as a dependency to the active template.",
|
||||
"type": "script",
|
||||
"uri": "",
|
||||
"dependencies": [
|
||||
"template.MOKO-CASSIOPEIA"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.user",
|
||||
"description": "The name of a file where a user can add their own javascript",
|
||||
"type": "script",
|
||||
"uri": "user.js",
|
||||
"dependencies": [
|
||||
"template.active"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.MOKO-CASSIOPEIA.ltr",
|
||||
"type": "preset",
|
||||
"dependencies": [
|
||||
"template.MOKO-CASSIOPEIA.ltr#style",
|
||||
"template.MOKO-CASSIOPEIA#script"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "template.MOKO-CASSIOPEIA.rtl",
|
||||
"type": "preset",
|
||||
"dependencies": [
|
||||
"template.MOKO-CASSIOPEIA.rtl#style",
|
||||
"template.MOKO-CASSIOPEIA#script"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "searchtools",
|
||||
"type": "style",
|
||||
"uri": "system/searchtools/searchtools.min.css"
|
||||
},
|
||||
{
|
||||
"name": "fontawesome",
|
||||
"type": "style",
|
||||
"uri": "system/joomla-fontawesome.min.css"
|
||||
}
|
||||
]
|
||||
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json",
|
||||
"name": "tpl_moko-cassiopeia",
|
||||
"version": "02.00",
|
||||
"description": "Moko-Cassiopeia template assets",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"x-header":
|
||||
{
|
||||
"copyright_year": 2025,
|
||||
"author": "Jonathan Miller",
|
||||
"owner": "Moko Consulting",
|
||||
"contact": "hello@mokoconsulting.tech",
|
||||
"project": "Moko-Cassiopeia Template",
|
||||
"spdx_license": "GPL-3.0-or-later",
|
||||
"notice": "This file is part of a Moko Consulting project.",
|
||||
"disclaimer": "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/."
|
||||
},
|
||||
"assets": [
|
||||
{
|
||||
"name": "template.base",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/template.css",
|
||||
"attributes":
|
||||
{
|
||||
"media": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "template.user",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/user.css",
|
||||
"attributes":
|
||||
{
|
||||
"media": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "template.editor",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/editor.css",
|
||||
"attributes":
|
||||
{
|
||||
"media": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "vendor.vmbasic",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/vendor/vmbasic.css",
|
||||
"attributes":
|
||||
{
|
||||
"media": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "vendor.gable",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/vendor/gable.css",
|
||||
"attributes":
|
||||
{
|
||||
"media": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "vendor.bootstrap-toc",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/vendor/afeld/bootstrap-toc.min.css",
|
||||
"attributes":
|
||||
{
|
||||
"media": "all"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "template.light.colors_standard",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/global/colors/light/colors_standard.css"
|
||||
},
|
||||
{
|
||||
"name": "template.light.colors_alternative",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/global/colors/light/colors_alternative.css"
|
||||
},
|
||||
{
|
||||
"name": "template.light.colors_custom",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/global/colors/light/colors_custom.css"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "template.dark.colors_standard",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/global/colors/dark/colors_standard.css"
|
||||
},
|
||||
{
|
||||
"name": "template.dark.colors_alternative",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/global/colors/dark/colors_alternative.css"
|
||||
},
|
||||
{
|
||||
"name": "template.dark.colors_custom",
|
||||
"type": "style",
|
||||
"uri": "media/templates/site/moko-cassiopeia/css/global/colors/dark/colors_custom.css"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "template.js",
|
||||
"type": "script",
|
||||
"uri": "media/templates/site/moko-cassiopeia/js/template.js",
|
||||
"attributes":
|
||||
{
|
||||
"defer": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "theme-init.js",
|
||||
"type": "script",
|
||||
"uri": "media/templates/site/moko-cassiopeia/js/theme-init.js",
|
||||
"attributes":
|
||||
{
|
||||
"defer": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "darkmode-toggle.js",
|
||||
"type": "script",
|
||||
"uri": "media/templates/site/moko-cassiopeia/js/darkmode-toggle.js",
|
||||
"attributes":
|
||||
{
|
||||
"defer": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "gtm.js",
|
||||
"type": "script",
|
||||
"uri": "media/templates/site/moko-cassiopeia/js/gtm.js",
|
||||
"attributes":
|
||||
{
|
||||
"defer": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "vendor.bootstrap-toc.js",
|
||||
"type": "script",
|
||||
"uri": "media/templates/site/moko-cassiopeia/js/vendor/afeld/bootstrap-toc.min.js",
|
||||
"attributes":
|
||||
{
|
||||
"defer": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user