We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef2a1fe commit 449dfadCopy full SHA for 449dfad
scripts/css-generator.ts
@@ -164,7 +164,10 @@ function shimThemableMixin(moduleId: string) {
164
return shimModule(themableMixin, {
165
...themableMixinModule,
166
css(strings: readonly string[], ...values: ReadonlyArray<CSSResult | number>) {
167
- return new CSSResult(moduleId, strings, values);
+ const result: readonly string[] = moduleId.endsWith('font-icons.js')
168
+ ? strings.map((string) => string.replace(/'\\\\([a-z0-9]+)'/g, "'\\$1'"))
169
+ : strings;
170
+ return new CSSResult(moduleId, result, values);
171
},
172
registerStyles() {},
173
unsafeCSS,
0 commit comments