Skip to content

Commit

Permalink
update to dart-sass and fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
joeworkman committed Sep 26, 2024
1 parent f49afd8 commit 9389151
Show file tree
Hide file tree
Showing 5 changed files with 645 additions and 396 deletions.
3 changes: 0 additions & 3 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# Browsers that we support
last 2 versions
ie >= 9
ios >= 7
android >= 4.4
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var autoprefixer = require('autoprefixer');
var rimraf = require('rimraf').sync;
var sequence = require('gulp4-run-sequence');
var supercollider = require('supercollider');
var sass = require('gulp-sass')(require('sass'));
var sass = require('gulp-sass')(require('sass-embedded'));
var postcss = require('gulp-postcss');
var plumber = require('gulp-plumber');
var sourcemaps = require('gulp-sourcemaps');
Expand Down Expand Up @@ -37,7 +37,7 @@ gulp.task('sass', function() {
.pipe(sourcemaps.init())
.pipe(plumber())
.pipe(sass().on('error', sass.logError))
.pipe(postcss([autoprefixer()]))
// .pipe(postcss([autoprefixer()]))
.pipe(gulp.dest('./_build'));
});

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@
"highlight.js": "^11.5.1",
"mocha": "^5.2.0",
"rimraf": "^2.4.3",
"sass": "^1.65.1",
"sass-true": "^7.0.0",
"supercollider": "latest"
},
"peerDependencies": {
"jquery": ">=3.6.0"
},
"dependencies": {}
"dependencies": {
"sass-embedded": "^1.79.3"
}
}
2 changes: 1 addition & 1 deletion src/util/_animation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
/// @param {Arglist} $effects... - One or more effect functions to build the keyframe with.
@mixin mui-animation($args...) {
$name: map-get(-mui-process-args($args...), name);
@include mui-keyframes($name, $args...);
animation-name: unquote($name);
@include mui-keyframes($name, $args...);
}
Loading

0 comments on commit 9389151

Please sign in to comment.