picocss/scripts/copy-docs-css-files.js
Yohn ddf41a191a Closes Legend element not styled in role="group" Yohn/PicoCSS#23
Added compatability with `.dropdown` to the `role=group`
Put a dropdown submenu in the group examples
Improved borders on `[role=group] > label, [role=group] > legend` to ensure the same size as other group elements
2024-12-31 00:16:26 -05:00

15 lines
487 B
JavaScript

const fs = require('fs');
const path = require('path');
// Define the source and destination paths
const filesToCopy = [
{ src: 'css/pico.css', dest: 'docs/pico.css' },
{ src: 'css/pico.min.css', dest: 'docs/pico.min.css' },
{ src: 'css/pico.colors.min.css', dest: 'docs/pico.colors.min.css' }
];
// Copy each file to the destination
filesToCopy.forEach(file => {
fs.copyFileSync(file.src, file.dest);
console.log(`[@Yohns/PicoCSS] ✨ Copied new file to ${file.dest}`);
});