preview-icons.mjs 311 B

12345678910
  1. import glob from 'glob'
  2. import { generateIconsPreview } from './helpers.mjs'
  3. glob('icons/*.svg', {}, async function(er, files) {
  4. await generateIconsPreview(files, '.github/icons.svg')
  5. await generateIconsPreview(files, '.github/icons-dark.svg', {
  6. color: '#ffffff',
  7. background: 'transparent'
  8. })
  9. })