react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Unable to overide card theme using theme variable

Open SatyamBansal opened this issue 5 years ago • 3 comments

Current behaviour

Unable to overide card theme using theme variable

theme variable is not overriding card default theme.

Expected behaviour

theme variable should card default theme.

Code sample

Example

Screenshots (if applicable)

What have you tried

I have tried overriding background color for card using theme variable keys ( colors.surface, colors.background) but none is working. On web if i set background in style prop it works but not in mobile.

Your Environment

software version
ios or android android/web
react-native 4.7.2
react-native-paper 4.7.2
node
npm or yarn
expo sdk 40

Example

https://snack.expo.dev/@ikaros/card

SatyamBansal avatar Oct 18 '21 05:10 SatyamBansal

Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.io link or link to a GitHub repo under your username).

Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.

github-actions[bot] avatar Oct 18 '21 05:10 github-actions[bot]

Couldn't find version numbers for the following packages in the issue:

  • react-native-vector-icons
  • npm
  • yarn
  • expo

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • react-native (found: 4.7.2, latest: 0.66.1)
  • react-native-paper (found: 4.7.2, latest: 4.9.2)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

github-actions[bot] avatar Oct 18 '21 05:10 github-actions[bot]