MDL-69491 themes: No 'fontsize' setting in Boost causes unit conflict.

This commit is contained in:
Gareth Barnard 2020-08-17 19:38:11 +01:00
parent 38abfb6a01
commit 68e5f006e9
No known key found for this signature in database
GPG Key ID: B3F86F2CCEC3E475
2 changed files with 0 additions and 6 deletions

View File

@ -34,8 +34,6 @@ $string['bootswatch_desc'] = 'A bootswatch is a set of Bootstrap variables and c
$string['choosereadme'] = 'Boost is a modern highly-customisable theme. This theme is intended to be used directly, or as a parent theme when creating new themes utilising Bootstrap 4.';
$string['currentinparentheses'] = '(current)';
$string['configtitle'] = 'Boost';
$string['fontsize'] = 'Theme base fontsize';
$string['fontsize_desc'] = 'Enter a fontsize in %';
$string['generalsettings'] = 'General settings';
$string['nobootswatch'] = 'None';
$string['pluginname'] = 'Boost';

View File

@ -150,9 +150,5 @@ function theme_boost_get_pre_scss($theme) {
$scss .= $theme->settings->scsspre;
}
if (!empty($theme->settings->fontsize)) {
$scss .= '$font-size-base: ' . (1 / 100 * $theme->settings->fontsize) . "rem !default;\n";
}
return $scss;
}