summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com> 2025-04-02 08:42:02 -0300
committerGravatar GitHub <noreply@github.com> 2025-04-02 08:42:02 -0300
commit6254d354146c8a1cdfb49e2c7ec77d6f6fdc5145 (patch)
tree0d9fb2edbe8814234d4c6bc6925c52bf15c36545
parentd7774207b11d042711ec310f2ad46d15246482f0 (diff)
downloadastro-6254d354146c8a1cdfb49e2c7ec77d6f6fdc5145.tar.gz
astro-6254d354146c8a1cdfb49e2c7ec77d6f6fdc5145.tar.zst
astro-6254d354146c8a1cdfb49e2c7ec77d6f6fdc5145.zip
formatting on SVG changeset (#13542)
Co-authored-by: ascorbic <213306+ascorbic@users.noreply.github.com>
-rw-r--r--.changeset/little-steaks-rule.md30
1 files changed, 15 insertions, 15 deletions
diff --git a/.changeset/little-steaks-rule.md b/.changeset/little-steaks-rule.md
index a59c4f5aa..6176d6b87 100644
--- a/.changeset/little-steaks-rule.md
+++ b/.changeset/little-steaks-rule.md
@@ -12,23 +12,23 @@ Removes some previously available prop, attribute, and configuration options fro
+ <Logo aria-label="My Company Logo" />
```
- Sprite mode has been temporarily removed while we consider a new implementation that addresses how this feature was being used in practice. This means that there are no longer multiple `mode` options, and all SVGs will be inline. All instances of `mode` must be removed from your project as you can no longer control a mode:
-```diff
-- <Logo mode="inline" />
-+ <Logo />
-```
+ ```diff
+ - <Logo mode="inline" />
+ + <Logo />
+ ```
-```diff
-import { defineConfig } from 'astro'
+ ```diff
+ import { defineConfig } from 'astro'
-export default defineConfig({
- experimental: {
-- svg: {
-- mode: 'sprite'
-- },
-+ svg: true
- }
-});
-```
+ export default defineConfig({
+ experimental: {
+ - svg: {
+ - mode: 'sprite'
+ - },
+ + svg: true
+ }
+ });
+ ```
- The default `role` is no longer applied due to developer feedback. Please add the appropriate `role` on each component individually as needed:
```diff
- <Logo />