You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an external SCSS linked set in theme_boost_union | extscssurlpost that is working fine until I add @import or @use to the file. I've tried with relative path, full path and url. I have used this method in a child theme based of boost.
I get the following error:
Debugging: Error while compiling SCSS: parse error: failed at @use "/mnt/web/moodle4test/skillset/scss/moodle4test/staging/test.scss";\r (stdin) on line 38, at column 1 in \n* line 1532 of /lib/outputlib.php: call to debugging()\n* line 1270 of /lib/outputlib.php: call to theme_config->get_css_content_from_scss()\n* line 69 of /theme/styles_debug.php: call to theme_config->get_css_content_debug()\n, referer: https://moodle4test.skillset.co.uk/admin/tool/task/schedule_task.php
I'm keen to use @use if possible as it would let me share partials across a number of different stylesheets/ moodles
HsH-Wolf
added
discussion needed
Soemthing which needs to be discussed before writing the first line of code
and removed
new
Something which has been reported but has not yet beeen triaged by the team
labels
Oct 10, 2024
Describe the bug
I have an external SCSS linked set in theme_boost_union | extscssurlpost that is working fine until I add @import or @use to the file. I've tried with relative path, full path and url. I have used this method in a child theme based of boost.
I get the following error:
Debugging: Error while compiling SCSS: parse error: failed at
@use "/mnt/web/moodle4test/skillset/scss/moodle4test/staging/test.scss";\r
(stdin) on line 38, at column 1 in \n* line 1532 of /lib/outputlib.php: call to debugging()\n* line 1270 of /lib/outputlib.php: call to theme_config->get_css_content_from_scss()\n* line 69 of /theme/styles_debug.php: call to theme_config->get_css_content_debug()\n, referer: https://moodle4test.skillset.co.uk/admin/tool/task/schedule_task.phpI'm keen to use @use if possible as it would let me share partials across a number of different stylesheets/ moodles
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Be able to use @use and @import in order to include other style sheets and partials
Additional context
Moodle: 4.1.10
Boost_union: 2023010568
The text was updated successfully, but these errors were encountered: