-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update theme generation for new schema #142
Conversation
55bfc8b
to
223a9dd
Compare
Dependent on #152 |
af73f64
to
f0fb16b
Compare
dcb681a
to
f8a3019
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall lgtm, one non-blocking nitpick. Moving the hook out simplifies the generated code significantly.
}; | ||
|
||
export type StudioThemeValues = { | ||
[String: string]: StudioThemeValue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If possible could you give the key a more descriptive name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'm not sure why I put String
here...
Limitations with smithy required schema change.
Limitations with smithy required schema change. Smithy cannot have type unions.