Skip to content

Conversation

mshwery
Copy link
Contributor

@mshwery mshwery commented May 9, 2019

This PR adds better types for withTheme. I think we should start with defining (and expanding on) the interface first, and then we can make sure that defaultTheme meets the requirements / mirrors it.

This will be a good exercise to figure out where the theme is pulling values directly from the defaultTheme object instead of from the theme provider.

Overall I think theming is a bit complex (hierarchical nested config, sometimes from the context sometimes not) and would love to simplify our approach, but we can save that for another time.

Related: #300

@mshwery mshwery merged commit 40d45cf into typescript May 10, 2019
@mshwery mshwery deleted the ts/withTheme branch May 10, 2019 14:41
@mshwery mshwery mentioned this pull request Jul 15, 2019
@mshwery
Copy link
Contributor Author

mshwery commented Nov 11, 2019

@romarioraffington PRs are very welcome!! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant