Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mlbiche
Copy link

@mlbiche mlbiche commented Feb 24, 2021

Fix #668

// Chips
.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;"

@@ -17,6 +19,6 @@
}

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

@@ -30,7 +32,7 @@
z-index: 1;

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

@@ -29,8 +31,8 @@
// Fix dropdown-toggle border radius in button groups
.btn-group {
.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}";"

@@ -1,6 +1,6 @@
const gulp = require("gulp");
const { parallel } = require("gulp");
const sass = require('gulp-sass');
const sass = require('gulp-dart-sass');
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).

@@ -15,15 +17,15 @@

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

// Optimized for East Asian CJK
html:lang(zh),
html:lang(zh-Hans),
.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..."

@@ -6,13 +9,13 @@
.popover-container {
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;"

@@ -12,7 +15,7 @@ $parallax-fade-color: rgba(255, 255, 255, .35) !default;
outline: none;
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;"

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

@@ -7,7 +10,7 @@
left: 0;
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;"

// Labels
.label {
@include label-base();
@include label-variant(lighten($body-font-color, 5%), $bg-color-dark);
@include mixins.label-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();"

@@ -22,7 +24,7 @@
}

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

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

@@ -66,10 +68,10 @@ video.video-responsive {

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

// Steps
.step {
display: flex;
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;"

// Tooltips
.tooltip {
position: relative;
&::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..."

// Meters
// Credit: https://css-tricks.com/html5-meter-element/
.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;"

// Icon resize
.icon-resize-horiz,
.icon-resize-vert {
&::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..."


/*! 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..."


/*! 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..."

// Divider
.divider,
.divider-vert {
display: block;
position: relative;

&[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
.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;"

@mlbiche mlbiche mentioned this pull request Jun 1, 2021
@davestewart davestewart mentioned this pull request Sep 20, 2023
30 tasks
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