Unable to customize Boost in Moodle 3.3

Re: Unable to customize Boost in Moodle 3.3

by Chris Kenniburg -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Plugin developers

Here is a tip without seeing your SCSS code as I have experienced similar things, but...


If you use a variable such as $backgroundcolor in code as an example:

.mysuperclass {

border: 1px solid $backgroundcolor;

}

You must set a default value for the variable such as

$backgroundcolor: #ccc !default;

The default MUST come before the use of the variable.

See here for the example of setting defaults:

https://github.com/dbnschools/moodle-theme_fordson/blob/master/scss/preset/default.scss#L50


Hope that helps.  Share your SCSS and we might be able to pinpoint the issue.  
In reply to Chris Kenniburg

Re: Unable to customize Boost in Moodle 3.3

by MAHADEV CHAURASIYA -

Hey Chris Kenniburg,

I unable to customize moodle 3.3 Boost theme, i added some custom scss file in preset folder but code is not effecting, where should i add scss file in theme directories, please give me some idea,  please please...

Thanks you.