diff --git a/server/localeFont.js b/server/localeFont.js index dccd5aaa6..4c497a840 100644 --- a/server/localeFont.js +++ b/server/localeFont.js @@ -6,7 +6,7 @@ const __dirname = new URL('.', import.meta.url).pathname; const vars = {}; for (const [, name, value] of fs.readFileSync(`${__dirname}/../data/variables.scss`).toString('utf-8') - .matchAll(/^\$([^:]+): '([^']+)';$/gm)) { + .matchAll(/^\$([^:]+): '([^']+)'(?:, '[^']+')*;$/gm)) { vars[name] = value; }