const fs = require('fs'); const path = require('path'); const iconsDir = __dirname; fs.readdirSync(iconsDir).forEach(file => { if (file.endsWith('.svg')) { const filePath = path.join(iconsDir, file); let content = fs.readFileSync(filePath, 'utf8'); content = content.replace(/stroke="#[0-9a-fA-F]{3,6}"/g, 'stroke="currentColor"'); fs.writeFileSync(filePath, content, 'utf8'); } });