-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
3.3.1
-
MOODLE_33_STABLE
I was trying to use variables, in my remote addon SCSS, such as:
$gray-dark
|
$item-avatar-width
|
$item-avatar-height
|
But when running `gulp remoteaddon -p ...` the SCSS file cannot compile because the variables are not defined.
I understand that remote addons will never inherit from the styles of custom apps, but allowing variables to be used helps keeping consistency with the default app. It also helps when the addon is added as an addon to the app build itself, not as a remote addon.
To fix this it appears as we would need to exclude all styles except for variables when compiling the addon SCSS combined with the app's SCSS.