Skip to content

Render icon styles as component stylesheet#10068

Merged
aduth merged 2 commits intomainfrom
aduth-rm-icon-react
Feb 12, 2024
Merged

Render icon styles as component stylesheet#10068
aduth merged 2 commits intomainfrom
aduth-rm-icon-react

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Feb 9, 2024

🛠 Summary of changes

Updates icon styles to be removed from the main stylesheet and rendered alongside IconComponent.

This was not done previously because there is a React component which also references these styles, and we do not currently have support for on-demand stylesheet support for React components.

However, it turns out we're not actually using the React Icon component, so this pull request removes its implementation and creates the new ViewComponent stylesheet.

This will eventually complement #10065 which, if #10067 is merged, would have additional styles to be included in this stylesheet.

📜 Testing Plan

Verify no regressions in the appearance of icons, e.g.:

aduth added 2 commits February 9, 2024 16:22
changelog: Internal, Performance, Reduce size of application stylesheet
@aduth aduth merged commit 12b2bf6 into main Feb 12, 2024
@aduth aduth deleted the aduth-rm-icon-react branch February 12, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants