postcss-custom-supports 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# postcss-custom-supports
|
|
2
2
|
|
|
3
|
+
[](https://github.com/chloeburroughs/PostCSS-Custom-Supports/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/postcss-custom-supports)
|
|
5
|
+
[](./LICENSE.md)
|
|
6
|
+
|
|
3
7
|
_Note: I created this plugin for a specific project because I was tired of remembering the advanced attributes @supports query and fighting VS Code's parser. I'm releasing it because I hope it’s helpful. It was built with Claude Opus 4.6._
|
|
4
8
|
|
|
5
9
|
A [PostCSS](https://postcss.org/) plugin that brings the [`@custom-media`](https://www.w3.org/TR/mediaqueries-5/#custom-mq) authoring pattern to `@supports` queries. Define a feature-detection condition once, give it a `--name`, and reference it from any number of `@supports` rules.
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss-custom-supports",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "PostCSS plugin that mirrors @custom-media for @supports queries, letting you alias verbose or experimental feature-detection conditions behind a custom name.",
|
|
5
|
+
"author": "Chloe Burroughs <chloe@pfr.wtf>",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/chloeburroughs/PostCSS-Custom-Supports.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/chloeburroughs/PostCSS-Custom-Supports/issues"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/chloeburroughs/PostCSS-Custom-Supports#readme",
|
|
5
14
|
"main": "index.js",
|
|
6
15
|
"files": [
|
|
7
16
|
"index.js"
|