Skip to content

Commit 6085acc

Browse files
authored
refactor: deprecate src/lib/* SCSS entrypoints (#146)
1 parent cc68a2d commit 6085acc

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

projects/material-css-vars/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
"sass": "./src/lib/_variables.scss"
4848
},
4949
"./src/lib/main": {
50-
"sass": "./src/lib/_main.scss"
50+
"sass": "./src/lib/legacy/main.scss"
5151
},
5252
"./src/lib/public-util": {
53-
"sass": "./src/lib/_public-util.scss"
53+
"sass": "./src/lib/legacy/public-util.scss"
5454
},
5555
"./src/lib/variables": {
56-
"sass": "./src/lib/_variables.scss"
56+
"sass": "./src/lib/legacy/variables.scss"
5757
}
5858
}
5959
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@forward "../main";
2+
3+
@warn 'The "angular-material-css-vars/src/lib/main" entrypoint is deprecated. Please use the mixins from the "angular-material-css-vars" entrypoint instead.';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@forward "../public-color-util";
2+
3+
@warn 'The "angular-material-css-vars/src/lib/public-color-util" entrypoint is deprecated. Please use the utils from the "angular-material-css-vars" entrypoint instead.';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@forward "../public-util";
2+
3+
@warn 'The "angular-material-css-vars/src/lib/public-util" entrypoint is deprecated. Please use the utils from the "angular-material-css-vars" entrypoint instead.';
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@forward "../variables";
2+
3+
@warn 'The "angular-material-css-vars/src/lib/variables" entrypoint is deprecated. Please use the variables from the "angular-material-css-vars" entrypoint instead.';

0 commit comments

Comments
 (0)