spectrum-web-components
spectrum-web-components copied to clipboard
[Bug]: action button --mod-actionbutton-border-radius not getting picked up
Code of conduct
- [x] I agree to follow this project's code of conduct.
Impacted component(s)
action-button
Expected behavior
Whenever setting --mod-actionbutton-border-radius css var at the host level it should override border-radius value.
Actual behavior
--mod-actionbutton-border-radius is not getting picked. This could be due to css var override with it's own name as a fallback or that it is missing as a border-radius value.
:host {
border-radius: var(--mod-actionbutton-border-radius, var(--spectrum-actionbutton-border-radius));
}
See link.
Thank you
Screenshots
What browsers are you seeing the problem in?
Chrome
How can we reproduce this issue?
- Go to https://opensource.adobe.com/spectrum-web-components/components/action-button/
- Set
--mod-actionbutton-border-radiusto 999px and border radius will not be changed.
Sample code or abstract reproduction which illustrates the problem
No response
Severity
SEV 3
Logs taken while reproducing problem
No response
Hello, this is still broken.
--mod-actionbutton-border-color is also broken currently....
Reopening this to triage and test. cc @najikahalsema