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

Why is barceloneta.plone.local.less prepending variables from an external url? #262

Open
me-kell opened this issue Jan 19, 2022 · 1 comment

Comments

@me-kell
Copy link

me-kell commented Jan 19, 2022

I made a copy of Barceloneta (v2.1.10 as in Plone 5.2.6) and spend hours trying to find out why some of the variables defined in barceloneta.plone.less are not used after compiling less.

I found out that the variable definitions are defined in https://raw.githubusercontent.com/plone/mockup/master/mockup/patterns/toolbar/variables.less and somehow prepended via barceloneta.plone.local.less to the definitions in barceloneta.plone.less.

Please, can someone explain why?
And how to disble loading variables form this external url in a copy of Barceloneta?

@me-kell me-kell changed the title Why is barceloneta.plone.local.less prepending variables from an external url? Why is barceloneta.plone.local.less prepending variables from an external url? Jan 19, 2022
@MrTango
Copy link
Contributor

MrTango commented Feb 23, 2024

it's been a while that i worked with Plone 5, but the general idea was that those variables are normally coming from the Plone database inside the resource registry. Locally (webpack) you have those variables, since you are not having a running Plone when compiling resources with webpack. Thats why the default variables are loaded from Github.

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

No branches or pull requests

2 participants