Skip to content

Commit c0fc575

Browse files
committed
Fix dark mode svg artwork not loaded
1 parent 6cdec7d commit c0fc575

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

patches/@gouvfr+dsfr+1.12.1.patch

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
diff --git a/node_modules/@gouvfr/dsfr/dist/.DS_Store b/node_modules/@gouvfr/dsfr/dist/.DS_Store
2+
new file mode 100644
3+
index 0000000..9200916
4+
Binary files /dev/null and b/node_modules/@gouvfr/dsfr/dist/.DS_Store differ
5+
diff --git a/node_modules/@gouvfr/dsfr/dist/artwork/dark.svg b/node_modules/@gouvfr/dsfr/dist/artwork/dark.svg
6+
index e4d335c..e4f4aac 100644
7+
--- a/node_modules/@gouvfr/dsfr/dist/artwork/dark.svg
8+
+++ b/node_modules/@gouvfr/dsfr/dist/artwork/dark.svg
9+
@@ -12,3 +12,5 @@
10+
<use class="fr-artwork-minor" href="#artwork-minor"/>
11+
<use class="fr-artwork-major" href="#artwork-major"/>
12+
</svg>
13+
+<!-- Slightly increasing size so it reaches the threshold that will prevent it from being inlined by Vite. -->
14+
+
115
diff --git a/node_modules/@gouvfr/dsfr/dist/dsfr.module.js b/node_modules/@gouvfr/dsfr/dist/dsfr.module.js
216
index 588abee..b84d5b4 100644
317
--- a/node_modules/@gouvfr/dsfr/dist/dsfr.module.js

0 commit comments

Comments
 (0)