You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
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.
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 viabarceloneta.plone.local.less
to the definitions inbarceloneta.plone.less
.Please, can someone explain why?
And how to disble loading variables form this external url in a copy of Barceloneta?
The text was updated successfully, but these errors were encountered: