1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

cards fixes

This commit is contained in:
codecalm
2019-10-04 09:25:14 +02:00
parent 8d6484c67b
commit 5c1ea09971
11 changed files with 66 additions and 23 deletions

9
build/capture-components.sh Executable file
View File

@@ -0,0 +1,9 @@
for file in ../pages/_components/*.md
do
file="$(basename -- $file)"
file="${file%.md}"
url="http://localhost:3001/components/$file.html"
echo $url
capture-website $url --element="#component-wrapper" --scale-factor=2 > ../components/$file.png
done