1.5.0
Notice
Make sure to read the release notes and the UPGRADE.md.
For anyone following the pre-releases, this is the former 2.0.0-RC version and is being released as v1.5.0 as there are no major changes.
We have decided to rewrite the framework in the future and will release that one as a new major version (changing classnames, structure, templates etc.).
- Removed Contao 4.9 support
- Added Contao 4.13 support
Upgrading
!!! Make sure to export your Style Manager archives within Layout > Style Manager before deleting them !!!
-
if you never changed any templates or any style-manager archives bound to the framework, you need to drop them within Layout > Style Manager (Check UPGRADE.md for further information)
-
if you did change any templates listed in UPGRADE.md, you have to adjust them. Check the UPGRADE.md and CHANGELOG.md
-
if you have changed any style-manager archives bound to the framework, you have to adjust these manually. We did add an option for a partial export and import. Further information can be found within UPGRADE.md and CHANGELOG.md
Changes
- changed license to AGPL 7c1d00f
- importing the style-manager-core.xml is not necessary anymore (they are loaded from the bundle itself)
- dropped Contao 4.9 support
- updated all templates to contao 4.13
- slider-config is no longer a template variable cf50e9b
- form-input icons are now generated through an icon-font 5a7eb9a dbe66e8 6ae3f0e
- replaced webmozart/path-util with symfony/filesystem af9acde 370e691
- IconFonts can now be set within Contao Settings: ThemeManager settings (You no longer need to use $GLOBALS['CTM_SETTINGS']['iconFont'] in config.php)
- changed deprecated scan() method in IconGenerator to scandir()
- updated dependencies:
- contao-theme-compiler-bundle to ^1.2
- contao-config-driver-bundle to ^1.1
Additions
- added an UPGRADE and CHANGELOG.md for updating from version 1.4 to 1.5 (when template and style-manager changes have been made)
- added icon css generation from a iconset.xml 557151d df75e2b d9291b2 3116346 b748aff
- added a possibility to set icons into buttons 1630ba5 95fc2c3
- added a possibility to set icons into list items
- added methods to generate stylemanager xml files a01cd0f
- added list layouting and styles (vertical and horizontal) c0dd4a7 6cd695c
- added table styles c0dd4a7
- added a hyperlink list ba985a5
- added event-list support 5032f37
- added figcaption support to every image content-element bc02a65
- added a possibility to set background and text-color within wrapper-elements 1aa909d c232cb0
- added webp as valid image type for thememanager image-elements c9d9582
- added visibility options to thememanager list-elements 2b5735a d149afc 1a24423 aa35307
Changes to the css-framework
The minified framework size has been reduced from 84kB (11kB gzip) to 54kB (8.7kB gzip).
Most of the framework has been changed to use custom properties. For more information on them, check https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
-
reworked box-shadow styles
-
headlines now have a standard margin of 1rem b164158
-
removed overflow hidden from every block element 37f44ba
-
buttons are now
display: inline-flex
e560ccb -
text within full-width buttons is now centered 5f6b5e2
-
minor tweaks to various css to save framework size d6dc061
-
changed specificity of layout-absolute within image-text components 385373b
-
changed grid-framework percentages to 4 decimal places (e. g. 33.33333333% to 33.3333%) 21f99b2
-
reworked spacings to include custom properties 77c264d eca62f4 9db04db
-
reworked layout to include custom properties 2c04a77
-
reworked form styles to include custom properties d6dc061
-
reworked typography to include custom properties 0355144
-
reworked buttons to include custom properties a5b8b34
-
reworked text- and link-colors to include custom properties 281cf9e
-
combined component-spacing, text-alignment, and hl-alignment 52b8940
-
added new utility functions: 47c52e2
- selector-split($string, $separator): converts a sass string into a sass list
- list-to-string($list, $separator, $nested): converts a sass list into a string
-
added new breakpoint mixins: 47c52e2
- loop-css-map($map): iterates through a sass map and outputs a key value pair with selector name
- generate-infix-breakpoint-styles($list): generates css from a sass map with css for all set-up breakpoints. Check styles/_alignmentSpacings.scss on how to use it)
Removal
- removed form-design for form-submit buttons / use normal button-design instead 15eef80
- removed IE and Firefox <18 support e6c0e41
- removed deprecated util-functions
button-padding()
andshorten-decimal-value()
- usesubList()
andshortPercentage()
instead 049fb08 - removed
font-smoothing: antialiased
from the icon-mixin 582ac61 - removed deprecated {{ua::class}} from fe_page, use this insert-tag within the body-class in layout instead 3d490ce