spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: sp-button mod tokens blocked
Code of conduct
- [x] I agree to follow this project's code of conduct.
Impacted component(s)
sp-button
Expected behavior
To be able to use any --mod-* css tokens to override needed properties.
Actual behavior
packages/button/src/button-overrides.css uses --mod-* tokens instead of --spectrum-* to override different variants of the button. Please see required patch to fix the issue:
https://github.com/adobe/spectrum-web-components/commit/7a47013c6056725f66e0a785992c472f9787537a
please note there is a typo for --mspectrumod-button-background-color-down, which should be --spectrum-button-background-color-down
Screenshots
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
- Go to https://opensource.adobe.com/spectrum-web-components/storybook/index.html?path=/story/button-group-sizes--m
Sample code or abstract reproduction which illustrates the problem
No response
Severity
SEV 1
Logs taken while reproducing problem
No response
SWC-788