Skip to content

Commit

Permalink
style(css,l10n): sort json files (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Dec 10, 2024
1 parent 4b078ec commit 1d49426
Show file tree
Hide file tree
Showing 7 changed files with 670 additions and 670 deletions.
80 changes: 40 additions & 40 deletions css/at-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,46 +132,6 @@
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@document"
},
"@font-palette-values": {
"syntax": "@font-palette-values <dashed-ident> {\n <declaration-list>\n}",
"groups": [
"CSS Fonts"
],
"descriptors": {
"base-palette": {
"syntax": "light | dark | <integer [0,∞]>",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/base-palette"
},
"font-family": {
"syntax": "<family-name>#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/font-family"
},
"override-colors": {
"syntax": "[ <integer [0,∞]> <color> ]#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/override-colors"
}
},
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values"
},
"@font-face": {
"syntax": "@font-face {\n [ font-family: <family-name>; ] ||\n [ src: <src>; ] ||\n [ unicode-range: <unicode-range>; ] ||\n [ font-variant: <font-variant>; ] ||\n [ font-feature-settings: <font-feature-settings>; ] ||\n [ font-variation-settings: <font-variation-settings>; ] ||\n [ font-stretch: <font-stretch>; ] ||\n [ font-weight: <font-weight>; ] ||\n [ font-style: <font-style>; ] ||\n [ size-adjust: <size-adjust>; ] ||\n [ ascent-override: <ascent-override>; ] ||\n [ descent-override: <descent-override>; ] ||\n [ line-gap-override: <line-gap-override>; ]\n}",
"interfaces": [
Expand Down Expand Up @@ -326,6 +286,46 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"
},
"@font-palette-values": {
"syntax": "@font-palette-values <dashed-ident> {\n <declaration-list>\n}",
"groups": [
"CSS Fonts"
],
"descriptors": {
"base-palette": {
"syntax": "light | dark | <integer [0,∞]>",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "uniqueOrder",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/base-palette"
},
"font-family": {
"syntax": "<family-name>#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/font-family"
},
"override-colors": {
"syntax": "[ <integer [0,∞]> <color> ]#",
"media": "all",
"initial": "n/a (required)",
"percentages": "no",
"computed": "asSpecified",
"order": "orderOfAppearance",
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values/override-colors"
}
},
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-palette-values"
},
"@import": {
"syntax": "@import [ <string> | <url> ]\n [ layer | layer(<layer-name>) ]?\n [ supports( [ <supports-condition> | <declaration> ] ) ]?\n <media-query-list>? ;",
"groups": [
Expand Down
36 changes: 18 additions & 18 deletions css/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,6 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/opacity"
},
"path()": {
"syntax": "path( [ <fill-rule>, ]? <string> )",
"groups": [
"CSS Shapes",
"CSS Motion Path"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/path"
},
"paint()": {
"syntax": "paint( <ident>, <declaration-value>? )",
"groups": [
Expand All @@ -324,6 +315,15 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-palette/palette-mix"
},
"path()": {
"syntax": "path( [ <fill-rule>, ]? <string> )",
"groups": [
"CSS Shapes",
"CSS Motion Path"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/path"
},
"perspective()": {
"syntax": "perspective( [ <length [0,∞]> | none ] )",
"groups": [
Expand Down Expand Up @@ -488,6 +488,15 @@
"status": "experimental",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/scroll"
},
"sepia()": {
"syntax": "sepia( <number-percentage> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/sepia"
},
"skew()": {
"syntax": "skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )",
"groups": [
Expand All @@ -512,15 +521,6 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-function/skewY"
},
"sepia()": {
"syntax": "sepia( <number-percentage> )",
"groups": [
"Filter Effects",
"CSS Color"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/sepia"
},
"target-counter()": {
"syntax": "target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )",
"groups": [
Expand Down
Loading

0 comments on commit 1d49426

Please sign in to comment.