summaryrefslogtreecommitdiff
path: root/.changeset/neat-suns-search.md
diff options
context:
space:
mode:
Diffstat (limited to '.changeset/neat-suns-search.md')
-rw-r--r--.changeset/neat-suns-search.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/.changeset/neat-suns-search.md b/.changeset/neat-suns-search.md
new file mode 100644
index 000000000..da743c9c7
--- /dev/null
+++ b/.changeset/neat-suns-search.md
@@ -0,0 +1,17 @@
+---
+'astro': major
+---
+
+Implements a new scope style strategy called `"attribute"`. When enabled, styles are applied using `data-*` attributes.
+
+The **default** value of `scopedStyleStrategy` is `"attribute"`.
+
+If you want to use the previous behaviour, you have to use the `"where"` option:
+
+```diff
+import { defineConfig } from 'astro/config';
+
+export default defineConfig({
++ scopedStyleStrategy: 'where',
+});
+```