Replies: 1 comment 1 reply
-
The trade-offs here are indeed difficult to strike a balance, for some people, using Perhaps something like the // css baseline
li:not(.geist-pure) { ... }
// pure component
const Pure = () => (<><Children className="geist-pure" /></>)
// user case
<MyHeader>
<Pure>
<ul><li></li></ul>
</Pure>
</MyHeader> This is just a simple idea, is there a better way to create an isolated scope? (without affecting the user's styles) (If you need this change very urgently, you can temporarily override it with your own CSS.) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given
ul > li
is frequently used for navigation rather than text content, having to override theul > li:before
was unexpected to a new comer. Perhaps some of these "prose" default styles could apply only inside<Text>
components?Beta Was this translation helpful? Give feedback.
All reactions