Skip to content

Commit 3ff3b5c

Browse files
committed
upgrade angular-material-styles to remove sass deprecation
1 parent 2eb8dbc commit 3ff3b5c

File tree

4 files changed

+21
-13
lines changed

4 files changed

+21
-13
lines changed

app/styles/ember-paper.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use 'sass:math';
2+
13
.md-searchbox {
24
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(0, 0, 0, 0.12);
35
padding-left: 10.667px;

index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,10 @@ module.exports = {
489489
treeForStyles(tree) {
490490
let coreScssFiles = [
491491
// core styles
492-
'core/style/mixins.scss',
493-
'core/style/variables.scss',
492+
'core/style/_modules.scss',
493+
'core/style/_variables.scss',
494+
'components/input/_input-variables.scss',
495+
'core/style/_mixins.scss',
494496
'core/style/structure.scss',
495497
'core/style/typography.scss',
496498
'core/style/layout.scss',
@@ -509,7 +511,7 @@ module.exports = {
509511

510512
let filteredScssFiles = this.addStyles(coreScssFiles) || coreScssFiles;
511513

512-
let angularScssFiles = new Funnel(this.pathBase('angular-material-styles'), {
514+
let angularScssFiles = new Funnel(this.pathBase('angular-material'), {
513515
files: filteredScssFiles,
514516
srcDir: '/src',
515517
destDir: 'angular-material',

package-lock.json

Lines changed: 13 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"dependencies": {
2222
"@html-next/vertical-collection": "^2.1.0",
23-
"angular-material-styles": "1.1.21",
23+
"angular-material": "https://[email protected]/mansona/angular-material.git",
2424
"broccoli-file-creator": "^2.1.1",
2525
"broccoli-funnel": "^3.0.8",
2626
"broccoli-merge-trees": "^4.2.0",

0 commit comments

Comments
 (0)