我不希望组件有任何主题,例如 mat-table
在四周添加边距和填充。
在提示中,我在询问时指定了自定义主题,但它仍然添加了一堆不需要的样式。我可以通过 css 删除它们,但这需要一段时间。
"node_modules/bootstrap/dist/css/bootstrap.css",
"node_modules/@fortawesome/fontawesome-free/css/all.css",
"node_modules/pace-js/templates/pace-theme-flash.tmpl.css",
"src/app/@theme/styles/styles.scss"
那是我的 angular.json
'styles'。
有没有办法删除任何默认的角度类?