E529 Update to Dart sass to allow @use at-rule use by mlbiche · Pull Request #669 · picturepan2/spectre · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@mlbiche
Copy link
@mlbiche mlbiche commented Feb 24, 2021

Fix #668

.chip {
align-items: center;
background: $bg-color-dark;
background: variables.$bg-color-dark;
Copy link

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


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

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

border: $border-width solid $primary-color;
border-radius: $border-radius;
color: $primary-color;
background: variables.$bg-color-light;
Copy link

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

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

background: $bg-color;
border-radius: $border-radius;
color: $gray-color-dark;
background: variables.$bg-color;
Copy link

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

.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

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


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

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}";"

const gulp = require("gulp");
const { parallel } = require("gulp");
const sass = require('gulp-sass');
const sass = require('gulp-dart-sass');
1000 Copy link

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

.accordion-header {
display: block;
padding: $unit-1 $unit-2;
padding: variables.$unit-1 variables.$unit-2;
Copy link

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..."

.lang-zh,
.lang-zh-hans {
font-family: $cjk-zh-hans-font-family;
font-family: variables.$cjk-zh-hans-font-family;
Copy link

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..."

left: 50%;
opacity: 0;
padding: $layout-spacing;
padding: variables.$layout-spacing;
Copy link

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

position: absolute;
width: 50%;
z-index: $zindex-1;
z-index: variables.$zindex-1;
Copy link

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

.panel {
border: $border-width solid $border-color;
border-radius: $border-radius;
border: variables.$border-width solid variables.$border-color;
Copy link

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 ..."

opacity: 0;
overflow: hidden;
padding: $layout-spacing;
padding: variables.$layout-spacing;
Copy link

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

.label {
@include label-base();
@include label-variant(lighten($body-font-color, 5%), $bg-color-dark);
@include mixins.label- 9BA8 base();
Copy link

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


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

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

.avatar {
@include avatar-base();
background: $primary-color;
@include mixins.avatar-base();
Copy link

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

// Figure
.figure {
margin: 0 0 $layout-spacing 0;
margin: 0 0 variables.$layout-spacing 0;
Copy link

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..."

flex-wrap: nowrap;
list-style: none;
margin: $unit-1 0;
margin: variables.$unit-1 0;
Copy link

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

&::after {
background: rgba($dark-color, .95);
border-radius: $border-radius;
background: rgba(variables.$dark-color, .95);
Copy link

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, ...."

@include shadow-variant(.05rem);
background: $bg-color-light;
border-radius: $border-radius;
@include mixins.shadow-variant(.05rem);
Copy link

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..."

.meter {
appearance: none;
background: $bg-color;
background: variables.$bg-color;
Copy link

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

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

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

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..."

@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

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..."

@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

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

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

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

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

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

0