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

feat(ThemeProvider)!: restructure default component theme #3582

Merged
merged 7 commits into from
Jul 31, 2022

Conversation

arpitBhalla
Copy link
Member

@arpitBhalla arpitBhalla commented Jul 19, 2022

import { createTheme } from '@rneui/themed';

const myTheme = createTheme({
+  components: {
    Button:{
      titleStyle: {
        color: 'red'
      },
    },
+  },
});

@arpitBhalla arpitBhalla linked an issue Jul 19, 2022 that may be closed by this pull request
1 task
@arpitBhalla arpitBhalla marked this pull request as ready for review July 31, 2022 19:36
@codecov
Copy link

codecov bot commented Jul 31, 2022

Codecov Report

Merging #3582 (2ae3373) into next (182861e) will decrease coverage by 0.23%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             next    #3582      +/-   ##
==========================================
- Coverage   79.61%   79.38%   -0.24%     
==========================================
  Files          87       87              
  Lines        1805     1809       +4     
  Branches      799      801       +2     
==========================================
- Hits         1437     1436       -1     
- Misses        362      367       +5     
  Partials        6        6              
Impacted Files Coverage Δ
packages/themed/src/config/withTheme.tsx 86.48% <75.00%> (+0.37%) ⬆️
packages/themed/src/config/ThemeProvider.tsx 65.95% <100.00%> (-9.05%) ⬇️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

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

Successfully merging this pull request may close these issues.

Custom theme properties missing when using withTheme
1 participant