mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
1215e731b8
* feat: preserve authored CSS specificity * chore: update tests to use :where() * test: fix HTML and CSS test * test: fix imported markdown CSS test Co-authored-by: Nate Moore <nate@astro.build>
614 B
614 B
astro |
---|
patch |
BREAKING Implement RFC0012 to preserve authored specificity for Astro scoped styles.
If you use a mix of global styles and Astro scoped styles, please visually inspect your site after upgrading to confirm that styles are working as expected.
If you previously relied on Astro's scoped styles to increase the specificity of your selectors, please update your selectors to use an additional class. For example, updating div
to div.my-class
will match the previous behavior.