-
Notifications
You must be signed in to change notification settings - Fork 460
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
Inheritance by stylesheet rules #75
Comments
+1 |
👍 Additional thought:
|
+1 - Imho, at the moment, inheritance is the most important feature missing to NUI. |
+1. To me it's not clear how to specify inheritance in the .nss |
I got it to work, by specifying classes as independent in the .nss and then expliciting the inheritance in code. Example:
And in code:
It would be much better IMHO if the inheritance could be specified in the .nss directly, so that it could be given to designers as well, or in general anyway it would be less error-prone. |
+1 any update on this? |
+1 |
+1 |
Hi
Just wanted to ask if there is some possibility that a style StyleA:StyleB:StyleC which I define in nss file will be respected on an element with nuiClass = StyleC? Right now i'm setting inheritance by applying nuiClass = StyleA:StyleB:StyleC but it would be great if i could just set niuClass = StyleC and the .nss defined style would inherit form StyleA:StyleB automatically (like it is in css).
Cheers
The text was updated successfully, but these errors were encountered: