refactor(docs-infra): avoid Material style duplication warning (#37898)
This commit removes some duplicate imports of Material themes and
theming-related utilities. While this change does not have any impact on
the size of the generated `styles.css` file, it silences a build warning
pointing to [Avoiding duplicated theming styles][1].
[1]: db4b0cd1bf/guides/duplicate-theming-styles.md
PR Close #37898
This commit is contained in:
parent
13ef5d6c7d
commit
b24a24ec58
@ -58,7 +58,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.scss"
|
"src/styles/main.scss"
|
||||||
],
|
],
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"budgets": [
|
"budgets": [
|
||||||
@ -158,7 +158,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/styles.scss"
|
"src/styles/main.scss"
|
||||||
],
|
],
|
||||||
"scripts": []
|
"scripts": []
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
/* You can add global styles to this file, and also import other style files */
|
|
||||||
@import './styles/ng-io-theme';
|
|
||||||
@import './styles/main.scss';
|
|
@ -1,5 +1,4 @@
|
|||||||
// import global themes
|
// import global themes
|
||||||
@import '~@angular/material/theming';
|
|
||||||
@import './ng-io-theme';
|
@import './ng-io-theme';
|
||||||
|
|
||||||
// import global variables
|
// import global variables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user