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
{{ message }}
This repository has been archived by the owner on May 1, 2020. It is now read-only.
The Sass portion of the Ionic 2 RC0 build process will fail with the following message if a color named light is not present in the color map in variables.scss:
[17:39:58] Sass Error: line: 80, column: 3
The value `` must be a color.
If you are setting the value as a map make sure
both the base and contrast are defined as colors.
For example:
$colors: (
primary: #327eff,
secondary: (base: #32db64, contrast: #000),
);
[17:39:58] sass failed: Sass compile error
Error running ionic app script "build": Error: Sass compile error
What behavior are you expecting?
As the comment in variables.scss claims that the only required color name is primary, I would expect compilation to succeed if none of the other color names are defined.
Steps to reproduce:
Create a new Ionic project (I used ionic start test --v2).
Remove the light color from variables.scss at line 29.
Attempt to build with npm run build.
insert any relevant code between the above and below backticks
Which @ionic/app-scripts version are you using?
ionic-app-scripts 0.0.30
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
The text was updated successfully, but these errors were encountered:
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
The Sass portion of the Ionic 2 RC0 build process will fail with the following message if a color named
light
is not present in the color map invariables.scss
:What behavior are you expecting?
As the comment in
variables.scss
claims that the only required color name isprimary
, I would expect compilation to succeed if none of the other color names are defined.Steps to reproduce:
ionic start test --v2
).light
color fromvariables.scss
at line 29.npm run build
.Which @ionic/app-scripts version are you using?
ionic-app-scripts 0.0.30
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
The text was updated successfully, but these errors were encountered: