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

Inherit Styles #114

Open
sanchez opened this issue May 30, 2021 · 0 comments
Open

Inherit Styles #114

sanchez opened this issue May 30, 2021 · 0 comments

Comments

@sanchez
Copy link

sanchez commented May 30, 2021

Heyo, is there a way for a styles to be inherited from other styles? I am currently looking at doing a button type control which has a base styling, and then either a primary or secondary styling based on some parameters supplied. My current method of thinking is to have separate styles for base, primary, and secondary, then have a get property that just toggles between the classnames based on the parameters.

Thanks,
Daniel

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

1 participant