Skip to content
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: override Card surface colors with theme #2948

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

brunohkbx
Copy link
Collaborator

Summary

Resolve #2937

Test plan

<Card theme={{ colors: { surface: '#0000FF' } }}>
  <Card.Title title="Card Title" subtitle="Card Subtitle" />
  <Card.Cover source={{ uri: 'https://picsum.photos/700' }} />
  <Card.Actions>
    <Button>Cancel</Button>
    <Button>Ok</Button>
   </Card.Actions>
</Card>

after

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

Copy link
Member

@lukewalczak lukewalczak left a comment

Choose a reason for hiding this comment

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

🎉

@lukewalczak lukewalczak merged commit 5821ee5 into main Oct 22, 2021
@lukewalczak lukewalczak deleted the fix/override-card-surface-with-theme branch October 22, 2021 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to overide card theme using theme variable
2 participants