@flatkit/types 0.18.0 → 0.19.1
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/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45,11 +45,15 @@ type Shape = PolyGroup[];
|
|
|
45
45
|
type Stop = {
|
|
46
46
|
offset: number;
|
|
47
47
|
color: string;
|
|
48
|
+
param?: string;
|
|
49
|
+
alpha?: number;
|
|
48
50
|
};
|
|
49
|
-
/** A Flash-style "tint" color effect: recolors a container toward `color` by `amount` (0..1).
|
|
51
|
+
/** A Flash-style "tint" color effect: recolors a container toward `color` by `amount` (0..1). `param` (if
|
|
52
|
+
* set) binds the tint hue to a symbol COLOR param, resolved per instance at render (else the literal `color`). */
|
|
50
53
|
type Tint = {
|
|
51
54
|
color: string;
|
|
52
55
|
amount: number;
|
|
56
|
+
param?: string;
|
|
53
57
|
};
|
|
54
58
|
/** Blend mode (Flash / After Effects style). `add`/`screen` = additive light (glow, mixing); `multiply` = shadow. */
|
|
55
59
|
type BlendMode = 'add' | 'screen' | 'multiply';
|