Closed agitator closed 3 years ago
@agitator thanks for creating this Pull Request and help improve Plone!
To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass.
Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:
@jenkins-plone-org please run jobs
With this simple comment all the jobs will be started automatically.
Happy hacking!
@jenkins-plone-org please run jobs
@jenkins-plone-org please run jobs
@jenkins-plone-org please run jobs
@mauritsvanrees should we try to remove the inlining of web fonts? The way it works now is that about 4 types of web fonts are included in the file rather than the one a specific browser needs...
I'd rather see specific urls to the actual fonts
@font-face {
font-family: "Glyphicons Halflings";
src: url("@{icon-font-path}@{icon-font-name}.eot");
src: url("@{icon-font-path}@{icon-font-name}.eot?#iefix") format("embedded-opentype"),
url("@{icon-font-path}@{icon-font-name}.woff2") format("woff2"),
url("@{icon-font-path}@{icon-font-name}.woff") format("woff"),
url("@{icon-font-path}@{icon-font-name}.ttf") format("truetype"),
url("@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}") format("svg");
}
@jenkins-plone-org please run jobs
@agitator wrote:
@mauritsvanrees should we try to remove the inlining of web fonts?
I have no opinion on this. I think you already did that in a later commit, right?
In total, LGTM, though I did not try it out.
Do add-on developers need to change something because of this PR?
the changes shouldn't have an impact for addons @mauritsvanrees could you do a release?
Yes, I can. I have added mockup and staticresources to the checkouts first.
wait with releasing, maybe found something...
Reduce bundle sizes by not inlining fonts in each bundle - moved plone-fontello and glyphicons to their own bundle.
Depends on: https://github.com/plone/mockup/pull/1042
This PR adds two new bundles: plone-fontello and plone-glyphicons.
The total CSS size is reduced about 700kB.
CSS bundle sizes before this PR:
CSS bundle sizes with this PR: