Skip to content
Discussion options

You must be logged in to vote

After some tweaking this is what I ended up doing which seems to work as expected, but I'm wondering if there is a better way?

What you ended up with is the suggested way to do what you want to do. It is a bit verbose but it is the only way to ensure the styles are fully consistent and account for random edge-cases.

We are continually investigating ways to provide cleaner syntax, but our highest priority at first is to make the styles work as expected with our current syntax. Future syntax will follow after we feel confident we're not leaving any edge-cases where the styles are not completely predictable.

In the meantime, please use the pattern you have arrived at.


In this specific cas…

Replies: 1 comment 1 reply

Comment options

nmn
Jan 2, 2025
Collaborator

You must be logged in to vote
1 reply
@taphill
Comment options

Answer selected by nmn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants