8000 fix(global): remove where from global/component var blocks by mcoker · Pull Request #7016 · patternfly/patternfly · GitHub
[go: up one dir, main page]

Skip to content

fix(global): remove where from global/component var blocks#7016

Merged
mattnolting merged 3 commits intopatternfly:v6from
mcoker:remove-where-component-vars
Aug 29, 2024
Merged

fix(global): remove where from global/component var blocks#7016
mattnolting merged 3 commits intopatternfly:v6from
mcoker:remove-where-component-vars

Conversation

@mcoker
Copy link
Contributor
@mcoker mcoker commented Aug 28, 2024

This PR is the result of reviewing other issues/PR's and taking the first step of removing :where() from the selector that wraps all component/layout vars, which was identified as having a negative impact on performance. That just leaves :root, .pf-[version + component] as the selector that wraps component vars.

From there, we may also try some other steps to evaluate performance gains (if any) and risks to see if there are other updates to make like this for v6:

  • Removing :root from the selector list
  • Removing :where() from global reset styles

BackstopJS Report.pdf

@patternfly-build
Copy link
Collaborator
patternfly-build commented Aug 28, 2024

@mcoker mcoker force-pushed the remove-where-component-vars branch from f29e016 to beb1265 Compare August 28, 2024 17:07
@mcoker mcoker marked this pull request as ready for review August 29, 2024 15:15
fix(about-modal): moved bidirect style to component scope
@mcoker mcoker requested review from mattnolting and srambach August 29, 2024 18:18
Copy link
Member
@srambach srambach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐳

Copy link
Collaborator
@mattnolting mattnolting left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤩🤩🤩🤩🤩🤩🤩🤩🤩🤩 LAPTM!!!

@mattnolting mattnolting merged commit 565ba3a into patternfly:v6 Aug 29, 2024
@patternfly-build
Copy link
Collaborator

🎉 This PR is included in version 6.0.0-alpha.228 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mcoker mcoker deleted the remove-where-component-vars branch January 7, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0