CLI
One command line for pieces, theme, logo and video. It runs with npx, with nothing to install.
Command
npx @usefluid/cli <command>| Command | What it does |
|---|---|
list | Every piece, by family. |
add <pieces> | Copies pieces into src/components/fluid/, with the pieces they use. --dir changes the folder and --overwrite replaces files you already have. |
init | Writes the theme with the ten --fluid-* variables. --out sets the file. |
logo <file.svg> | Fits an SVG logo into the 120 x 120 path the pieces use, and writes it as a module. --out sets the file. |
record <url> | Records a page as an MP4, frame by frame. --format story, post, square or wide; --seconds and --fps. |