Skip to content

Commit 4d6916d

Browse files
committed
fix(theming): update font URL pattern for sap-theming-base-content 11.36.4
In v11.36.4 the @font-face src URLs in css_variables.css changed from ../baseTheme/fonts to ../../../Base/baseLib/baseTheme/fonts, breaking the CDN URL replacement in the font-face processor.
1 parent ce7a848 commit 4d6916d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/base/lib/css-processors/css-processor-font-face.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const generate = async () => {
1212
const declarationExpr = /@font-face\s*{[^}]*}/g;
1313

1414
// change font-face src
15-
text = text.replaceAll("../baseTheme/fonts", CDN_URL);
15+
text = text.replaceAll("../../../Base/baseLib/baseTheme/fonts", CDN_URL);
1616

1717
// extract declarations for separate usage
1818
let fontFaceDeclarations = [...text.matchAll(declarationExpr)].map(x => x[0]);

0 commit comments

Comments
 (0)