We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey Ronald,
While using @extend I ran into an issue when extending a class that has a font definition in it.
@extend
With the following base STSS setup:
.textField { color: $black; font: { family: $primaryFont; size: $secondaryFontSize; } left: "3%"; @media ios { width: "94%"; } @media android { width: "94%"; } } .textfieldWithLabel { @extend .textField; @media ios { width: "88%"; } @media android { width: "88%"; } }
The TSS output is as follows, take note of the font definition:
".textField": { color: "#000000", font: { fontFamily: "RobotoSlab-Bold", fontSize: "20dp" }, left: "3%" }, ".textfieldWithLabel": { color: "#000000", font: "-stss-ph1", left: "3%" }, ".textField[platform=ios]": { width: "94%" }, ".textField[platform=android]": { width: "94%" }, ".textfieldWithLabel[platform=ios]": { width: "88%" }, ".textfieldWithLabel[platform=android]": { width: "88%" }
I really don't what is going on there....
The text was updated successfully, but these errors were encountered:
ea209c7
RonaldTreur
No branches or pull requests
Hey Ronald,
While using
@extend
I ran into an issue when extending a class that has a font definition in it.With the following base STSS setup:
The TSS output is as follows, take note of the font definition:
I really don't what is going on there....
The text was updated successfully, but these errors were encountered: