Skip to content

Commit

Permalink
feat: output theme file (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilch committed Oct 11, 2021
1 parent 8c66425 commit 02508c1
Show file tree
Hide file tree
Showing 19 changed files with 22,544 additions and 188 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 '@aws-amplify/ui';

export type FigmaMetadata = {
/**
* The document URL for the figma document
Expand Down Expand Up @@ -483,3 +485,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 02508c1

Please sign in to comment.