diff --git a/logos/faunosteo-horizontal-com.svg b/logos/faunosteo-horizontal-com.svg new file mode 100755 index 00000000..a5801a9c --- /dev/null +++ b/logos/faunosteo-horizontal-com.svg @@ -0,0 +1,4 @@ + + + .com + \ No newline at end of file diff --git a/logos/faunosteo-square-com.svg b/logos/faunosteo-square-com.svg new file mode 100755 index 00000000..1e78d9ba --- /dev/null +++ b/logos/faunosteo-square-com.svg @@ -0,0 +1,4 @@ + + + .com + \ No newline at end of file diff --git a/logos/generate-sizes.sh b/logos/generate-sizes.sh new file mode 100644 index 00000000..5e6493fd --- /dev/null +++ b/logos/generate-sizes.sh @@ -0,0 +1,35 @@ +#!/bin/bash +# Generate sized SVG variants from base files. +# Each base has only a viewBox — this script adds width/height. + +cd "$(dirname "$0")" + +# Horizontal: viewBox="65 398 1049 243" → aspect 1049:243 +for size in 512 1024 2048; do + h=$(echo "$size * 243 / 1049" | bc) + sed "s|viewBox=|width=\"$size\" height=\"$h\" viewBox=|" \ + horizontal.svg > "horizontal-${size}.svg" +done + +# Stacked: viewBox="0 0 880 420" → aspect 880:420 +for size in 512 1024 2048; do + h=$(echo "$size * 420 / 880" | bc) + sed "s|viewBox=|width=\"$size\" height=\"$h\" viewBox=|" \ + stacked.svg > "stacked-${size}.svg" +done + +# Two-line: viewBox="65 385 603 253" → aspect 603:253 +for size in 512 1024 2048; do + h=$(echo "$size * 253 / 603" | bc) + sed "s|viewBox=|width=\"$size\" height=\"$h\" viewBox=|" \ + twoline.svg > "twoline-${size}.svg" +done + +# Icon: viewBox="60 400 220 224" → square (use larger dim) +for size in 512 1024 2048; do + sed "s|viewBox=|width=\"$size\" height=\"$size\" viewBox=|" \ + icon.svg > "icon-${size}.svg" +done + +echo "Generated 12 sized SVGs." +ls -la *-512.svg *-1024.svg *-2048.svg