Skip to content

refactor: remove vendor related css to its own separate folder#155

Open
YvetteNikolov wants to merge 1 commit into
mainfrom
refactor/move-to-vendor-folder
Open

refactor: remove vendor related css to its own separate folder#155
YvetteNikolov wants to merge 1 commit into
mainfrom
refactor/move-to-vendor-folder

Conversation

@YvetteNikolov

Copy link
Copy Markdown
Contributor

Een opiniated change: alle vendor/plugin gerelateerde css verplaatst naar hun eigen /vendor/ folder.

Het zijn ook eigenlijk geen components, maar CSS direct gerelateerd aan plugins.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors theme styling organization by moving plugin/vendor-specific CSS into resources/styles/vendor/ and updating the main frontend stylesheet entrypoint to import from that new location.

Changes:

  • Added vendor CSS files for CookieYes, FacetWP, and Gravity Forms under resources/styles/vendor/.
  • Updated resources/styles/frontend.css to import these styles from ./vendor/* instead of ./components/*.
  • Removed the previous component-level imports for these plugin styles from frontend.css.

Reviewed changes

Copilot reviewed 1 out of 4 changed files in this pull request and generated 2 comments.

File Description
web/app/themes/sage/resources/styles/vendor/gravity-forms.css Introduces Gravity Forms override styles in the new vendor folder.
web/app/themes/sage/resources/styles/vendor/facetwp.css Introduces FacetWP styling/overrides in the new vendor folder.
web/app/themes/sage/resources/styles/vendor/cookie-yes.css Imports CookieYes package CSS and applies theme variable override in the new vendor folder.
web/app/themes/sage/resources/styles/frontend.css Updates frontend entrypoint imports to use the new vendor/ paths (and introduces a vendor import section).

Comment on lines +10 to +13
/* Vendor */
@import './vendor/cookie-yes';
@import './vendor/facetwp';
@import './vendor/gravity-forms';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Alleen gravity-forms moet nog aangepast worden in editor.css idd.

Comment on lines +10 to +14
/* Vendor */
@import './vendor/cookie-yes';
@import './vendor/facetwp';
@import './vendor/gravity-forms';

@mvdhoek1 mvdhoek1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice, past veel beter dit!

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.

4 participants