Open iKrishnaSahu opened 1 year ago
unable to import core-styles mixin of icon-button as shown in documentation - https://m2.material.io/develop/web/components/buttons/icon-buttons
// fails @use '@material/icon-button' as icon-button; // works // @use '@material/icon-button/icon-button' as icon-button; @include icon-button.core-styles;
Style import should work as shown in the documentation
Style import is not working as shown in the documentation
This seems like a miss in exporting styles file from barrel file.
Exporting _icon-button.scss from barrel file (_index.scss) should fix this issue
_icon-button.scss
_index.scss
Bug report
unable to import core-styles mixin of icon-button as shown in documentation - https://m2.material.io/develop/web/components/buttons/icon-buttons
Steps to reproduce
Actual behavior
Style import should work as shown in the documentation
Expected behavior
Style import is not working as shown in the documentation
Screenshots
Your Environment:
Additional context
This seems like a miss in exporting styles file from barrel file.
Possible solution
Exporting
_icon-button.scss
from barrel file (_index.scss
) should fix this issue