diff --git a/exporters/variables-scss/generated/exporter.js b/exporters/variables-scss/generated/exporter.js index 896e51caf3..29b2a3a585 100644 --- a/exporters/variables-scss/generated/exporter.js +++ b/exporters/variables-scss/generated/exporter.js @@ -5,7 +5,7 @@ ${e}) !default; `)}),S},Je=p=>Ee.generateDisclaimer?`/* This file was generated by Supernova, don't change manually */ -${p}`:p,Qe=(p,u,T,n,m,S,g=!1)=>{let r="",e="";const o=Array.isArray(n)?n:[n],t=Array.isArray(m)?m:[m];o.forEach(d=>{t.forEach(l=>{const c=p.filter(s=>{var y,f;return s.tokenType===d&&((f=(y=s.origin)==null?void 0:y.name)==null?void 0:f.includes(l))});r+=ze(c,u,T,g),r+=` +${p}`:p,Qe=(p,u,T,n,m,S,g)=>{let r="",e="";const o=Array.isArray(n)?n:[n],t=Array.isArray(m)?m:[m];o.forEach(d=>{t.forEach(l=>{const c=p.filter(s=>{var y,f;return s.tokenType===d&&((f=(y=s.origin)==null?void 0:y.name)==null?void 0:f.includes(l))});r+=ze(c,u,T,g),r+=` `;const a=Ze(c,u,T,g);a!==null&&(e+=a)})});let i=S?`${r}${e}`:r;return i=i.replace(/\n{3,}/g,` diff --git a/exporters/variables-scss/src/content/generators/contentGenerator.ts b/exporters/variables-scss/src/content/generators/contentGenerator.ts index 339f1c62c8..9508cb040c 100644 --- a/exporters/variables-scss/src/content/generators/contentGenerator.ts +++ b/exporters/variables-scss/src/content/generators/contentGenerator.ts @@ -18,7 +18,7 @@ export const generateFileContent = ( tokenTypes: TokenType | TokenType[], groupNames: string | string[], withCssObject: boolean, - hasParentPrefix: boolean = false, + hasParentPrefix: boolean, ) => { let cssTokens = ''; let cssObject = '';