@@ -116,15 +116,12 @@ const processCSS = async (
116116
117117const processTypography = async (
118118 baseSrcPath ,
119- overridesSrcPath ,
120119 dstPath ,
121120 identifier ,
122121 from ,
123122 usedVariables = undefined
124123) => {
125- const baseData = fs . readFileSync ( baseSrcPath , 'utf8' ) ;
126- const overridesData = fs . readFileSync ( overridesSrcPath , 'utf8' ) ;
127- const data = baseData + overridesData ;
124+ const data = fs . readFileSync ( baseSrcPath , 'utf8' ) ;
128125 const result = await processCSSData ( data , identifier , from , usedVariables ) ;
129126 fs . writeFileSync ( dstPath , result , 'utf8' ) ;
130127
@@ -214,20 +211,12 @@ async function processSpectrumVars() {
214211 'typography' ,
215212 'dist'
216213 ) ;
217- const baseSrcPath = path . join ( typographyPath , 'index-base.css' ) ;
218- const overridesSrcPath = path . join ( typographyPath , 'index-theme.css' ) ;
214+ const baseSrcPath = path . join ( typographyPath , 'index.css' ) ;
219215 const dstPath = path . resolve (
220216 path . join ( __dirname , '..' , 'tools' , 'styles' , 'typography.css' )
221217 ) ;
222218 console . log ( `processing typography` ) ;
223- processes . push (
224- processTypography (
225- baseSrcPath ,
226- overridesSrcPath ,
227- dstPath ,
228- 'typography'
229- )
230- ) ;
219+ processes . push ( processTypography ( baseSrcPath , dstPath , 'typography' ) ) ;
231220 }
232221
233222 await Promise . all ( processes ) . then ( ( ) => {
0 commit comments