This child theme is built upon the remui theme, enhancing and customizing its features. The file structure of the child theme is organized as follows:
├── config.php ├── fonts ├── lang ├── layout ├── lib.php ├── Readme.md ├── snippet ├── style ├── templates └── version.php
-
config.php
The
config.phpfile serves as the central configuration hub for basic settings. Modify this file to customize the foundational aspects of the child theme. -
fonts
The
fontsdirectory houses custom fonts that are utilized by the child theme. -
lang
The
langdirectory contains essential language strings required by Moodle for the proper functioning of the child theme. -
layout
This directory is an exact replica of the parent theme's layout. It ensures the seamless operation of custom pages. It is crucial to validate and update this folder after each parent theme update.
-
lib.php
The
lib.phpfile includes skeleton functions necessary for the child theme's functionality. Additionally, custom CSS is defined within this file. -
snippet
The
snippetdirectory contains atto snippet presets, contributing to enhanced content creation within Moodle. -
style
Custom CSS rules are stored in the
styledirectory. Tailor these styles to align with the design and branding preferences of your Moodle instance. -
templates
Overwritten templates are stored in the
templatesdirectory, allowing for a tailored user interface that aligns with the child theme's design. -
version.php
Every Moodle plugin, including this child theme, must have a
version.phpfile. Ensure this file is appropriately configured to maintain compatibility and version tracking.
To effectively use and customize this child theme:
- Update
config.phpwith your specific settings. - Manage custom fonts in the
fontsdirectory. - Review and update language strings in the
langdirectory as needed. - Validate and synchronize the
layoutdirectory with each parent theme update. - Customize styles in the
styledirectory to match your Moodle instance's aesthetic. - Adjust templates in the
templatesdirectory for a tailored user experience.
Keep the child theme up-to-date with changes in the parent theme to ensure compatibility and access to the latest features.
For detailed instructions on theme customization and best practices, refer to the documentation provided by Moodle.