Move SVGs to .github & refer by raw URLs

This commit is contained in:
Hynek Schlawack 2022-11-16 15:53:26 +01:00
parent 59ff4da98c
commit 71bfef0abc
No known key found for this signature in database
GPG Key ID: AE2536227F69F181
7 changed files with 7 additions and 72 deletions

1
.github/sponsors/FilePreviews.svg vendored Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.1 KiB

1
.github/sponsors/Tidelift.svg vendored Normal file
View File

@ -0,0 +1 @@
<svg viewBox="0 0 180 60" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path fill="#fff" d="M0 0h180v60H0z"/><g fill-rule="nonzero"><path d="M39.99 39.07V20.93c0-1.838 0-1.838 1.937-1.838s1.937 0 1.937 1.837v18.142c0 1.837 0 1.837-1.937 1.837s-1.937 0-1.937-1.837zm9.422-1.04V21.97c0-2.883 0-2.883 2.883-2.883h4.699c6.294 0 10.168 3.142 10.58 8.259a25.26 25.26 0 010 4.483c-.416 5.084-4.29 9.08-10.58 9.08h-4.699c-2.883 0-2.883 0-2.883-2.88zm7.498-.797c4.308 0 6.524-2.433 6.774-5.779a20.04 20.04 0 000-3.72c-.284-3.38-2.466-4.963-6.774-4.963h-3.62v14.462h3.62zm15.855.797V21.97c0-2.883 0-2.883 2.882-2.883h10.914c1.904 0 1.904 0 1.904 1.788 0 1.787 0 1.82-1.904 1.82h-9.914v5.617h8.96c1.82 0 1.82 0 1.82 1.705 0 1.704 0 1.72-1.82 1.72h-8.96V37.3h9.998c1.903 0 1.903 0 1.903 1.77 0 1.838 0 1.838-1.903 1.838H75.647c-2.882 0-2.882 0-2.882-2.879zm21.261 0V20.945c0-1.871 0-1.871 1.92-1.871s1.937 0 1.937 1.837V37.3h9.64c1.953 0 1.953 0 1.953 1.82 0 1.822 0 1.788-1.953 1.788H96.909c-2.883 0-2.883 0-2.883-2.879zm20.944 1.04V20.93c0-1.838 0-1.838 1.938-1.838 1.937 0 1.937 0 1.937 1.837v18.142c0 1.837 0 1.837-1.937 1.837s-1.937 0-1.937-1.837zm9.378 0V21.988c0-2.883 0-2.883 2.882-2.883h10.914c1.87 0 1.887 0 1.887 1.821 0 1.82 0 1.787-1.887 1.787h-9.918v5.834h9.193c1.887 0 1.887 0 1.887 1.754s0 1.788-1.887 1.788h-9.193v6.983c0 1.837 0 1.837-1.937 1.837s-1.941 0-1.941-1.837zM32.533 19.092H17.346c-1.987 0-1.987 0-1.987 1.82 0 1.821 0 1.788 1.987 1.788h5.665v6.437l3.857-3.025V22.7h5.665c1.954 0 1.954 0 1.954-1.788 0-1.787 0-1.82-1.954-1.82z" fill="#4b5168"/><path d="M23.01 32.87v6.15c0 1.838 0 1.838 1.938 1.838 1.937 0 1.92 0 1.92-1.87v-9.142l-3.857 3.025z" fill="#f6914d"/><path d="M147.463 19.092h15.187c1.987 0 1.987 0 1.987 1.82 0 1.821 0 1.788-1.987 1.788h-5.665v6.437l-3.857-3.025V22.7h-5.665c-1.954 0-1.954 0-1.954-1.788 0-1.787.004-1.82 1.954-1.82z" fill="#4b5168"/><path d="M156.99 32.87v6.15c0 1.838 0 1.838-1.938 1.838-1.937 0-1.92 0-1.92-1.87v-9.142l3.857 3.025z" fill="#f6914d"/></g></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

1
.github/sponsors/Variomedia.svg vendored Normal file
View File

