Skip to content

Commit

Permalink
fix: remove temp css file
Browse files Browse the repository at this point in the history
  • Loading branch information
g-francesca committed Aug 19, 2024
1 parent 4624963 commit c686226
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
2 changes: 1 addition & 1 deletion packages/ui-stencil/extract-scss-vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async function extractExportVariables(css) {
// Write the JavaScript file
fs.writeFileSync('./src/config/colors.ts', `${comment}\n${jsContent}`, 'utf-8')
// remove the temporary file
// fs.unlinkSync(scssFilePath)
fs.unlinkSync(scssFilePath)
console.log('SCSS :export variables have been extracted to _colors.js')
} catch (error) {
console.error('Error extracting SCSS :export variables:', error)
Expand Down
36 changes: 0 additions & 36 deletions packages/ui-stencil/src/styles/_tempColors.scss

This file was deleted.

0 comments on commit c686226

Please sign in to comment.