docs: update logo to better support light and dark mode. (#5094)

This commit is contained in:
Charlie Joseph 2022-05-23 10:58:39 +01:00 committed by GitHub
parent 9adecac0b7
commit 7149961ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 13 deletions

10
.github/logo-light.svg vendored Normal file
View File

@ -0,0 +1,10 @@
<svg width="247" height="58" viewBox="0 0 247 58" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M93.6443 16.6997L106.612 37.4333V16.6997H113.598V48.8385H106.381L93.3686 28.1429V48.8385H86.3818V16.6997H93.6443Z" fill="white"/>
<path d="M124.71 25.417V38.6408C124.71 40.0402 125.135 41.2324 125.9 42.0681C126.644 42.8808 127.706 43.3451 128.973 43.3451C130.379 43.3451 131.576 42.8135 132.421 41.9069C133.286 40.9783 133.78 39.6651 133.78 38.1516V25.417H140.359V48.8385H133.78V46.4839C133.204 47.1489 132.508 47.7004 131.711 48.1287C130.43 48.817 128.886 49.1863 127.16 49.1863C124.439 49.1863 122.198 48.2233 120.626 46.5841C119.041 44.93 118.131 42.5769 118.131 39.7886V25.417H124.71Z" fill="white"/>
<path d="M149.597 25.408L153.918 31.4935L158.195 25.408H165.552L157.526 36.6315L166.133 48.8295H159.016L153.92 41.7145L148.824 48.8295H141.66L150.269 36.6307L142.292 25.408H149.597Z" fill="white"/>
<path d="M177.008 18.6558V25.4166H183.359V30.9992H177.008V41.6295C177.008 41.8696 177.106 42.0995 177.28 42.2699C177.456 42.4433 177.696 42.54 177.945 42.5404H183.359V48.8295H179.184C176.509 48.8295 174.311 48.0399 172.787 46.5949C171.292 45.1776 170.429 43.1219 170.429 40.5035V31.0036H165.939V25.4166H169.256C169.755 25.4166 170.161 25.2893 170.435 25.0208C170.708 24.7537 170.835 24.3589 170.835 23.8797V18.6558H177.008Z" fill="white"/>
<path d="M203.407 16.6997V39.4408C203.407 42.5466 202.636 44.8477 201.255 46.3955C199.807 48.019 197.678 48.8385 194.97 48.8385H187.503V42.5494H195.125C195.47 42.5494 195.802 42.4157 196.046 42.1763C196.287 41.9402 196.422 41.6204 196.422 41.2864V16.6997H203.407Z" fill="white"/>
<path d="M220.387 16.3472C223.88 16.3472 226.798 17.3428 228.885 19.0819C231.115 20.9411 232.408 23.6527 232.427 26.9558H225.709C225.689 25.527 225.117 24.3332 224.095 23.534C223.177 22.8168 221.908 22.4189 220.376 22.4189C218.944 22.4189 217.774 22.7281 216.964 23.3022C216.215 23.8333 215.796 24.5957 215.796 25.5211C215.796 26.6031 216.303 27.3312 217.116 27.8713C218.351 28.6923 220.23 29.111 222.244 29.576C225.15 30.2474 228.32 31.004 230.463 32.9178C232.037 34.3237 233.085 36.3403 233.085 39.4014C233.085 42.4219 231.831 44.8557 229.676 46.5481C227.51 48.249 224.415 49.1991 220.746 49.1991C217.015 49.1991 213.933 48.0864 211.734 46.1448C209.39 44.075 208.035 41.0577 207.985 37.3887L214.725 37.3837C214.792 39.2057 215.424 40.6964 216.558 41.692C217.581 42.5893 219.002 43.0774 220.744 43.0774C222.378 43.0774 223.761 42.7649 224.712 42.0902C225.537 41.5043 226.007 40.6369 226.007 39.4862C226.007 38.6786 225.711 38.0672 225.201 37.5835C224.526 36.9434 223.511 36.5163 222.332 36.146C221.581 35.9099 220.763 35.7005 219.915 35.487C218.969 35.2486 218.487 35.1262 218 34.9946C215.311 34.2379 212.823 33.2783 211.144 31.5416C209.79 30.1398 208.94 28.2376 208.94 25.5163C208.943 22.7995 210.135 20.496 212.185 18.8724C214.191 17.2839 217.031 16.3472 220.387 16.3472Z" fill="white"/>
<path d="M40.3001 10.9602C38.6255 8.08096 34.4391 8.08096 32.7645 10.9602L14.5142 42.3402C12.8396 45.2196 14.9328 48.8187 18.282 48.8187H32.5292C31.0981 47.568 30.5681 45.4043 31.6511 43.5479L45.4731 19.8548L40.3001 10.9602Z" fill="#80EEC0"/>
<path d="M51.8639 17.8435C53.2498 15.4877 56.7144 15.4877 58.1003 17.8435L73.2041 43.518C74.59 45.8738 72.8577 48.8186 70.0858 48.8186H39.8784C37.1067 48.8186 35.3743 45.8738 36.7602 43.518L51.8639 17.8435Z" fill="#00DC82"/>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

12
.github/logo.svg vendored
View File

@ -1,12 +1,10 @@
<svg width="247" height="58" viewBox="0 0 247 58" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M232.427 29.9558C233.225 29.9558 233.991 29.6374 234.554 29.0711C235.117 28.5047 235.431 27.7373 235.427 26.9386C235.403 22.8064 233.756 19.2373 230.806 16.7776C228.081 14.5065 224.441 13.3472 220.387 13.3472C216.492 13.3472 212.957 14.4342 210.322 16.5205C208.442 18.0094 207.078 19.9649 206.407 22.2355V16.6998C206.407 15.043 205.064 13.6998 203.407 13.6998H196.422C194.766 13.6998 193.422 15.043 193.422 16.6998V39.5495C188.951 39.5495 184.48 39.5404 180.008 39.5404V33.9992H183.359C185.016 33.9992 186.359 32.6561 186.359 30.9992V25.4166C186.359 23.7598 185.016 22.4166 183.359 22.4166H180.008V18.6558C180.008 16.999 178.665 15.6558 177.008 15.6558H170.835C169.179 15.6558 167.835 16.999 167.835 18.6558V22.4166H165.939C165.897 22.4166 165.854 22.4175 165.812 22.4193C165.726 22.4118 165.639 22.408 165.552 22.408H158.195C157.218 22.408 156.302 22.8838 155.74 23.6832L153.905 26.2941L152.043 23.671C151.48 22.8787 150.568 22.408 149.597 22.408C144.325 22.408 139.053 22.4171 133.78 22.4171C132.124 22.4171 130.78 23.7603 130.78 25.4171V38.1517C130.78 39.0147 130.505 39.5629 130.226 39.8615C129.975 40.1307 129.587 40.3452 128.973 40.3452C128.475 40.3452 128.241 40.183 128.113 40.0427C127.95 39.8642 127.71 39.4447 127.71 38.6409V25.4171C127.71 23.7603 126.367 22.4171 124.71 22.4171H118.131C117.571 22.4171 117.596 22.4171 116.598 22.4171V16.6998C116.598 15.043 115.255 13.6998 113.598 13.6998H106.612C104.955 13.6998 103.612 15.043 103.612 16.6998V26.9792L96.1875 15.109C95.6392 14.2323 94.678 13.6998 93.644 13.6998H86.3815C84.7246 13.6998 83.3815 15.043 83.3815 16.6998V48.8386C83.3815 50.4955 84.7246 51.8386 86.3815 51.8386H93.3683C95.0251 51.8386 96.3683 50.4955 96.3683 48.8386V38.5503L103.841 50.4355C104.39 51.3087 105.349 51.8386 106.381 51.8386H113.598C115.255 51.8386 116.598 50.4955 116.598 48.8386V46.0641C117.096 47.0124 117.717 47.8846 118.461 48.6601C120.649 50.9431 123.698 52.1864 127.16 52.1864C128.962 52.1864 129.6 51.8386 130.278 51.8386C135.293 51.8386 143.81 51.8295 148.824 51.8295C149.792 51.8295 150.7 51.3629 151.263 50.5764L153.92 46.8669L156.576 50.5762C157.14 51.3628 158.048 51.8295 159.016 51.8295H166.133C167.254 51.8295 168.281 51.2049 168.797 50.2099C169.312 49.2149 169.231 48.0155 168.584 47.0999L161.206 36.6431L163.762 33.0677C164.309 33.6441 165.082 34.0036 165.939 34.0036H167.429V40.5035C167.429 43.8118 168.54 46.7025 170.723 48.772C172.926 50.8606 175.926 51.8295 179.184 51.8295C184.446 51.8295 189.708 51.8386 194.97 51.8386C198.295 51.8386 201.335 50.8122 203.494 48.3926C204.792 46.9374 205.623 45.1369 206.053 43.0896C206.854 45.1358 208.097 46.9357 209.749 48.3938C212.588 50.9004 216.416 52.1991 220.746 52.1991C224.899 52.1991 228.704 51.1263 231.529 48.9075C234.406 46.6478 236.085 43.345 236.085 39.4014C236.085 35.5444 234.715 32.6933 232.461 30.6804C232.172 30.4221 231.871 30.1811 231.56 29.9558H232.427ZM206.407 34.8369C206.877 34.5467 207.421 34.3891 207.983 34.3887L209.801 34.3874C209.519 34.1489 209.247 33.8957 208.987 33.6265C207.785 32.3824 206.904 30.8855 206.407 29.1139V34.8369ZM143.359 32.0885V41.218L146.592 36.6369L143.359 32.0885Z" fill="white"/>
<path d="M48.0814 16.384L43.7575 8.94934C40.5405 3.41806 32.5234 3.41805 29.3064 8.94933L11.056 40.3294C7.80508 45.9193 11.8985 52.8188 18.2816 52.8188L70.0854 52.8187C75.8191 52.8187 79.6723 46.6251 76.6513 41.4899L61.5476 15.8154C58.6151 10.8306 51.3484 10.8306 48.4159 15.8154L48.0814 16.384Z" fill="white"/>
<path d="M93.644 16.6998L106.612 37.4334V16.6998H113.598V48.8386H106.381L93.3683 28.143V48.8386H86.3815V16.6998H93.644Z" fill="#003543"/>
<path d="M124.71 25.4171V38.6409C124.71 40.0403 125.135 41.2325 125.9 42.0682C126.644 42.8809 127.706 43.3452 128.973 43.3452C130.379 43.3452 131.576 42.8136 132.421 41.907C133.286 40.9784 133.78 39.6652 133.78 38.1517V25.4171H140.359V48.8386H133.78V46.484C133.204 47.149 132.508 47.7005 131.711 48.1288C130.43 48.8171 128.886 49.1864 127.16 49.1864C124.439 49.1864 122.198 48.2234 120.626 46.5842C119.041 44.9301 118.131 42.577 118.131 39.7887V25.4171H124.71Z" fill="#003543"/>
<path d="M93.6443 16.6997L106.612 37.4333V16.6997H113.598V48.8385H106.381L93.3686 28.1429V48.8385H86.3818V16.6997H93.6443Z" fill="#003543"/>
<path d="M124.71 25.417V38.6408C124.71 40.0402 125.135 41.2324 125.9 42.0681C126.644 42.8808 127.706 43.3451 128.973 43.3451C130.379 43.3451 131.576 42.8135 132.421 41.9069C133.286 40.9783 133.78 39.6651 133.78 38.1516V25.417H140.359V48.8385H133.78V46.4839C133.204 47.1489 132.508 47.7004 131.711 48.1287C130.43 48.817 128.886 49.1863 127.16 49.1863C124.439 49.1863 122.198 48.2233 120.626 46.5841C119.041 44.93 118.131 42.5769 118.131 39.7886V25.417H124.71Z" fill="#003543"/>
<path d="M149.597 25.408L153.918 31.4935L158.195 25.408H165.552L157.526 36.6315L166.133 48.8295H159.016L153.92 41.7145L148.824 48.8295H141.66L150.269 36.6307L142.292 25.408H149.597Z" fill="#003543"/>
<path d="M177.008 18.6558V25.4166H183.359V30.9992H177.008V41.6295C177.008 41.8696 177.106 42.0995 177.28 42.2699C177.456 42.4433 177.696 42.54 177.945 42.5404H183.359V48.8295H179.184C176.509 48.8295 174.311 48.0399 172.787 46.5949C171.292 45.1776 170.429 43.1219 170.429 40.5035V31.0036H165.939V25.4166H169.256C169.755 25.4166 170.161 25.2893 170.435 25.0208C170.708 24.7537 170.835 24.3589 170.835 23.8797V18.6558H177.008Z" fill="#003543"/>
<path d="M203.407 16.6998V39.4409C203.407 42.5467 202.636 44.8478 201.255 46.3956C199.807 48.0191 197.678 48.8386 194.97 48.8386H187.503V42.5495H195.125C195.47 42.5495 195.802 42.4158 196.046 42.1764C196.287 41.9403 196.422 41.6205 196.422 41.2865V16.6998H203.407Z" fill="#003543"/>
<path d="M203.407 16.6997V39.4408C203.407 42.5466 202.636 44.8477 201.255 46.3955C199.807 48.019 197.678 48.8385 194.97 48.8385H187.503V42.5494H195.125C195.47 42.5494 195.802 42.4157 196.046 42.1763C196.287 41.9402 196.422 41.6204 196.422 41.2864V16.6997H203.407Z" fill="#003543"/>
<path d="M220.387 16.3472C223.88 16.3472 226.798 17.3428 228.885 19.0819C231.115 20.9411 232.408 23.6527 232.427 26.9558H225.709C225.689 25.527 225.117 24.3332 224.095 23.534C223.177 22.8168 221.908 22.4189 220.376 22.4189C218.944 22.4189 217.774 22.7281 216.964 23.3022C216.215 23.8333 215.796 24.5957 215.796 25.5211C215.796 26.6031 216.303 27.3312 217.116 27.8713C218.351 28.6923 220.23 29.111 222.244 29.576C225.15 30.2474 228.32 31.004 230.463 32.9178C232.037 34.3237 233.085 36.3403 233.085 39.4014C233.085 42.4219 231.831 44.8557 229.676 46.5481C227.51 48.249 224.415 49.1991 220.746 49.1991C217.015 49.1991 213.933 48.0864 211.734 46.1448C209.39 44.075 208.035 41.0577 207.985 37.3887L214.725 37.3837C214.792 39.2057 215.424 40.6964 216.558 41.692C217.581 42.5893 219.002 43.0774 220.744 43.0774C222.378 43.0774 223.761 42.7649 224.712 42.0902C225.537 41.5043 226.007 40.6369 226.007 39.4862C226.007 38.6786 225.711 38.0672 225.201 37.5835C224.526 36.9434 223.511 36.5163 222.332 36.146C221.581 35.9099 220.763 35.7005 219.915 35.487C218.969 35.2486 218.487 35.1262 218 34.9946C215.311 34.2379 212.823 33.2783 211.144 31.5416C209.79 30.1398 208.94 28.2376 208.94 25.5163C208.943 22.7995 210.135 20.496 212.185 18.8724C214.191 17.2839 217.031 16.3472 220.387 16.3472Z" fill="#003543"/>
<path d="M40.2997 10.9603C38.6251 8.08102 34.4387 8.08102 32.7641 10.9603L14.5138 42.3403C12.8392 45.2197 14.9324 48.8188 18.2816 48.8188H32.5288C31.0977 47.5681 30.5677 45.4044 31.6507 43.548L45.4727 19.8549L40.2997 10.9603Z" fill="#80EEC0"/>
<path d="M51.8635 17.8436C53.2494 15.4878 56.714 15.4878 58.0999 17.8436L73.2037 43.5181C74.5896 45.8739 72.8573 48.8187 70.0854 48.8187H39.878C37.1063 48.8187 35.3739 45.8739 36.7598 43.5181L51.8635 17.8436Z" fill="#00DC82"/>
<path d="M40.3001 10.9602C38.6255 8.08096 34.4391 8.08096 32.7645 10.9602L14.5142 42.3402C12.8396 45.2196 14.9328 48.8187 18.282 48.8187H32.5292C31.0981 47.568 30.5681 45.4043 31.6511 43.5479L45.4731 19.8548L40.3001 10.9602Z" fill="#80EEC0"/>
<path d="M51.8639 17.8435C53.2498 15.4877 56.7144 15.4877 58.1003 17.8435L73.2041 43.518C74.59 45.8738 72.8577 48.8186 70.0858 48.8186H39.8784C37.1067 48.8186 35.3743 45.8738 36.7602 43.518L51.8639 17.8435Z" fill="#00DC82"/>
</svg>

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,6 +1,5 @@
<h1>
<img src="./.github/logo.svg" height="60" >
</h1>
![NuxtJS-Logo-Dark](.github/logo-light.svg#gh-dark-mode-only)
![NuxtJS-Logo-Light](.github/logo.svg#gh-light-mode-only)
<p>
<a href="https://github.com/nuxt/framework/actions?query=branch%3Amain+event%3Apush"><img src="https://github.com/nuxt/framework/workflows/ci/badge.svg?branch=main&event=push" alt="CI Status"></a>