Skip to content

Comments

Refactor Frontend SCSS#1023

Merged
n7studios merged 7 commits intobuild-minify-frontend-cssfrom
refactor-frontend-scss
Feb 20, 2026
Merged

Refactor Frontend SCSS#1023
n7studios merged 7 commits intobuild-minify-frontend-cssfrom
refactor-frontend-scss

Conversation

@n7studios
Copy link
Contributor

Summary

Building on #1022, refactors frontend SCSS files to use nested SCSS syntax instead of flat selector chains, improving readability and maintainability.

Testing

Existing tests passed. Manual QA performed on all elements that use this CSS to confirm no regressions.

Checklist

@n7studios n7studios self-assigned this Feb 19, 2026
@github-actions
Copy link

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team February 19, 2026 08:41
@n7studios n7studios marked this pull request as ready for review February 19, 2026 08:41
Copy link

@ciccio-kit ciccio-kit left a comment

Choose a reason for hiding this comment

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

cool refactor! I'll approve but could you double check that slight difference between the old and new styles before merging?

This uses @wordpress/prettier-config, enforcing the requirement that tabs, not spaces, be used: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/. wp-scripts lint-style applies CSS coding standards, but misses the requirement of tabs, so prettier must also be used.
@github-actions
Copy link

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios merged commit aba4156 into build-minify-frontend-css Feb 20, 2026
82 of 86 checks passed
@n7studios n7studios deleted the refactor-frontend-scss branch February 20, 2026 08:45
@github-actions
Copy link

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

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.

2 participants