MCPcopy Index your code
hub / github.com/bernaferrari/FigmaToCode / AppState

Interface AppState

apps/plugin/ui-src/App.tsx:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16import copy from "copy-to-clipboard";
17
18interface 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
29const emptyPreview = { size: { width: 0, height: 0 }, content: "" };
30const isDarkFigmaBackground = (background: string) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected