Skip to content

Commit 4a0fd59

Browse files
committed
chore: remove silence SASS deprecation mixed-decls
Following #596
1 parent 4e47407 commit 4a0fd59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"lint": "run-s \"lint:*\" --silent",
3737
"lint:prettier": "prettier --write --log-level silent 'scss/**/*.scss'",
3838
"lint:sort-scss": "postcss --config scss ./scss/**/*.scss --replace",
39-
"build:css": "sass --no-source-map --style expanded --no-error-css scss/:css/ --silence-deprecation=global-builtin,color-functions,mixed-decls",
39+
"build:css": "sass --no-source-map --style expanded --no-error-css scss/:css/ --silence-deprecation=global-builtin,color-functions",
4040
"build:themes": "node scripts/build-themes",
4141
"build:autoprefix": "postcss --config css --replace css/*.css !css/*.min.css",
4242
"build:minify": "cleancss -O1 --with-rebase --batch --batch-suffix .min css/*.css !css/*.min.css",

scripts/build-themes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ themeColors.forEach((themeColor, colorIndex) => {
129129
path.join(tempScssFoldername, `${version.name}.${themeColor}.scss`),
130130
{
131131
outputStyle: "compressed",
132-
silenceDeprecations: ["global-builtin", "color-functions", "mixed-decls"],
132+
silenceDeprecations: ["global-builtin", "color-functions"],
133133
},
134134
);
135135

0 commit comments

Comments
 (0)