Skip to content

Commit

Permalink
feat: output theme file
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilch committed Sep 27, 2021
1 parent 0149ca2 commit 48340d5
Show file tree
Hide file tree
Showing 15 changed files with 4,078 additions and 76 deletions.
8 changes: 8 additions & 0 deletions packages/amplify-ui-codegen-schema/lib/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import theme from './theme';

export type FigmaMetadata = {
/**
* The document URL for the figma document
Expand Down Expand Up @@ -422,3 +424,9 @@ export type StudioComponentStorageBindingProperty = {
bucket: string;
key?: string;
};

type DeepPartial<T> = {
[K in keyof T]?: DeepPartial<T[K]>;
};

export type StudioTheme = DeepPartial<typeof theme>;
Loading

0 comments on commit 48340d5

Please sign in to comment.