1.9 KiB
1.9 KiB
Changes to PostCSS Progressive Custom Properties
3.0.2
October 9, 2023
- Add support for css nesting
- Improve grouping of
@supports
rules - Reduce the size of the generated
@supports
rules for values that containvar()
3.0.1
September 18, 2023
- Improve performance
3.0.0
July 3, 2023
- Change license to
MIT-0
(read more about this change in the blog post)
2.3.0
June 1, 2023
- Add support for regular properties whose values contain
var()
.property-with-var--1 {
color: rgba(87, 107, 149, var(--opacity));
color: rgb(87 107 149 / var(--opacity));
}
/* becomes */
.property-with-var--1 {
color: rgba(87, 107, 149, var(--opacity));
}
@supports (color: rgb(0 0 0 / 0)) and (top: var(--f)) {
.property-with-var--1 {
color: rgb(87 107 149 / var(--opacity));
}
}
2.2.0
May 19, 2023
- Add relative color syntax support.
- Fix false positive matches for
rgb
andhsl
modern function notations.
2.1.1
March 25, 2023
- Smaller
@supports
check forcolor-mix
.
2.1.0
February 2, 2023
- Group support rules with the same params to reduce the output size.
2.0.1
January 28, 2023
- Improve
types
declaration inpackage.json
2.0.0
January 24, 2023
- Updated: Support for Node v14+ (major).
1.3.0 (March 7, 2022)
- Add matching rules for
color-mix
- Fix matching rules for gradient functions
- Reduce matchers size
1.2.0 (February 15, 2022)
- More matching rules for double position gradients.
1.1.0 (February 12, 2022)
- No longer uses custom properties in
@supports
rules. - Implement AST matching for values and units and generate minimal
@supports
for select features.
1.0.0 (February 6, 2022)
Initial release