Updated to gulp 4.x and removed use of chroma-sass for colours, it is not updated anymore.

This commit is contained in:
Fredrik Jonsson 2018-09-08 19:37:28 +02:00
commit 83ce4e0cc2

View file

@ -20,7 +20,7 @@
.box,
%box {
@include margin-bottom(1);
border: 5px solid color(border);
border: 5px solid $border;
padding: 1em;
// Sass compiles this to the selector: .box__title, %box__title {}
@ -44,7 +44,7 @@
&:hover,
&.is-focus,
&--is-focus {
border-color: color(text);
border-color: $text;
}
// Sass compiles this to the selector: .box--highlight, %box--highlight {}
@ -52,6 +52,6 @@
// the "highlight" is a _modifier_, creating a new variation of the standard
// "box" component.
&--highlight {
border-color: color(link);
border-color: $link;
}
}