|
4106 | 4106 | } |
4107 | 4107 | }, |
4108 | 4108 | "rgba": { |
4109 | | - "doc": "Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.", |
| 4109 | + "doc": "Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between zero and one. If any component is out of range, the expression is an error.", |
4110 | 4110 | "syntax": { |
4111 | 4111 | "overloads": [ |
4112 | 4112 | { |
|
7999 | 7999 | "type": "array", |
8000 | 8000 | "value": "interpolation_name", |
8001 | 8001 | "minimum": 1, |
8002 | | - "doc": "An interpolation defines how to transition between items. The first element of an interpolation array is a string naming the interpolation operator, e.g. `\\\"linear\\\"` or `\\\"exponential\\\"`. Elements that follow (if any) are the _arguments_ to the interpolation." |
| 8002 | + "doc": "An interpolation defines how to transition between items. The first element of an interpolation array is a string naming the interpolation operator, e.g. `\"linear\"` or `\"exponential\"`. Elements that follow (if any) are the _arguments_ to the interpolation." |
8003 | 8003 | }, |
8004 | 8004 | "interpolation_name": { |
8005 | 8005 | "doc": "First element in an interpolation array. May be followed by a number of arguments.", |
|
8050 | 8050 | { |
8051 | 8051 | "name": "base", |
8052 | 8052 | "type": "number literal", |
8053 | | - "doc": "rate at which the output increases in `f(x) = x^r`. Values higher than 1 increase, close to one behave linearly and below one decrease." |
| 8053 | + "doc": "rate at which the output increases in `f(x) = x^r`. Values higher than 1 increase, close to one behaves linearly, and below one decrease." |
8054 | 8054 | } |
8055 | 8055 | ] |
8056 | 8056 | }, |
|
8077 | 8077 | } |
8078 | 8078 | }, |
8079 | 8079 | "cubic-bezier": { |
8080 | | - "doc": "Interpolates using the cubic bezier curve defined by the given control points.", |
| 8080 | + "doc": "Interpolates using the cubic bézier curve defined by the given control points.", |
8081 | 8081 | "syntax": { |
8082 | 8082 | "overloads": [ |
8083 | 8083 | { |
|
8094 | 8094 | { |
8095 | 8095 | "name": "x1", |
8096 | 8096 | "type": "number literal", |
8097 | | - "doc": "X-coordinate of the first control point. Must be between 0 and 1 for a valid monotonic easing curve. Controls how quickly the curve accelerates at the beginning." |
| 8097 | + "doc": "X-coordinate of the first control point. Must be between zero and one for a valid monotonic easing curve. Controls how quickly the curve speeds up at the beginning." |
8098 | 8098 | }, |
8099 | 8099 | { |
8100 | 8100 | "name": "y1", |
8101 | 8101 | "type": "number literal", |
8102 | | - "doc": "Y-coordinate of the first control point. Typically between 0 and 1, but may exceed this range for overshoot effects. Influences the starting slope of the curve." |
| 8102 | + "doc": "Y-coordinate of the first control point. Typically between zero and one, but may exceed this range for overshoot effects. Influences the starting slope of the curve." |
8103 | 8103 | }, |
8104 | 8104 | { |
8105 | 8105 | "name": "x2", |
8106 | 8106 | "type": "number literal", |
8107 | | - "doc": "X-coordinate of the second control point. Must be between 0 and 1 for a valid monotonic easing curve. Controls when the curve begins to decelerate toward the end." |
| 8107 | + "doc": "X-coordinate of the second control point. Must be between zero and one for a valid monotonic easing curve. Controls when the curve begins to decelerate toward the end." |
8108 | 8108 | }, |
8109 | 8109 | { |
8110 | 8110 | "name": "y2", |
8111 | 8111 | "type": "number literal", |
8112 | | - "doc": "Y-coordinate of the second control point. Typically between 0 and 1, but may exceed this range for overshoot effects. Influences the ending slope of the curve." |
| 8112 | + "doc": "Y-coordinate of the second control point. Typically between zero and one, but may exceed this range for overshoot effects. Influences the ending slope of the curve." |
8113 | 8113 | } |
8114 | 8114 | ] |
8115 | 8115 | }, |
|
0 commit comments