integration/styles: better style scopingwhen using embedded dsfr

- the CSS that included the DSFR excerpt we needed styled some base html
tags directly. It might collide with a service CSS already there. Now a
postcss plugin applies a CSS prefix to everything
- we output in the lib two DSFR file versions: one with prefixed
selectors, one raw.
This commit is contained in:
Emmanuel Pelletier
2024-05-07 17:17:18 +02:00
parent 3c2a6fd0cf
commit 2a12f312c2
13 changed files with 133 additions and 35 deletions

View File

@@ -50,6 +50,7 @@
"import-single-ts": "^1.0.3",
"patch-package": "^8.0.0",
"postcss": "^8.4.38",
"postcss-prefix-selector": "^1.16.1",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",