Skip to content

Update to Dart sass to allow @use at-rule use - #669

Open
mlbiche wants to merge 5 commits into
picturepan2:masterfrom
mlbiche:master
Open

Update to Dart sass to allow @use at-rule use#669
mlbiche wants to merge 5 commits into
picturepan2:masterfrom
mlbiche:master

Conversation

@mlbiche

@mlbiche mlbiche commented Feb 24, 2021

Copy link
Copy Markdown

Fix #668

Comment thread src/_chips.scss
.chip {
align-items: center;
background: $bg-color-dark;
background: variables.$bg-color-dark;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ound: variables": expected ";", was ".$bg-color-dark;"

Comment thread src/_hero.scss

.hero-body {
padding: $layout-spacing;
padding: variables.$layout-spacing;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ding: variables": expected ";", was ".$layout-spacing;"

Comment thread src/_buttons.scss
border: $border-width solid $primary-color;
border-radius: $border-radius;
color: $primary-color;
background: variables.$bg-color-light;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ound: variables": expected ";", was ".$bg-color-light;"


.comparison-label {
right: $unit-4;
right: variables.$unit-4;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ight: variables": expected ";", was ".$unit-4;"

Comment thread src/_empty.scss
background: $bg-color;
border-radius: $border-radius;
color: $gray-color-dark;
background: variables.$bg-color;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ound: variables": expected ";", was ".$bg-color;"

Comment thread src/_dropdowns.scss
.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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...dius: variables": expected ";", was ".$border-radius;"

Comment thread docs/src/scss/docs.scss

.version::after {
content: "#{$version}";
content: "#{variables.$version}";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...t: "#{variables": expected "}", was ".$version}";"

Comment thread gulpfile.js
const gulp = require("gulp");
const { parallel } = require("gulp");
const sass = require('gulp-sass');
const sass = require('gulp-dart-sass');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

Comment thread src/_accordions.scss
.accordion-header {
display: block;
padding: $unit-1 $unit-2;
padding: variables.$unit-1 variables.$unit-2;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ding: variables": expected ";", was ".$unit-1 variab..."

Comment thread src/_asian.scss
.lang-zh,
.lang-zh-hans {
font-family: $cjk-zh-hans-font-family;
font-family: variables.$cjk-zh-hans-font-family;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...mily: variables": expected ";", was ".$cjk-zh-hans-f..."

Comment thread src/_popovers.scss
left: 50%;
opacity: 0;
padding: $layout-spacing;
padding: variables.$layout-spacing;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ding: variables": expected ";", was ".$layout-spacing;"

Comment thread src/_parallax.scss
position: absolute;
width: 50%;
z-index: $zindex-1;
z-index: variables.$zindex-1;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ndex: variables": expected ";", was ".$zindex-1;"

Comment thread src/_panels.scss
.panel {
border: $border-width solid $border-color;
border-radius: $border-radius;
border: variables.$border-width solid variables.$border-color;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...rder: variables": expected ";", was ".$border-width ..."

Comment thread src/_modals.scss
opacity: 0;
overflow: hidden;
padding: $layout-spacing;
padding: variables.$layout-spacing;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ding: variables": expected ";", was ".$layout-spacing;"

Comment thread src/_labels.scss
.label {
@include label-base();
@include label-variant(lighten($body-font-color, 5%), $bg-color-dark);
@include mixins.label-base();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after " @include mixins": expected "}", was ".label-base();"

Comment thread src/_navbar.scss

.navbar-brand {
font-size: $font-size-lg;
font-size: variables.$font-size-lg;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...size: variables": expected ";", was ".$font-size-lg;"

Comment thread src/_avatars.scss
.avatar {
@include avatar-base();
background: $primary-color;
@include mixins.avatar-base();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after " @include mixins": expected "}", was ".avatar-base();"

Comment thread src/_media.scss
// Figure
.figure {
margin: 0 0 $layout-spacing 0;
margin: 0 0 variables.$layout-spacing 0;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...: 0 0 variables": expected ";", was ".$layout-spacin..."

Comment thread src/_steps.scss
flex-wrap: nowrap;
list-style: none;
margin: $unit-1 0;
margin: variables.$unit-1 0;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...rgin: variables": expected ";", was ".$unit-1 0;"

Comment thread src/_tooltips.scss
&::after {
background: rgba($dark-color, .95);
border-radius: $border-radius;
background: rgba(variables.$dark-color, .95);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "... rgba(variables": expected ")", was ".$dark-color, ...."

Comment thread src/_menus.scss
@include shadow-variant(.05rem);
background: $bg-color-light;
border-radius: $border-radius;
@include mixins.shadow-variant(.05rem);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after " @include mixins": expected "}", was ".shadow-variant..."

Comment thread src/_meters.scss
.meter {
appearance: none;
background: $bg-color;
background: variables.$bg-color;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...der: icons-core": expected ";", was ".$icon-border-w..."

Comment thread src/spectre-exp.scss
@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 */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ls v#{variables": expected "}", was ".$version} | MI..."

Comment thread src/spectre.scss
@use "mixins";

/*! Spectre.css v#{$version} | MIT License | github.com/picturepan2/spectre */
/*! Spectre.css v#{variables.$version} | MIT License | github.com/picturepan2/spectre */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ound: variables": expected ";", was ".$bg-color-light;"

.loading {
color: transparent !important;
min-height: $unit-4;
min-height: variables.$unit-4;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid CSS after "...ight: variables": expected ";", was ".$unit-4;"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Import spectre stylesheets with @use SCSS at-rule

1 participant