-
-
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
Modernize Plone default theme aka Barceloneta LTS #3061
Comments
@plone/framework-team |
Several massive changes for this PLIP were merged on This change is meant only for Plone 6, right? If so, then we should create a 2.x branch from the code before this PR was merged, and change coredev 5.1 and 5.2 to use this. I don't mind creating those branches and updating coredev for barceloneta. But I need to know if that is expected. And for other packages that get the bootstrap4 treatment, it may be better to create such a branch and update coredev beforehand. |
Yeah that wasn't meant to be merged ... my branchoverloadconfusedbrain 🙈 |
This was approved the 2020-03-03 |
Updated PLIP for Bootstrap 5 |
Todos
Questions
|
I will close this PLIP because Plone 6 already runs on barceloneta LTS |
PLIP (Plone Improvement Proposal)
Responsible Persons
Proposer
Proposer: Stefan Antonelli, Peter Holzer
Abstract
Modernize Plone default theme
Motivation
Everybody who wants to build a theme based on Plone defaults, has to deal with more or less useful HTML markup injected by packages, widgets, plugins, patterns, etc.
Barceloneta is using parts of Bootstrap with it's own flavor. Goal is to make use of Bootstrap and it's components as much as possible and therefore reduce the amount of custom markup and styling.
It should make it easier for developers to create views/viewlets based on the best practives of Bootstrap (less custom styling).
Bootstrap 5 uses CSS variables which allows to override basic styles without recompilation. SCSS doesn't have support for browser compilation. TTW-editing was overly complex. We propose re-adding of a custom.css file which could be edited through the browser.
The goal in the end would be to have a bobtemplate.plone template for theming, that would make it easy for integrators to alter styles using existing properties/mixins/... from Bootstrap.
Assumptions
Proposal & Implementation
Deliverables
Ongoing work https://github.com/plone/buildout.coredev/blob/5.2/plips/plip-2967-barceloneta-lts.cfg
Risks
Existing Themes/Addons may require an update, since markup of templates will change.
A lot of templates in Products.CMFPlone an other Packages (see list of affected templates) are touched. Branches and packages with overrides are affected.
Less has been converted to Sass. Compiled CSS in Addons is not affected. Less can be easily converted to Sass.
Browser Support
We're going for Bootstrap 5. Version 5 drops support for IE 10/11.
https://v5.getbootstrap.com/docs/5.0/migration/#browser-support
https://en.wikipedia.org/wiki/Internet_Explorer_11
Participants
The text was updated successfully, but these errors were encountered: