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

Style inheritance #19

Open
cdemetriadis opened this issue Apr 30, 2020 · 0 comments
Open

Style inheritance #19

cdemetriadis opened this issue Apr 30, 2020 · 0 comments
Assignees

Comments

@cdemetriadis
Copy link
Contributor

The whole premise of the system is that it works like CSS, and style inheritance is a big part of that.

If I use card/background, I expect this style to be matched and applied to everything inside the card as well.

Ideally, we should have a direct inheritance option, where I could specify a style to be used only for that specific atom. This could have the same > character as in CSS.

eg. >card/background would apply the background layer style only to the background directly in Card. it would no inherit it to card/tag/background.

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

No branches or pull requests

3 participants