| 16 | import copy from "copy-to-clipboard"; |
| 17 | |
| 18 | interface AppState { |
| 19 | code: string; |
| 20 | selectedFramework: Framework; |
| 21 | isLoading: boolean; |
| 22 | htmlPreview: HTMLPreview; |
| 23 | settings: PluginSettings | null; |
| 24 | colors: SolidColorConversion[]; |
| 25 | gradients: LinearGradientConversion[]; |
| 26 | warnings: Warning[]; |
| 27 | } |
| 28 | |
| 29 | const emptyPreview = { size: { width: 0, height: 0 }, content: "" }; |
| 30 | const isDarkFigmaBackground = (background: string) => { |
nothing calls this directly
no outgoing calls
no test coverage detected