Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/css-syntax-patches-for-csstree/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes to CSS Syntax Patches For CSSTree

### Unreleased (patch)

- Add at-rule preludes

### 1.1.10

_August 30, 2026_
Expand Down
83 changes: 63 additions & 20 deletions packages/css-syntax-patches-for-csstree/dist/index.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,73 @@
{
"next": {
"atrules": {
"apply": {
"prelude": "[ <dashed-ident> | <dashed-function> ]"
},
"color-profile": {
"prelude": "[ <dashed-ident> | device-cmyk ]",
"descriptors": {
"components": "<ident>#",
"rendering-intent": "relative-colorimetric | absolute-colorimetric | perceptual | saturation",
"src": "<url>"
}
},
"container": {
"prelude": "<container-condition>#"
},
"custom-media": {
"prelude": "<extension-name> [ <media-query-list> | true | false ]"
},
"custom-selector": {
"prelude": "<custom-selector> <selector-list>"
},
"else": {
"prelude": "<boolean-condition>?"
},
"font-feature-values": {
"prelude": "<font-family-name>#",
"descriptors": {
"font-display": "auto | block | swap | fallback | optional"
}
},
"function": {
"prelude": "<function-token> <function-parameter>#? ) [ returns <css-type> ]?",
"descriptors": {
"result": "<declaration-value>?"
}
},
"import": {
"prelude": "[ <url> | <string> ] [ [ layer | layer( <layer-name> ) ] || [ scope | scope( <scope-start> | <scope-boundaries> ) ] || <supports-import-condition> ]? <media-import-condition>"
},
"mixin": {
"prelude": "[ <function-token> <function-parameter>#? ) | <ident-token> ]"
},
"navigation": {
"prelude": "<navigation-condition>"
},
"page": {
"prelude": "<page-selector-list>?",
"descriptors": {
"margin": "<'margin'>",
"margin-bottom": "<'margin-bottom'>",
"margin-left": "<'margin-left'>",
"margin-right": "<'margin-right'>",
"margin-top": "<'margin-top'>",
"page-margin-safety": "none | clamp | add"
}
},
"property": {
"prelude": "<custom-property-name>#"
},
"scope": {
"prelude": "<scope-boundaries>?"
},
"supports-condition": {
"prelude": "<supports-condition-name>"
},
"when": {
"prelude": "<boolean-condition>"
},
"font-face": {
"descriptors": {
"ascent-override": "[ normal | <percentage [0,∞]> ]{1,2}",
Expand All @@ -29,31 +89,11 @@
"unicode-range": "<unicode-range-token>#"
}
},
"font-feature-values": {
"descriptors": {
"font-display": "auto | block | swap | fallback | optional"
}
},
"font-palette-values": {
"descriptors": {
"font-family": "<font-family-name>#"
}
},
"function": {
"descriptors": {
"result": "<declaration-value>?"
}
},
"page": {
"descriptors": {
"margin": "<'margin'>",
"margin-bottom": "<'margin-bottom'>",
"margin-left": "<'margin-left'>",
"margin-right": "<'margin-right'>",
"margin-top": "<'margin-top'>",
"page-margin-safety": "none | clamp | add"
}
},
"position-try": {
"descriptors": {
"position-anchor": "<'position-anchor'>",
Expand Down Expand Up @@ -480,6 +520,9 @@
},
"types": {
"dashed-ident": "<custom-property-name>",
"extension-name": "<custom-property-name>",
"custom-selector": "<custom-property-name>",
"dashed-function": "<function-token> <any-value>? )",
"unicode-range-token": "<urange>",
"a-n-plus-b": "odd | even | <integer> | <n-dimension> | '+'? n | -n | <ndashdigit-dimension> | '+'? <ndashdigit-ident> | <dashndashdigit-ident> | <n-dimension> <signed-integer> | '+'? n <signed-integer> | -n <signed-integer> | <ndash-dimension> <signless-integer> | '+'? n- <signless-integer> | -n- <signless-integer> | <n-dimension> [ '+' | '-' ] <signless-integer> | '+'? n [ '+' | '-' ] <signless-integer> | -n [ '+' | '-' ] <signless-integer>",
"alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )",
Expand Down
Loading
Loading