Skip to content
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

add additional Typoscript configuration for dependency scss. #15

Open
wants to merge 4 commits into
base: legacy
Choose a base branch
from

Conversation

SCPhilippHolzmann
Copy link

I add a typoscript variable to define dependencies of a Scss file. I made this to allow other extensions to override scss variables of the dependencies.

Here is a example how the typoscript configuration look like
page.includeCSS{ customer = EXT:t3s_customer/Resources/Private/sources/Scss/customer.scss customer.dependencies { 5 = EXT:my_extension/Resources/Private/sources/scss/bootstrap/functions 10 = EXT:my_extension/Resources/Private/sources/scss/customer-variables } }

@svewap
Copy link
Collaborator

svewap commented Apr 6, 2020

I personally would not make the SCSS files of my template extension dependent on another extension. That would be too uncertain for me. I would always prefer an independence. I would always copy the SCSS files of other extensions into my extension, because I usually modify them then.

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