Releases: scriptex/itcss
Updated metadata
Updated flexbox mixins
BREAKING
This release updates the already existing flexbox mixins and introuduces several new ones.
For more information, please refer to the documentation
Update PostCSS plugins
This release removes the usage of postcss-preset-env and starts using postcss-color-mod-function and autoprefixer instead.
Fix issue with postcss-extend in a nested postcss-each
This issue fixes an issue with postcss-extend using in a nested postcss-each.
Native smooth anchor scrolling
This release adds support for native smooth anchor scrolling.
It also updates the versions of all peer dependencies.
Unpin peer dependencies' versions
This release unpins the versions of the package's peer dependencies.
Improved grid
BREAKING CHANGES:
This release
- Removes the modifier classnames for grid items (
.o-grid__item--1of2and such) and instead introduces a new grid system based on variables. The variables are explained and demoed in the README.
NEW FEATURES
- Introduces several new variables:
--gap- used to define the spacing between grid items and floated elements--columns- used to define the columns in the new grid--shell-gap- used to define the right and left padding of theo-shellobject--breakpoints- list of prefixes for media queries used to build the responsive helper classes--displays- list ofdisplayproperties used to build the responsive helper classes--alignments- list oftext-alignproperties used to build the text alignment utilities.
- Adds new
clearutility classes for clearing after floats:clear,clear-leftandclear-right - Adds a new
displaymixin.
User preferences media queries
This release introduces media queries for user preferences: @media (prefers-color-scheme: light) and @media (prefers-reduced-motion: reduce).
This release improves the usage details and documentation.
Remove nesting in lists nested in navs
1.5.1 Remove nesting in lists nested in navs
Update media queries
This release takes care of correct transpiling of media queries.
Due to a bug in the postcss-preset-env package, the postcss-custom-media packages was installed.
This release also takes care of fixing and correcting the format of the hover media query.