Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iconButton] mdc-icon-button is not emitting theming styles(not using theme-styles() mixin) #8002

Open
sandeeppatidar30 opened this issue Feb 27, 2023 · 0 comments
Labels

Comments

@sandeeppatidar30
Copy link

sandeeppatidar30 commented Feb 27, 2023

Bug report

IconButton does not emitting theming styles while using core-styles() mixin.

usecase -

@use "@material/icon-button";
@include icon-button.core-styles;

Above code snippet is not using theme-styles mixin defined inside @material/icon-button/_icon-button-theme.

Steps to reproduce

  1. Go to 'https://codepen.io/sp30457/pen/PodbJXR'
  2. Check the styles as it is not using theming styles like hover-state-layer-color, hover-state-layer-opacity etc. for icon button. No css variables for these properties are available.

Actual behavior

It is not using theme-styles mixin inside core-styles() mixin.

Expected behavior

Ideally it should use theme-styles inside core-styles() mixin.

Your Environment:

Software Version(s)
MDC Web 15.0.0-canary.7971d6ad5.0 for @material/icon-button
Browser Chrome latest
Operating System Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant