chore(logos): add -com SVG variants and size generation script
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
09be33fd84
commit
8e94196e5a
3 files changed
+43
No files matched your search
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="5 15 1200 410" width="1200" height="410"><defs><linearGradient id="gradColonne" gradientUnits="userSpaceOnUse" x1="52.13201904296875" y1="636.4270629882812" x2="694.60888671875" y2="317.4869689941406"><stop offset="0" stop-color="#4a5938"/><stop offset="0.35" stop-color="#7a8c5a"/><stop offset="0.6" stop-color="#869863"/><stop offset="0.8" stop-color="#b9824f"/><stop offset="1" stop-color="#a8754a"/></linearGradient><linearGradient id="gradTexte" gradientUnits="userSpaceOnUse" x1="233.47947692871094" y1="0" x2="975.4950561523438" y2="0"><stop offset="0" stop-color="#4a5938"/><stop offset="0.28" stop-color="#7a8c5a"/><stop offset="0.42" stop-color="#869863"/><stop offset="0.55" stop-color="#b9824f"/><stop offset="1" stop-color="#a8754a"/></linearGradient></defs><g transform="translate(-0.1,-252.9) scale(0.9921)"><path d="M297.442 315.613C301.319 315.207 305.339 315.394 308.914 317.091C313.732 319.377 315.545 323.302 317.123 328.069C315.62 334.394 314.384 339.894 314.654 346.457C323.982 346.392 335.072 348.977 344.119 347.438C355.73 345.332 354.522 332.032 359.819 324.314C365.278 316.361 377.264 320.417 383.373 325.55C396.627 336.685 378.427 342.749 378.618 354.515C378.806 355.973 379.525 356.66 380.68 357.338C392.807 364.459 400.207 354.115 404.894 344.199C406.496 340.811 409.24 336.793 413.265 336.078C417.252 335.37 421.929 337.729 425.253 339.753C434.576 346.175 427.523 357.359 424.361 364.852C420.363 374.328 429.982 379.976 438.315 377.623C446.807 375.224 447.417 366.363 451.079 359.8C454.661 353.407 461.252 353.868 466.788 357.472C475.26 363.526 464.156 374.72 465.815 382.498C467.228 389.122 476.253 392.923 482.436 391.769C496.027 389.491 485.929 367.562 499.405 365.988C512.536 364.455 505.839 379.792 506.498 386.78C507.362 396.934 516.957 398.931 525.429 397.754C531.431 396.903 534.988 393.507 536.632 387.774C538.021 382.93 537.176 371.097 544.323 370.992C560.191 370.757 551.609 387.094 559.571 394.363C561.84 396.435 566.018 397.042 568.98 396.782C581.306 395.203 573.68 378.077 580.296 370.892C582.736 368.242 585.589 369.265 588.369 370.413C597.225 374.095 592.188 386.496 598.861 392.284C602.096 395.372 610.937 395.641 613.591 391.796C620.017 382.485 604.314 363.015 624.621 363.763C629.19 363.931 630.585 365.267 633.734 368.468C634.177 372.6 634.909 382.015 640.881 381.337C659.066 379.27 640.163 360.213 652.598 351.066C664.091 342.612 665.341 356.087 675.512 353.844C679.343 352.999 688.757 341.289 693.761 350.295C697.101 357.943 686.927 365.024 684.021 373.507L686.635 378.615C695.559 383.417 701.695 388.771 690.021 398.52C683.064 402.117 674.193 394.124 667.643 392.208C660.734 390.187 647.984 394.32 646.273 400.962C647.04 406.687 656.498 407.37 659.606 411.308C666.956 420.623 658.959 432.323 647.485 430.952C636.566 429.646 636.945 422.73 630.888 416.094C625.172 414.769 612.512 415.174 609.118 421.673C606.616 426.463 614.017 433.305 615.851 439.268C614.365 444.229 613.411 446.9 608.898 450.141C605.688 452.446 600.518 453.712 596.622 452.843C585.434 450.347 587.168 439.946 582.17 432.329C579.188 428.179 574.867 424.827 569.798 424.15C557.848 422.553 552.718 427.777 556.884 439.359C558.109 442.765 559.794 447.78 559.342 451.47C558.413 459.51 548.885 461.055 542.354 459.942C535.673 458.809 532.798 452.686 531.326 446.691C529.241 438.203 525.668 427.325 515.753 425.566C512.357 424.964 506.142 425.673 503.186 427.609C499.631 430.402 501.564 435.035 502.841 438.528C505.012 444.47 506.954 451.458 500.354 455.43C495.595 458.295 490.947 459.292 485.47 457.778C474.166 454.652 476.788 442.346 476.769 433.491C476.74 426.28 473.179 418.923 465.496 417.606C461.731 416.961 458.51 416.671 455.16 418.822C449.755 422.56 453.22 427.101 452.193 433.061C449.849 446.665 429.27 451.583 421.474 440.564C418.438 436.273 423.806 427.802 425.639 422.89C428.609 414.933 424.248 407.245 416.137 404.557C408.785 402.297 407.433 417.117 405.447 421.4C402.833 427.037 398.388 432.209 392.061 432.628C370.736 434.039 387.639 410.632 381.371 400.03C379.27 396.479 374.207 391.121 370.179 389.982C364.69 390.729 366.042 401.206 365.627 405.885C362.825 416.603 345.887 422.062 338.811 412.95C334.714 407.673 342.858 399.884 343.657 393.744C345.379 380.506 333.047 377.916 322.901 375.85C320.829 375.429 319.849 375.846 318.339 377.045C315.962 382.781 323.556 390.447 323.557 396.301C323.56 407.279 313.039 414.755 302.622 413.617C299.596 413.594 295.983 409.538 295.448 406.724C293.181 394.798 290.959 380.733 275.214 381.512C268.684 381.604 253.081 384.158 262.843 393.521C273.2 403.455 276.013 411.664 265.272 423.077C262.732 425.776 257.848 427.792 254.041 427.911C244.907 428.197 242.709 417.851 237.362 412.662C229.095 404.23 212.553 415.082 213.749 425.596C214.686 433.835 227.058 435.43 229.529 443.106C231.46 449.105 229.215 455.526 225.323 460.206C223.213 462.744 220.382 464.053 217.164 463.744C206.578 463.207 196.399 441.482 186.214 454.473C182.67 459.93 180.Line truncated
|
||||||
|
<text x="1023" y="370" font-family="Arial, Helvetica, sans-serif" font-size="52" font-weight="bold" fill="#4a5938" letter-spacing="-1">.com</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 29 KiB |
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1024 1024" width="1024" height="1024"><defs><linearGradient id="gradColonne" gradientUnits="userSpaceOnUse" x1="52.13201904296875" y1="636.4270629882812" x2="694.60888671875" y2="317.4869689941406"><stop offset="0" stop-color="#4a5938"/><stop offset="0.35" stop-color="#7a8c5a"/><stop offset="0.6" stop-color="#869863"/><stop offset="0.8" stop-color="#b9824f"/><stop offset="1" stop-color="#a8754a"/></linearGradient><linearGradient id="gradTexte" gradientUnits="userSpaceOnUse" x1="233.47947692871094" y1="0" x2="975.4950561523438" y2="0"><stop offset="0" stop-color="#4a5938"/><stop offset="0.28" stop-color="#7a8c5a"/><stop offset="0.42" stop-color="#869863"/><stop offset="0.55" stop-color="#b9824f"/><stop offset="1" stop-color="#a8754a"/></linearGradient></defs><g transform="translate(89.9,247.1)"><g><g transform="translate(-65.9,-412.1) scale(1.3066)"><path d="M297.442 315.613C301.319 315.207 305.339 315.394 308.914 317.091C313.732 319.377 315.545 323.302 317.123 328.069C315.62 334.394 314.384 339.894 314.654 346.457C323.982 346.392 335.072 348.977 344.119 347.438C355.73 345.332 354.522 332.032 359.819 324.314C365.278 316.361 377.264 320.417 383.373 325.55C396.627 336.685 378.427 342.749 378.618 354.515C378.806 355.973 379.525 356.66 380.68 357.338C392.807 364.459 400.207 354.115 404.894 344.199C406.496 340.811 409.24 336.793 413.265 336.078C417.252 335.37 421.929 337.729 425.253 339.753C434.576 346.175 427.523 357.359 424.361 364.852C420.363 374.328 429.982 379.976 438.315 377.623C446.807 375.224 447.417 366.363 451.079 359.8C454.661 353.407 461.252 353.868 466.788 357.472C475.26 363.526 464.156 374.72 465.815 382.498C467.228 389.122 476.253 392.923 482.436 391.769C496.027 389.491 485.929 367.562 499.405 365.988C512.536 364.455 505.839 379.792 506.498 386.78C507.362 396.934 516.957 398.931 525.429 397.754C531.431 396.903 534.988 393.507 536.632 387.774C538.021 382.93 537.176 371.097 544.323 370.992C560.191 370.757 551.609 387.094 559.571 394.363C561.84 396.435 566.018 397.042 568.98 396.782C581.306 395.203 573.68 378.077 580.296 370.892C582.736 368.242 585.589 369.265 588.369 370.413C597.225 374.095 592.188 386.496 598.861 392.284C602.096 395.372 610.937 395.641 613.591 391.796C620.017 382.485 604.314 363.015 624.621 363.763C629.19 363.931 630.585 365.267 633.734 368.468C634.177 372.6 634.909 382.015 640.881 381.337C659.066 379.27 640.163 360.213 652.598 351.066C664.091 342.612 665.341 356.087 675.512 353.844C679.343 352.999 688.757 341.289 693.761 350.295C697.101 357.943 686.927 365.024 684.021 373.507L686.635 378.615C695.559 383.417 701.695 388.771 690.021 398.52C683.064 402.117 674.193 394.124 667.643 392.208C660.734 390.187 647.984 394.32 646.273 400.962C647.04 406.687 656.498 407.37 659.606 411.308C666.956 420.623 658.959 432.323 647.485 430.952C636.566 429.646 636.945 422.73 630.888 416.094C625.172 414.769 612.512 415.174 609.118 421.673C606.616 426.463 614.017 433.305 615.851 439.268C614.365 444.229 613.411 446.9 608.898 450.141C605.688 452.446 600.518 453.712 596.622 452.843C585.434 450.347 587.168 439.946 582.17 432.329C579.188 428.179 574.867 424.827 569.798 424.15C557.848 422.553 552.718 427.777 556.884 439.359C558.109 442.765 559.794 447.78 559.342 451.47C558.413 459.51 548.885 461.055 542.354 459.942C535.673 458.809 532.798 452.686 531.326 446.691C529.241 438.203 525.668 427.325 515.753 425.566C512.357 424.964 506.142 425.673 503.186 427.609C499.631 430.402 501.564 435.035 502.841 438.528C505.012 444.47 506.954 451.458 500.354 455.43C495.595 458.295 490.947 459.292 485.47 457.778C474.166 454.652 476.788 442.346 476.769 433.491C476.74 426.28 473.179 418.923 465.496 417.606C461.731 416.961 458.51 416.671 455.16 418.822C449.755 422.56 453.22 427.101 452.193 433.061C449.849 446.665 429.27 451.583 421.474 440.564C418.438 436.273 423.806 427.802 425.639 422.89C428.609 414.933 424.248 407.245 416.137 404.557C408.785 402.297 407.433 417.117 405.447 421.4C402.833 427.037 398.388 432.209 392.061 432.628C370.736 434.039 387.639 410.632 381.371 400.03C379.27 396.479 374.207 391.121 370.179 389.982C364.69 390.729 366.042 401.206 365.627 405.885C362.825 416.603 345.887 422.062 338.811 412.95C334.714 407.673 342.858 399.884 343.657 393.744C345.379 380.506 333.047 377.916 322.901 375.85C320.829 375.429 319.849 375.846 318.339 377.045C315.962 382.781 323.556 390.447 323.557 396.301C323.56 407.279 313.039 414.755 302.622 413.617C299.596 413.594 295.983 409.538 295.448 406.724C293.181 394.798 290.959 380.733 275.214 381.512C268.684 381.604 253.081 384.158 262.843 393.521C273.2 403.455 276.013 411.664 265.272 423.077C262.732 425.776 257.848 427.792 254.041 427.911C244.907 428.197 242.709 417.851 237.362 412.662C229.095 404.23 212.553 415.082 213.749 425.596C214.686 433.835 227.058 435.43 229.529 443.106C231.46 449.105 229.215 455.526 225.323 460.206C223.213 462.744 220.382 464.053 217.164 463.744C206.578 463.207 196.399 Line truncated
|
||||||
|
<text x="725" y="660" font-family="Arial, Helvetica, sans-serif" font-size="42" font-weight="bold" fill="#4a5938" letter-spacing="-1">.com</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 62 KiB |
@@ -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
|
||||||
Reference in new issue
Block a user