@ -0,0 +1 @@
<svg viewBox="0 0 180 60" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2"><path fill="#fff" d="M0 0h180v60H0z"/><g fill-rule="nonzero"><path d="M39.98 2.528c-.986 0-1.777.796-1.777 1.781 0 .324.087.627.238.888l18.6 38.156 6.966-17.195L53.047 3.61a1.783 1.783 0 00-1.566-1.08H39.979z" fill="#3386aa"/><path d="M74.781 2.53c-.77 0-1.424.482-1.674 1.166L57.039 43.354l6.33 13.01c.294.656.905 1.107 1.65 1.107.73 0 1.366-.38 1.716-1.177l20.67-51.241c.094-.23.166-.479.166-.745 0-.986-.797-1.772-1.781-1.779H74.78z" fill="#2ac2ba"/><path d="M89.969 55.009a1.795 1.795 0 001.656 2.463l11.005-.002c.742 0 1.379-.458 1.647-1.102l.003-.002 20.718-51.39a1.782 1.782 0 00-1.652-2.447h-11.011a1.77 1.77 0 00-1.665 1.148L89.969 55.009z" fill="#ec1e79"/><path d="M64.006 26.16l-1.763-3.629-5.204 20.823.63-1.554 6.337-15.64z" fill="#276680"/><path d="M89.873 56.02v-.002l-.009-.05v-.002a1.844 1.844 0 01-.022-.225v-.008c0-.018 0-.035-.002-.053v-.008c0-.236.047-.458.13-.664 1.946-4.833 7.794-19.328 7.794-19.328l.07-.175L87.52 3.88l.01.044c.002.015.006.03.009.044v.001l.008.044v.001l.006.044v.001l.006.045v.001l.005.045v.002l.002.045c.001.024.003.048.003.073v.065c0 .047-.004.094-.01.141 0 .016-.003.03-.005.046-.001.016-.004.03-.007.046l-.008.045v.002l-.01.043v.002l-.01.042v.003a.29.29 0 01-.011.04l-.001.006a.303.303 0 01-.011.039l-.002.007-.011.037-.003.009c-.004.01-.006.022-.01.034l-.005.013a.2.2 0 01-.011.03l-.006.016-.01.027-.008.022a.58.58 0 01-.025.061L79.586 24.43l10.322 31.74a2.272 2.272 0 01-.035-.15zm51.863-.782L125.07 3.863a1.776 1.776 0 01-.072 1.113L118.6 20.85l-1.445 3.584 10.333 31.786a1.79 1.79 0 001.701 1.25h10.838a1.777 1.777 0 001.71-2.233z" fill="#b1175b"/><path d="M118.86 29.685l-1.706-5.25 7.828-19.417-6.123 24.667zm-37.565 0l-1.707-5.25L87.42 5.02l-6.125 24.666zm14.83.581l1.709 5.24-7.831 19.417 6.122-24.657z" fill="#841245"/></g></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -31,7 +31,6 @@
Its main goal is to help you to write **concise** and **correct** software without slowing down your code.
<!-- teaser-end -->
## Sponsors
@ -40,15 +39,15 @@ Especially those generously supporting us at the *The Organization* tier and hig
<p align="center">
<a href="https://www.variomedia.de/">
<img src="./docs/_static/sponsors/Variomedia.svg" width="200" height="60"></img>
<img src="https://raw.githubusercontent.com/python-attrs/attrs/main/.github/sponsors/Variomedia.svg" width="200" height="60"></img>
</a>
<a href="https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=referral&utm_campaign=enterprise&utm_term=repo">
<img src="./docs/_static/sponsors/Tidelift.svg" width="200" height="60"></img>
<img src="https://raw.githubusercontent.com/python-attrs/attrs/main/.github/sponsors/Tidelift.svg" width="200" height="60"></img>
</a>
<a href="https://filepreviews.io/">
<img src="./docs/_static/sponsors/FilePreviews.svg" width="200" height="60"></img>
<img src="https://raw.githubusercontent.com/python-attrs/attrs/main/.github/sponsors/FilePreviews.svg" width="200" height="60"></img>
</a>
</p>
@ -56,6 +55,7 @@ Especially those generously supporting us at the *The Organization* tier and hig
<strong>For a limited time, you can add your logo here for <a href="https://github.com/sponsors/hynek">as little as $50 per month!</a></strong>
</p>
<!-- teaser-end -->
## Example

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.6 KiB

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 180 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(0.989348,0,0,0.968489,-0.174854,0.333293)">
<g id="Layer1">
<rect x="0.177" y="-0.344" width="181.938" height="61.952" style="fill:white;"/>
</g>
</g>
<g transform="matrix(0.416561,0,0,0.416667,90,30)">
<g id="Layer2">
<g transform="matrix(1,0,0,1,-216.055,-72)">
<g id="Artwork">
<path d="M96,93.77L96,50.23C96,45.82 96,45.82 100.65,45.82C105.3,45.82 105.3,45.82 105.3,50.23L105.3,93.77C105.3,98.18 105.3,98.18 100.65,98.18C96,98.18 96,98.18 96,93.77Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M118.62,91.27L118.62,52.73C118.62,45.81 118.62,45.81 125.54,45.81L136.82,45.81C151.93,45.81 161.23,53.35 162.22,65.63C162.539,69.21 162.539,72.81 162.22,76.39C161.22,88.59 151.92,98.18 136.82,98.18L125.54,98.18C118.62,98.18 118.62,98.18 118.62,91.27ZM136.62,89.36C146.96,89.36 152.28,83.52 152.88,75.49C153.157,72.52 153.157,69.53 152.88,66.56C152.2,58.45 146.96,54.65 136.62,54.65L127.93,54.65L127.93,89.36L136.62,89.36Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M174.68,91.27L174.68,52.73C174.68,45.81 174.68,45.81 181.6,45.81L207.8,45.81C212.37,45.81 212.37,45.81 212.37,50.1C212.37,54.39 212.37,54.47 207.8,54.47L184,54.47L184,67.95L205.51,67.95C209.88,67.95 209.88,67.95 209.88,72.04C209.88,76.13 209.88,76.17 205.51,76.17L184,76.17L184,89.52L208,89.52C212.57,89.52 212.57,89.52 212.57,93.77C212.57,98.18 212.57,98.18 208,98.18L181.6,98.18C174.68,98.18 174.68,98.18 174.68,91.27Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M225.72,91.27L225.72,50.27C225.72,45.78 225.72,45.78 230.33,45.78C234.94,45.78 234.98,45.78 234.98,50.19L234.98,89.52L258.12,89.52C262.81,89.52 262.81,89.52 262.81,93.89C262.81,98.26 262.81,98.18 258.12,98.18L232.64,98.18C225.72,98.18 225.72,98.18 225.72,91.27Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M276,93.77L276,50.23C276,45.82 276,45.82 280.65,45.82C285.3,45.82 285.3,45.82 285.3,50.23L285.3,93.77C285.3,98.18 285.3,98.18 280.65,98.18C276,98.18 276,98.18 276,93.77Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M298.51,93.77L298.51,52.77C298.51,45.85 298.51,45.85 305.43,45.85L331.63,45.85C336.12,45.85 336.16,45.85 336.16,50.22C336.16,54.59 336.16,54.51 331.63,54.51L307.82,54.51L307.82,68.51L329.89,68.51C334.42,68.51 334.42,68.51 334.42,72.72C334.42,76.93 334.42,77.01 329.89,77.01L307.82,77.01L307.82,93.77C307.82,98.18 307.82,98.18 303.17,98.18C298.52,98.18 298.51,98.18 298.51,93.77Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M78.1,45.82L41.64,45.82C36.87,45.82 36.87,45.82 36.87,50.19C36.87,54.56 36.87,54.48 41.64,54.48L55.24,54.48L55.24,69.93L64.5,62.67L64.5,54.48L78.1,54.48C82.79,54.48 82.79,54.48 82.79,50.19C82.79,45.9 82.79,45.82 78.1,45.82Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M55.24,78.89L55.24,93.65C55.24,98.06 55.24,98.06 59.89,98.06C64.54,98.06 64.5,98.06 64.5,93.57L64.5,71.63L55.24,78.89Z" style="fill:rgb(246,145,77);fill-rule:nonzero;"/>
<path d="M354,45.82L390.46,45.82C395.23,45.82 395.23,45.82 395.23,50.19C395.23,54.56 395.23,54.48 390.46,54.48L376.86,54.48L376.86,69.93L367.6,62.67L367.6,54.48L354,54.48C349.31,54.48 349.31,54.48 349.31,50.19C349.31,45.9 349.32,45.82 354,45.82Z" style="fill:rgb(75,81,104);fill-rule:nonzero;"/>
<path d="M376.87,78.89L376.87,93.65C376.87,98.06 376.87,98.06 372.22,98.06C367.57,98.06 367.61,98.06 367.61,93.57L367.61,71.63L376.87,78.89Z" style="fill:rgb(246,145,77);fill-rule:nonzero;"/>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 180 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g id="Layer1">
<g transform="matrix(0.989348,0,0,0.968489,-0.174854,0.333293)">
<rect x="0.177" y="-0.344" width="181.938" height="61.952" style="fill:white;"/>
</g>
<g transform="matrix(0.916667,0,0,0.916667,90,30)">
<g transform="matrix(1,0,0,1,-57,-30)">
<g>
<path d="M2.432,0.031C1.357,0.031 0.494,0.899 0.494,1.974C0.494,2.327 0.589,2.657 0.754,2.942L21.044,44.567L28.644,25.809L16.687,1.21C16.4,0.539 15.747,0.064 14.979,0.032L2.432,0.031Z" style="fill:rgb(51,134,170);fill-rule:nonzero;"/>
<path d="M40.398,0.032C39.557,0.032 38.844,0.559 38.571,1.305L21.043,44.568L27.948,58.76C28.269,59.476 28.935,59.968 29.749,59.968C30.544,59.968 31.238,59.554 31.62,58.684L54.17,2.785C54.272,2.535 54.35,2.263 54.35,1.972C54.35,0.897 53.481,0.039 52.407,0.032L40.398,0.032Z" style="fill:rgb(42,194,186);fill-rule:nonzero;"/>
<path d="M56.966,57.282C56.876,57.507 56.825,57.751 56.825,58.009C56.825,59.084 57.697,59.969 58.772,59.969L70.778,59.967C71.588,59.967 72.282,59.468 72.575,58.765L72.578,58.763L95.18,2.701C95.27,2.477 95.321,2.234 95.321,1.977C95.321,0.902 94.451,0.032 93.378,0.032L81.365,0.032C80.532,0.033 79.825,0.547 79.549,1.284L56.966,57.282Z" style="fill:rgb(236,30,121);fill-rule:nonzero;"/>
<path d="M28.643,25.81L26.72,21.852L21.043,44.568L21.73,42.873L28.643,25.81Z" style="fill:rgb(39,102,128);fill-rule:nonzero;"/>
<path d="M56.862,58.385L56.862,58.383C56.858,58.366 56.855,58.347 56.852,58.328L56.852,58.326C56.839,58.245 56.831,58.163 56.828,58.081L56.828,58.072C56.827,58.053 56.827,58.034 56.826,58.015L56.826,58.006C56.826,57.748 56.877,57.506 56.967,57.281C59.09,52.009 65.47,36.196 65.47,36.196L65.547,36.005L54.293,1.507C54.297,1.523 54.301,1.539 54.304,1.555C54.307,1.571 54.311,1.587 54.314,1.603L54.314,1.604C54.317,1.62 54.32,1.636 54.323,1.652L54.323,1.653C54.325,1.669 54.328,1.685 54.33,1.701L54.33,1.702C54.332,1.719 54.334,1.735 54.336,1.751L54.336,1.752C54.338,1.768 54.34,1.785 54.341,1.801L54.341,1.803C54.342,1.819 54.343,1.836 54.344,1.852L54.344,1.853C54.345,1.879 54.347,1.905 54.347,1.932L54.347,2.003C54.346,2.054 54.343,2.106 54.337,2.157C54.335,2.174 54.333,2.19 54.331,2.207C54.329,2.224 54.326,2.24 54.323,2.257L54.323,2.258C54.321,2.274 54.317,2.291 54.314,2.306L54.314,2.308C54.311,2.324 54.308,2.34 54.304,2.355L54.304,2.357C54.3,2.373 54.297,2.388 54.293,2.403C54.293,2.405 54.292,2.406 54.292,2.407C54.289,2.422 54.285,2.437 54.28,2.451C54.28,2.453 54.279,2.454 54.279,2.457C54.276,2.471 54.272,2.485 54.267,2.499C54.266,2.502 54.266,2.504 54.265,2.507C54.261,2.52 54.258,2.533 54.253,2.547C54.252,2.55 54.251,2.554 54.25,2.557C54.246,2.569 54.243,2.581 54.238,2.594C54.237,2.599 54.235,2.603 54.233,2.608C54.23,2.619 54.226,2.63 54.221,2.641C54.219,2.647 54.217,2.653 54.215,2.659C54.212,2.669 54.208,2.679 54.205,2.688C54.202,2.696 54.199,2.705 54.195,2.712C54.193,2.719 54.19,2.727 54.187,2.733C54.181,2.749 54.175,2.764 54.168,2.779L45.639,23.923L56.9,58.548C56.887,58.499 56.873,58.442 56.862,58.385Z" style="fill:rgb(177,23,91);fill-rule:nonzero;"/>
<path d="M113.439,57.532L95.258,1.487C95.3,1.644 95.321,1.808 95.321,1.977C95.321,2.233 95.27,2.477 95.18,2.701L88.199,20.019L86.623,23.929L97.895,58.605C98.145,59.393 98.881,59.969 99.751,59.969L111.574,59.969C112.641,59.969 113.506,59.097 113.506,58.027C113.506,57.854 113.482,57.692 113.439,57.532Z" style="fill:rgb(177,23,91);fill-rule:nonzero;"/>
<path d="M88.483,29.656L86.622,23.929L95.162,2.747L88.483,29.656Z" style="fill:rgb(132,18,69);fill-rule:nonzero;"/>
<path d="M47.504,29.656L45.641,23.93L54.186,2.748L47.504,29.656Z" style="fill:rgb(132,18,69);fill-rule:nonzero;"/>
<path d="M63.682,30.29L65.546,36.006L57.003,57.189L63.682,30.29Z" style="fill:rgb(132,18,69);fill-rule:nonzero;"/>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.4 KiB