nextra
nextra copied to clipboard
Adding support for cascade layers
Is it possible to provide an option in the build step (could be a theme config) in nextra, so that it wraps all nextra-related styles in a cascade layer, e.g. @layer nextra { ... }?
The reason I'm asking is because we are working with component libraries in our organization and some are considering using cascade layers in their component styles. However, the styles from nextra (unlayered ones) will always override the layered styles, making it difficult to consume these component libraries with nextra.
pr welcome (considering using v3 as base branch)