-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix: removed SVGs and update fill style in accordion #17527
fix: removed SVGs and update fill style in accordion #17527
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit cf2c0b1:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 6d000dd560441cc0d29e61e10a7b93d25e7a0997 (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
@@ -85,6 +85,7 @@ export const AccordionItemStyles = css` | |||
grid-column: 4; | |||
z-index: 2; | |||
pointer-events: none; | |||
fill: var(--accent-fill-rest); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should use accentFillRestBehavior.var
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch @nicholasrice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @nicholasrice . updated
🎉 Handy links: |
* removed SVGs to use the default * Change files * set the fill color of the icon in style * using accentFillRestBehavior.var on fill
* removed SVGs to use the default * Change files * set the fill color of the icon in style * using accentFillRestBehavior.var on fill
Pull request checklist
$ yarn change
Description of changes
In the example file, I removed the SVGs to use the default expand and collapsed icons and updated the CSS selector to target the icon's fill property to set the color.
Focus areas to test
(optional)