Skip to content
Discussion options

You must be logged in to vote

Okay, looks like the Chrome dev tools were misleading me here. Using the Firefox dev tools, I see --tw-leading is NOT defined:

And it also shows me that it's a custom @Property with inheritance set to false:

which looks like the default for all TW variables. So text-lg will not look up the ancestor tree to find --tw-leading on <html>, and go to the fallback.

I guess I'll have to just apply leading-none everywhere I need it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vincerubinetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant