We have CSS that defines a font face, which we we minify using Lightning CSS:
@font-face {
font-family: "HW Impey Bold";
src: url("https://framerusercontent.com/assets/eHJXMAuuWuyUyN6atg5CoJTAWRo.woff2");
font-display: block;
}
Note the double space after "Impey".
Then in another place, we have CSS that uses the font, which we don't minify:
h1 {
font-family: "HW Impey Bold", sans-serif;
}
The font-face rule gets minfied to font-family:HW Impey Bold, which seems to cause a mis-match and the font doesn't work:
https://codesandbox.io/p/sandbox/gg67sx
https://gg67sx.csb.app/
Would it make sense to keep the quotes if the font-family includes multiple consecutive (white-)spaces?