@yft-design/engine 0.0.52 → 0.0.53

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.
@@ -80,11 +80,53 @@ export interface PsdStrokeDecl {
80
80
  blendMode?: string;
81
81
  decl?: GradientDecl;
82
82
  }
83
+ export interface SerializedPsdBevel {
84
+ enabled?: boolean;
85
+ showInDialog?: boolean;
86
+ style?: string;
87
+ technique?: string;
88
+ direction?: string;
89
+ size?: unknown;
90
+ strength?: unknown;
91
+ depth?: unknown;
92
+ angle?: unknown;
93
+ altitude?: unknown;
94
+ useGlobalLight?: boolean;
95
+ highlightBlendMode?: unknown;
96
+ highlightColor?: unknown;
97
+ highlightOpacity?: unknown;
98
+ shadowBlendMode?: unknown;
99
+ shadowColor?: unknown;
100
+ shadowOpacity?: unknown;
101
+ [key: string]: unknown;
102
+ }
103
+ export interface PsdBevelDecl {
104
+ style: 'inner' | 'outer' | 'emboss' | 'pillow';
105
+ technique: 'smooth' | 'hard';
106
+ sizePx: number;
107
+ strength: number;
108
+ angleDeg: number;
109
+ altitudeDeg: number;
110
+ directionDown: boolean;
111
+ highlight: {
112
+ color: string;
113
+ rgba: RGBA;
114
+ opacity: number;
115
+ blendMode?: string;
116
+ };
117
+ shadow: {
118
+ color: string;
119
+ rgba: RGBA;
120
+ opacity: number;
121
+ blendMode?: string;
122
+ };
123
+ }
83
124
  export interface PsdEffectsDecls {
84
125
  dropShadows: PsdDropShadowDecl[];
85
126
  innerShadows: PsdInnerShadowDecl[];
86
127
  solidFills: Array<PsdSolidFillDecl | PsdGradientFillDecl>;
87
128
  strokes: PsdStrokeDecl[];
129
+ bevel?: PsdBevelDecl;
88
130
  }
89
131
  export interface ParsePsdEffectsOptions {
90
132
  text?: boolean;