Update to Dart sass to allow @use at-rule use - #669
Conversation
| .chip { | ||
| align-items: center; | ||
| background: $bg-color-dark; | ||
| background: variables.$bg-color-dark; |
There was a problem hiding this comment.
Invalid CSS after "...ound: variables": expected ";", was ".$bg-color-dark;"
|
|
||
| .hero-body { | ||
| padding: $layout-spacing; | ||
| padding: variables.$layout-spacing; |
There was a problem hiding this comment.
Invalid CSS after "...ding: variables": expected ";", was ".$layout-spacing;"
| border: $border-width solid $primary-color; | ||
| border-radius: $border-radius; | ||
| color: $primary-color; | ||
| background: variables.$bg-color-light; |
There was a problem hiding this comment.
Invalid CSS after "...ound: variables": expected ";", was ".$bg-color-light;"
|
|
||
| .comparison-label { | ||
| right: $unit-4; | ||
| right: variables.$unit-4; |
There was a problem hiding this comment.
Invalid CSS after "...ight: variables": expected ";", was ".$unit-4;"
| background: $bg-color; | ||
| border-radius: $border-radius; | ||
| color: $gray-color-dark; | ||
| background: variables.$bg-color; |
There was a problem hiding this comment.
Invalid CSS after "...ound: variables": expected ";", was ".$bg-color;"
| .dropdown-toggle:nth-last-child(2) { | ||
| border-bottom-right-radius: $border-radius; | ||
| border-top-right-radius: $border-radius; | ||
| border-bottom-right-radius: variables.$border-radius; |
There was a problem hiding this comment.
Invalid CSS after "...dius: variables": expected ";", was ".$border-radius;"
|
|
||
| .version::after { | ||
| content: "#{$version}"; | ||
| content: "#{variables.$version}"; |
There was a problem hiding this comment.
Invalid CSS after "...t: "#{variables": expected "}", was ".$version}";"
| const gulp = require("gulp"); | ||
| const { parallel } = require("gulp"); | ||
| const sass = require('gulp-sass'); | ||
| const sass = require('gulp-dart-sass'); |
There was a problem hiding this comment.
'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
| .accordion-header { | ||
| display: block; | ||
| padding: $unit-1 $unit-2; | ||
| padding: variables.$unit-1 variables.$unit-2; |
There was a problem hiding this comment.
Invalid CSS after "...ding: variables": expected ";", was ".$unit-1 variab..."
| .lang-zh, | ||
| .lang-zh-hans { | ||
| font-family: $cjk-zh-hans-font-family; | ||
| font-family: variables.$cjk-zh-hans-font-family; |
There was a problem hiding this comment.
Invalid CSS after "...mily: variables": expected ";", was ".$cjk-zh-hans-f..."
| left: 50%; | ||
| opacity: 0; | ||
| padding: $layout-spacing; | ||
| padding: variables.$layout-spacing; |
There was a problem hiding this comment.
Invalid CSS after "...ding: variables": expected ";", was ".$layout-spacing;"
| position: absolute; | ||
| width: 50%; | ||
| z-index: $zindex-1; | ||
| z-index: variables.$zindex-1; |
There was a problem hiding this comment.
Invalid CSS after "...ndex: variables": expected ";", was ".$zindex-1;"
| .panel { | ||
| border: $border-width solid $border-color; | ||
| border-radius: $border-radius; | ||
| border: variables.$border-width solid variables.$border-color; |
There was a problem hiding this comment.
Invalid CSS after "...rder: variables": expected ";", was ".$border-width ..."
| opacity: 0; | ||
| overflow: hidden; | ||
| padding: $layout-spacing; | ||
| padding: variables.$layout-spacing; |
There was a problem hiding this comment.
Invalid CSS after "...ding: variables": expected ";", was ".$layout-spacing;"
| .label { | ||
| @include label-base(); | ||
| @include label-variant(lighten($body-font-color, 5%), $bg-color-dark); | ||
| @include mixins.label-base(); |
There was a problem hiding this comment.
Invalid CSS after " @include mixins": expected "}", was ".label-base();"
|
|
||
| .navbar-brand { | ||
| font-size: $font-size-lg; | ||
| font-size: variables.$font-size-lg; |
There was a problem hiding this comment.
Invalid CSS after "...size: variables": expected ";", was ".$font-size-lg;"
| .avatar { | ||
| @include avatar-base(); | ||
| background: $primary-color; | ||
| @include mixins.avatar-base(); |
There was a problem hiding this comment.
Invalid CSS after " @include mixins": expected "}", was ".avatar-base();"
| // Figure | ||
| .figure { | ||
| margin: 0 0 $layout-spacing 0; | ||
| margin: 0 0 variables.$layout-spacing 0; |
There was a problem hiding this comment.
Invalid CSS after "...: 0 0 variables": expected ";", was ".$layout-spacin..."
| flex-wrap: nowrap; | ||
| list-style: none; | ||
| margin: $unit-1 0; | ||
| margin: variables.$unit-1 0; |
There was a problem hiding this comment.
Invalid CSS after "...rgin: variables": expected ";", was ".$unit-1 0;"
| &::after { | ||
| background: rgba($dark-color, .95); | ||
| border-radius: $border-radius; | ||
| background: rgba(variables.$dark-color, .95); |
There was a problem hiding this comment.
Invalid CSS after "... rgba(variables": expected ")", was ".$dark-color, ...."
…d utilities stylesheets
| @include shadow-variant(.05rem); | ||
| background: $bg-color-light; | ||
| border-radius: $border-radius; | ||
| @include mixins.shadow-variant(.05rem); |
There was a problem hiding this comment.
Invalid CSS after " @include mixins": expected "}", was ".shadow-variant..."
| .meter { | ||
| appearance: none; | ||
| background: $bg-color; | ||
| background: variables.$bg-color; |
There was a problem hiding this comment.
Invalid CSS after "...ound: variables": expected ";", was ".$bg-color;"
| &::before, | ||
| &::after { | ||
| border: $icon-border-width solid currentColor; | ||
| border: icons-core.$icon-border-width solid currentColor; |
There was a problem hiding this comment.
Invalid CSS after "...der: icons-core": expected ";", was ".$icon-border-w..."
|
|
||
| // Icon variables | ||
| $icon-border-width: $border-width-lg; | ||
| $icon-border-width: variables.$border-width-lg; |
There was a problem hiding this comment.
Invalid CSS after "...idth: variables": expected selector or at-rule, was ".$border-width-lg;"
| // Icon time | ||
| .icon-time { | ||
| border: $icon-border-width solid currentColor; | ||
| border: icons-core.$icon-border-width solid currentColor; |
There was a problem hiding this comment.
Invalid CSS after "...der: icons-core": expected ";", was ".$icon-border-w..."
| @use "mixins"; | ||
|
|
||
| /*! Spectre.css Experimentals v#{$version} | MIT License | github.com/picturepan2/spectre */ | ||
| /*! Spectre.css Experimentals v#{variables.$version} | MIT License | github.com/picturepan2/spectre */ |
There was a problem hiding this comment.
Invalid CSS after "...ls v#{variables": expected "}", was ".$version} | MI..."
| @use "mixins"; | ||
|
|
||
| /*! Spectre.css v#{$version} | MIT License | github.com/picturepan2/spectre */ | ||
| /*! Spectre.css v#{variables.$version} | MIT License | github.com/picturepan2/spectre */ |
There was a problem hiding this comment.
Invalid CSS after "...ss v#{variables": expected "}", was ".$version} | MI..."
|
|
||
| // Text colors | ||
| @include text-color-variant(".text-primary", $primary-color); | ||
| @include mixins.text-color-variant(".text-primary", variables.$primary-color); |
There was a problem hiding this comment.
Invalid CSS after "@include mixins": expected selector or at-rule, was ".text-color-var..."
| &[data-content]::after { | ||
| background: $bg-color-light; | ||
| color: $gray-color; | ||
| background: variables.$bg-color-light; |
There was a problem hiding this comment.
Invalid CSS after "...ound: variables": expected ";", was ".$bg-color-light;"
| .loading { | ||
| color: transparent !important; | ||
| min-height: $unit-4; | ||
| min-height: variables.$unit-4; |
There was a problem hiding this comment.
Invalid CSS after "...ight: variables": expected ";", was ".$unit-4;"
Fix #668