16.1.0 is out! It adds a new `lightness-notation` rule, adds a new option for `selector-disallowed-list`, and fixes several false positives.
Have a nice holiday!
stylelint.io/CHANGELOG#1610
16.0.0 is out! It starts supporting ESM but keeps the CommonJS support. This release provides many significant changes, including breaking ones. Please read the changelog and migration guide for more details.
stylelint.io/CHANGELOG#1600
No sooner did we come in (with @_senkovskiy), we meet someone who knows Martians thanks to PostCSS! Hi from #OpenCoreSummit ! Repurposing some grammar I just learnt 😁
I just publish new @PostCSS plugin. It can add opacity to any color from CSS Custom Property.
github.com/postcss/postcss-r…
You can stop creating many colors with opacity like --accent-50, --accent-30.
How it works ↓
Browsers don't support this part of CSS Color 4 yet.
So if you want to have correct colors on all displays you should include both narrow and wide gamut color values. This new plugin helps you to do just that.
preset-env.cssdb.org/playgro…
ALT Screenshot of CSS with media queries for wide gamut displays.
A fallback value is declared in srgb for older, less capable hardware and a conditional wide gamut color is wrapped in at-media.
A rare vulnerability was found in PostCSS: CVE-2023-44270.
If you are linting user’s CSS by PostCSS, attacker can create CSS where part will be invisible for PostCSS and visible for browsers.
If it is your case, update to PostCSS 8.4.31.
Browserslist 4.22.1 was released.
We updated Firefox ESR versions. Please update browserslist in your dependencies to remove polyfills for old Firefox 102 ESR from your JS/CSS bundle.
Release’s hedgehog by @DrLongissimus
Browserslist website now has “Hide docs” button.
This mode can be useful to show target browsers to your client/CEO without loosing focus on Browserslist docs.
browsersl.ist/?results=#q=de…
Browserslist 4.22 was released.
@BPScott added `fully supports es6-module` query and `partially supports` alias for `supports` query.
github.com/browserslist/brow…
We made a CSS bundler for #PostCSS and a bunch of related tools and test suites 🎉
Our focus during this project was on interop with other bundlers and specification compliance.
preset-env.cssdb.org/blog/po…
ALT A screenshot of an at-import statement with some modern features.
Code :
@import url('all-the-styles.css') layer(base) supports(selector(&)) (prefers-color-scheme: dark);