Línea 8... |
Línea 8... |
8 |
|
8 |
|
9 |
$THEME->sheets = ['styles', 'quiz', 'mobile', 'message-page', 'navbar'];
|
9 |
$THEME->sheets = ['styles', 'quiz', 'mobile', 'message-page', 'navbar'];
|
10 |
$THEME->editor_sheets = [];
|
10 |
$THEME->editor_sheets = [];
|
11 |
$THEME->enable_dock = false;
|
11 |
$THEME->enable_dock = false;
|
12 |
$THEME->yuicssmodules = array();
|
- |
|
13 |
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
12 |
$THEME->yuicssmodules = array();
|
- |
|
13 |
$THEME->requiredblocks = '';
|
14 |
$THEME->requiredblocks = '';
|
14 |
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
15 |
$THEME->addblockposition = BLOCK_ADDBLOCK_POSITION_FLATNAV;
|
15 |
$THEME->addblockposition = BLOCK_ADDBLOCK_POSITION_FLATNAV;
|
16 |
$THEME->hidefromselector = false;
|
16 |
$THEME->hidefromselector = false;
|
17 |
$THEME->extrascsscallback = 'theme_universe_child_get_extra_scss';
|
17 |
$THEME->extrascsscallback = 'theme_universe_child_get_extra_scss';
|
18 |
$THEME->iconsystem = core\output\icon_system::FONTAWESOME;
|
18 |
$THEME->iconsystem = core\output\icon_system::FONTAWESOME;
|
19 |
$THEME->scss = function ($theme) {
|
19 |
$THEME->scss = function ($theme) {
|
20 |
return theme_universe_get_main_scss_content($theme);
|
20 |
return theme_universe_get_main_scss_content($theme);
|
21 |
};
|
21 |
};
|
- |
|
22 |
$THEME->haseditswitch = true;
|
22 |
$THEME->haseditswitch = true;
|
23 |
|
23 |
$THEME->scss = function ($theme) {
|
24 |
$THEME->scss = function ($theme) {
|
24 |
// We need to load the config for our parent theme because that is where the preset setting is defined.
|
25 |
// We need to load the config for our parent theme because that is where the preset setting is defined.
|
25 |
$parentconfig = theme_config::load('universe');
|
26 |
$parentconfig = theme_config::load('universe');
|
26 |
// Call a function from our parent themes lib.php file to fetch the content of the themes main SCSS file based on it's own config, not ours.
|
27 |
// Call a function from our parent themes lib.php file to fetch the content of the themes main SCSS file based on it's own config, not ours.
|
27 |
return theme_universe_get_main_scss_content($parentconfig);
|
28 |
return theme_universe_get_main_scss_content($parentconfig);
|
- |
|
29 |
};
|
28 |
};
|
30 |
|
Línea 29... |
Línea 31... |
29 |
$THEME->prescsscallback = 'theme_universe_child_get_pre_scss';
|
31 |
$THEME->prescsscallback = 'theme_universe_child_get_pre_scss';
|
30 |
|
32 |
|
31 |
$THEME->layouts = [
|
33 |
$THEME->layouts = [
|