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

Add object styles inheritance. #41

Open
2 tasks done
agustito37 opened this issue Feb 8, 2021 · 0 comments
Open
2 tasks done

Add object styles inheritance. #41

agustito37 opened this issue Feb 8, 2021 · 0 comments

Comments

@agustito37
Copy link
Contributor

agustito37 commented Feb 8, 2021

Feature Requests

Checklist

  • My feature request is specific to @rootstrap/react-native-use-styles.

  • I've searched open issues to make sure I'm not opening a duplicate feature request

Description

Add object styles inheritance. Something like this:

{
  style1: {
    fontSize: 12,
  },
  style2: {
    color: 'red',
  },
  style3: {
    extends: '.style1 .style2'
    textAlign: 'center',
  }
}
@agustito37 agustito37 added difficulty: medium feature help wanted Extra attention is needed and removed help wanted Extra attention is needed labels Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant