Skip to content

Feat/ prioritize backgroundColor prop over bg modifiers #2286

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

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

lidord-wix
Copy link
Contributor

Description

View - prioritize backgroundColor prop over bg modifiers
This change is required for WOAUILIB-2781:
Assume that the user renders <View bg-$backgroundPrimaryHeavy/> inside a theme context, we calculate the theme color (in the config) and pass it as a background prop from the config, but it's overridden by the bg-$backgroundPrimaryHeavy so it won't get the theme color but the blue primary.

Changelog

View - prioritize backgroundColor prop over bg modifiers

@ethanshar ethanshar merged commit 9f58b30 into master Oct 19, 2022
@lidord-wix lidord-wix deleted the feat/view_backgroundColor branch October 27, 2022 07:25
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.

2 participants