Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Update themed components to respect theme from SpaceKitProvider #352

Merged
merged 10 commits into from
Jun 2, 2021

Conversation

daniman
Copy link
Member

@daniman daniman commented Jun 2, 2021

This updates all our components which already have theme awareness built in to look for their theme from SpaceKitProvider in addition to accepting a theme prop. This should be a no-op to all current users (we continue to default to the "light" theme), but should allow users interested in dark components to use the SpaceKitProvider to theme all components at once.

Please hide whitespace changes to review.

📦 Published PR as canary version: 10.0.0-canary.352.9481.0

✨ Test out this PR locally via:

npm install @apollo/space-kit@10.0.0-canary.352.9481.0
# or 
yarn add @apollo/space-kit@10.0.0-canary.352.9481.0

@daniman daniman added the minor Increment the minor version when merged label Jun 2, 2021
@daniman daniman requested review from cheapsteak, Jephuff and jgzuke June 2, 2021 04:43
Copy link
Member

@cheapsteak cheapsteak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌔

@Jephuff
Copy link
Contributor

Jephuff commented Jun 2, 2021

I might consider making this a major, it cooould cause some weird behaviour if someone was using the theme provider (no worries if I missed the merge :P )
It would also give us a chance to see if it creates the major version branch when auto deploying :D

@daniman daniman added major Increment the major version when merged and removed minor Increment the minor version when merged labels Jun 2, 2021
daniman and others added 3 commits June 2, 2021 16:03
Co-authored-by: Jeffrey Burt <hi@jeffreyburt.com>
Co-authored-by: Jeffrey Burt <hi@jeffreyburt.com>
@daniman daniman merged commit 608baa7 into main Jun 2, 2021
@daniman daniman deleted the dman/themes branch June 2, 2021 23:19
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v9.0.0 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Jun 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
major Increment the major version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants