fix(button): define missing variables and remove unused ones#8136
fix(button): define missing variables and remove unused ones#8136tarunvashishth wants to merge 1 commit intopatternfly:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 WalkthroughThis PR fixes undefined and unused variables in the Button component SCSS by defining missing font size and weight properties for the large display variant, introducing corner-specific border radius variables, wiring transition delay for hover icon animations, utilizing the previously unused disabled border color variable, and removing unused progress opacity definitions. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview: https://pf-pr-8136.surge.sh A11y report: https://pf-pr-8136-a11y.surge.sh |
Fixes #7952
PR Summary
This PR fixes undefined/unused Button CSS variable issues in
src/patternfly/components/Button/button.scss.display-lgtoken:--#{$button}--m-display-lg--FontSize.--#{$button}--m-display-lg--FontWeightinto.pf-m-display-lg.--#{$button}--disabled--BorderColor.BorderStartStart/StartEnd/EndStart/EndEndRadius) to match existingvar(...)usage.--#{$button}__progress--Opacity.Summary by CodeRabbit
New Features
Style