-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsyntaxes.json
188 lines (188 loc) · 17.8 KB
/
syntaxes.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"absolute-size": "xx-small | x-small | small | medium | large | x-large | xx-large",
"alpha-value": "<number>",
"an-plus-b": "<var>A</var>n+<var>B</var> | even | odd",
"angle-percentage": "<angle> | <percentage>",
"animateable-feature": "scroll-position | contents | <custom-ident>",
"attachment": "scroll | fixed | local",
"attr()": "attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )",
"auto-repeat": "repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )",
"auto-track-list": "[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?",
"basic-shape": "<inset()> | <circle()> | <ellipse()> | <polygon()>",
"bg-image": "none | <image>",
"bg-layer": "<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box>{1,2}",
"bg-size": "[ <length-percentage> | auto ]{1,2} | cover | contain",
"blur()": "blur( <length> )",
"blend-mode": "normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",
"box": "border-box | padding-box | content-box",
"br-style": "none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset",
"br-width": "<length> | thin | medium | thick",
"brightness()": "brightness( <number-percentage> )",
"calc()": "calc( <calc-sum> )",
"calc-sum": "<calc-product> [ [ '+' | '-' ] <calc-product> ]*",
"calc-product": "<calc-value> [ '*' <calc-value> | '/' <number> ]*",
"calc-value": "<number> | <dimension> | <percentage> | ( <calc-sum> )",
"cf-final-image": "<image> | <color>",
"cf-mixing-image": "<percentage>? && <image>",
"circle()": "circle( [ <shape-radius> ]? [ at <position> ]? )",
"clip-source": "<url>",
"color": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>",
"color-stop": "<color> <length-percentage>?",
"color-stop-list": "<color-stop>{2,}",
"common-lig-values": "[ common-ligatures | no-common-ligatures ]",
"composite-style": "clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor",
"compositing-operator": "add | subtract | intersect | exclude",
"contextual-alt-values": "[ contextual | no-contextual ]",
"contrast()": "contrast( [ <number-percentage> ] )",
"counter-style": "<counter-style-name> | symbols()",
"counter-style-name": "<custom-ident>",
"cross-fade()": "cross-fade( <cf-mixing-image> , <cf-final-image>? )",
"deprecated-system-color": "ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText",
"discretionary-lig-values": "[ discretionary-ligatures | no-discretionary-ligatures ]",
"drop-shadow()": "drop-shadow( <length>{2,3} <color>? )",
"east-asian-variant-values": "[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]",
"east-asian-width-values": "[ full-width | proportional-width ]",
"element()": "element( <id-selector> )",
"ellipse()": "ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )",
"ending-shape": "circle | ellipse",
"explicit-track-list": "[ <line-names>? <track-size> ]+ <line-names>?",
"family-name": "<string> | <custom-ident>+",
"feature-tag-value": "<string> [ <integer> | on | off ]?",
"feature-type": "@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation",
"feature-value-block": "<feature-type> {\n <feature-value-declaration-list>\n}",
"feature-value-block-list": "<feature-value-block>+",
"feature-value-declaration": "<custom-ident>: <integer>+;",
"feature-value-declaration-list": "<feature-value-declaration>",
"feature-value-name": "<custom-ident>",
"fill-rule": "nonzero | evenodd",
"filter-function": "<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <sepia()> | <saturate()>",
"filter-function-list": "[ <filter-function> | <url> ]+",
"final-bg-layer": "<bg-image> || <position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box> || <'background-color'>",
"fit-content()": "fit-content( [ <length> | <percentage> ] )",
"fixed-breadth": "<length-percentage>",
"fixed-repeat": "repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )",
"fixed-size": "<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )",
"font-variant-css21": "[ normal | small-caps ]",
"frequency-percentage": "<frequency> | <percentage>",
"general-enclosed": "[ <function-token> <any-value> ) ] | ( <ident> <any-value> )",
"generic-family": "serif | sans-serif | cursive | fantasy | monospace",
"generic-name": "serif | sans-serif | cursive | fantasy | monospace",
"geometry-box": "<shape-box> | fill-box | stroke-box | view-box",
"gradient": "<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()>",
"grayscale()": "grayscale( <number-percentage> )",
"grid-line": "auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]",
"historical-lig-values": "[ historical-ligatures | no-historical-ligatures ]",
"hsl()": "hsl( <hue>, <percentage>, <percentage> )",
"hsla()": "hsla( <hue>, <percentage>, <percentage>, <alpha-value> )",
"hue": "<number>",
"hue-rotate()": "hue-rotate( <angle> )",
"image": "<url> | <image()> | <image-set()> | <element()> | <cross-fade()> | <gradient>",
"image()": "image( [ [ <image> | <string> ]? , <color>? ]! )",
"image-set()": "image-set( <image-set-option># )",
"image-set-option": "[ <image> | <string> ] <resolution>",
"inflexible-breadth": "<length> | <percentage> | min-content | max-content | auto",
"inset()": "inset( <length-percentage>{1,4} [ round <border-radius> ]? )",
"invert()": "invert( <number-percentage> )",
"keyframes-name": "<custom-ident> | <string>",
"keyframe-block": "<keyframe-selector># {\n <declaration-list>\n}",
"keyframe-block-list": "<keyframe-block>+",
"keyframe-selector": "from | to | <percentage>",
"length-percentage": "<length> | <percentage>",
"line-names": "'[' <custom-ident>* ']'",
"line-name-list": "[ <line-names> | <name-repeat> ]+",
"linear-gradient()": "linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
"mask-layer": "<mask-reference> <masking-mode>? || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator>",
"mask-position": "[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?",
"mask-reference": "none | <image> | <mask-source>",
"mask-source": "<url>",
"masking-mode": "alpha | luminance | match-source",
"matrix()": "matrix( <number> [, <number> ]{5,5} )",
"matrix3d()": "matrix3d( <number> [, <number> ]{15,15} )",
"media-and": "<media-in-parens> [ and <media-in-parens> ]+",
"media-condition": "<media-not> | <media-and> | <media-or> | <media-in-parens>",
"media-condition-without-or": "<media-not> | <media-and> | <media-in-parens>",
"media-feature": "( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
"media-in-parens": "( <media-condition> ) | <media-feature> | <general-enclosed>",
"media-not": "not <media-in-parens>",
"media-or": "<media-in-parens> [ or <media-in-parens> ]+",
"media-query": "<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?",
"media-query-list": "<media-query>#",
"media-type": "<ident>",
"mf-boolean": "<mf-name>",
"mf-name": "<ident>",
"mf-plain": "<mf-name> : <mf-value>",
"mf-range": "<mf-name> [ '<' | '>' ]? '='? <mf-value>\n| <mf-value> [ '<' | '>' ]? '='? <mf-name>\n| <mf-value> '<' '='? <mf-name> '<' '='? <mf-value>\n| <mf-value> '>' '='? <mf-name> '>' '='? <mf-value>",
"mf-value": "<number> | <dimension> | <ident> | <ratio>",
"minmax()": "minmax( <var>min</var>, <var>max</var> )",
"named-color": "transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen",
"namespace-prefix": "<ident>",
"number-percentage": "<number> | <percentage>",
"numeric-figure-values": "[ lining-nums | oldstyle-nums ]",
"numeric-fraction-values": "[ diagonal-fractions | stacked-fractions ]",
"numeric-spacing-values": "[ proportional-nums | tabular-nums ]",
"opacity()": "opacity( [ <number-percentage> ] )",
"page-body": "<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>",
"page-margin-box": "<page-margin-box-type> {\n <declaration-list>\n}",
"page-margin-box-type": "@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom",
"page-selector-list": "[ <page-selector># ]?",
"page-selector": "<pseudo-page>+ | <ident> <pseudo-page>*",
"perspective()": "perspective( <length> )",
"polygon()": "polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )",
"position": "[[ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ]]",
"pseudo-page": ": [ left | right | first | blank ]",
"radial-gradient()": "radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )",
"relative-size": "larger | smaller",
"repeat-style": "repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}",
"repeating-linear-gradient()": "repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )",
"repeating-radial-gradient()": "repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )",
"rgb()": "rgb( <rgb-component>#{3} )",
"rgb-component": "<integer> | <percentage>",
"rgba()": "rgba( <rgb-component>#{3} , <alpha-value> )",
"rotate()": "rotate( <angle> )",
"rotate3d()": "rotate3d( <number> , <number> , <number> , <angle> )",
"rotateX()": "rotateX( <angle> )",
"rotateY()": "rotateY( <angle> )",
"rotateZ()": "rotateZ( <angle> )",
"saturate()": "saturate( <number-percentage> )",
"scale()": "scale( <number> [, <number> ]? )",
"scale3d()": "scale3d( <number> , <number>, <number> )",
"scaleX()": "scaleX( <number> )",
"scaleY()": "scaleY( <number> )",
"scaleZ()": "scaleZ( <number> )",
"shape-radius": "<length-percentage> | closest-side | farthest-side",
"skew()": "skew( <angle> [, <angle> ]? )",
"skewX()": "skewX( <angle> )",
"skewY()": "skewY( <angle> )",
"sepia()": "sepia( <number-percentage> )",
"shadow": "inset? && <length>{2,4} && <color>?",
"shadow-t": "[ <length>{2,3} && <color>? ]",
"shape": "rect(<top>, <right>, <bottom>, <left>)",
"shape-box": "<box> | margin-box",
"side-or-corner": "[ left | right ] || [ top | bottom ]",
"single-animation": "<time> || <single-timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]",
"single-animation-direction": "normal | reverse | alternate | alternate-reverse",
"single-animation-fill-mode": "none | forwards | backwards | both",
"single-animation-iteration-count": "infinite | <number>",
"single-animation-play-state": "running | paused",
"single-timing-function": "<single-transition-timing-function>",
"single-transition": "[ none | <single-transition-property> ] || <time> || <single-transition-timing-function> || <time>",
"single-transition-timing-function": "ease | linear | ease-in | ease-out | ease-in-out | step-start | step-end | steps(<integer>[, [ start | end ] ]?) | cubic-bezier(<number>, <number>, <number>, <number>)",
"single-transition-property": "all | <custom-ident>",
"size": "closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}",
"symbol": "<string> | <image> | <ident>",
"time-percentage": "<time> | <percentage>",
"track-breadth": "<length-percentage> | <flex> | min-content | max-content | auto",
"track-list": "[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?",
"track-repeat": "repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )",
"track-size": "<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )",
"transform-function": "[ <matrix()> || <translate()> || <translateX()> || <translateY()> || <scale()> || <scaleX()> || <scaleY()> || <rotate()> || <skew()> || <skewX()> || <skewY()> || <matrix3d()> || <translate3d()> || <translateZ()> || <scale3d()> || <scaleZ()> || <rotate3d()> || <rotateX()> || <rotateY()> || <rotateZ()> || <perspective()> ]+",
"transform-list": "<transform-function>+",
"translate()": "translate( <length-percentage> [, <length-percentage> ]? )",
"translate3d()": "translate3d( <length-percentage> , <length-percentage> , <length> )",
"translateX()": "translateX( <length-percentage> )",
"translateY()": "translateY( <length-percentage> )",
"translateZ()": "translateZ( <length> )",
"type-or-unit": "string | integer | color | url | integer | number | length | angle | time | frequency | em | ex | px | rem | vw | vh | vmin | vmax | mm | q | cm | in | pt | pc | deg | grad | rad | ms | s | Hz | kHz | %",
"var()": "var( <custom-property-name> [, <declaration-value> ]? )",
"viewport-length": "auto | <length-percentage>"
}