Skip to content

Commit

Permalink
🔧 chore(gulpfile.js): Migrate from LibSass to DartSass
Browse files Browse the repository at this point in the history
  • Loading branch information
Spiderpig86 committed Nov 3, 2021
1 parent a7671b9 commit fc54c2d
Show file tree
Hide file tree
Showing 10 changed files with 17,772 additions and 12,558 deletions.
8,896 changes: 5,461 additions & 3,435 deletions dist/cirrus-core.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cirrus-core.min.css

Large diffs are not rendered by default.

20,908 changes: 11,935 additions & 8,973 deletions dist/cirrus.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cirrus.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const gulp = require('gulp');
const prop = require('./package.json');
const minify = require('gulp-clean-css');
const sass = require('gulp-sass');
sass.compiler = require('sass'); // Use Dart Sass
const $ = require('gulp-load-plugins')();
const head =
'/*\r\n* Cirrus ' +
Expand Down
4 changes: 3 additions & 1 deletion internal/_size.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "sass:math";

/* Spacing */
$spacing-system: 0, 1, 2, 3, 4, 5, 6, 8, 10, 12, 16, 20, 24, 32;
$space-size: 0.5rem;
Expand Down Expand Up @@ -29,7 +31,7 @@ $font-sizes: (
$grid-columns: 12;

/* Grid Percents */
$grid-width: 1 / $grid-columns;
$grid-width: math.div(1, $grid-columns);

/* Tab Sizes */
$tab-sizes: (
Expand Down
2 changes: 1 addition & 1 deletion internal/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ $grays: (
'900': #212529,
);

$v1Palettes: primary, success, warning, danger, light, dark, link, link-dark, info, black, white;
$v1Palettes: primary, success, warning, danger, light, dark, link, link-dark, info, 'black', 'white';

$v2Palettes: (
'pink': $pinks,
Expand Down
Loading

0 comments on commit fc54c2d

Please sign in to comment.