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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user