-
-
Notifications
You must be signed in to change notification settings - Fork 195
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 custom.css resource after diazo bundle #3089
Conversation
For me it is fine to include this in 5.2. It makes small site-specific styling changes easier, which is good. The upgrade step would need to be backported to 5.2 then. |
I added a note in the "FWT Meeting Protocol 2020-05-05" shared document! |
I see the team meeting was supposed to be yesterday. Was this discussed? (Needs an upgrade step in plone.app.upgrade for 5.2, like was added for 6.0 already.) |
We rescheduled the meeting to next Tuesday (2020-05-12)! |
), | ||
'bundle': 'custom-css' | ||
} | ||
result.append(custom_css) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it is better to add some condition to not always append the custom css?
It makes no sense if it is empty, right?
The @plone/framework-team approved the backport of this PR to 5.2 https://community.plone.org/t/fwt-meeting-minutes-2020-05-26/12344 |
I am pretty sure this needs an upgrade step for @MrTango Could you check that? And could you backport this CMFPlone change from master to 5.2? (Otherwise I could do it.) |
I checked again. Started with a fresh Plone 5.2.1 site, copied its database to coredev, ran the Plone upgrade. The theming control panel looked fine, but when I save the Advanced tab, with no changes, I get this error:
|
Ah, Technically, the So that only leaves backporting the CMFPlone changes of the current PR to 5.2. |
I made a PR: #3117 |
Insert virtual custom.css bundle after Diazo bundle.