logo: use adaptive color/no background for readme

This looks nicer with dark themes. Light themes should be effectively
unchanged.
This commit is contained in:
Isaac Freund 2024-04-08 12:21:01 +02:00
parent 36d8e90a54
commit 93f9eb8e5e
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<div align="center"> <div align="center">
<img src="logo/logo_text_background.svg" width="50%"> <img src="logo/logo_text_adaptive_color.svg" width="50%">
</div> </div>
## Overview ## Overview

View File

@ -1,4 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 120"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 120">
<path fill="#fff" d="M0 0h360v120H0z"/> <style>
@media (prefers-color-scheme: dark) {
path { fill: #fff; }
}
</style>
<path d="M59.29 10s11.268 5.436 17.676 13.69c6.408 8.253 5.704 23.923-3.403 31.018-9.107 7.095-14.078 5.716-18.811 12.521-4.734 6.805 3.992 12.184 10.064 15.97 6.072 3.785 14.698 10.964 18.593 16.425 2.676 3.753 4.284 8 5.07 10.376H110V10ZM10 17.505V110h33.6c4.678-5.879 6.736-12.343 2.832-17.87-4.197-5.94-6.741-8.77-10.06-15.633-2.655-5.492-.685-12.778 2.645-16.748 3.329-3.97 5.674-5.539 8.187-6.96 7.177-4.06 17.05-7.47 16.272-15.1-.778-7.629-5.004-10.508-15.275-14.574C37.93 19.048 10 17.505 10 17.505ZM146.012 70.478v20.566q0 2.43-1.781 3.725-1.62 1.296-3.725 1.296t-3.887-1.296Q135 93.474 135 91.044V52.988q0-2.753 1.62-4.049 1.78-1.457 3.886-1.457 2.105 0 3.725 1.457 1.781 1.296 1.781 4.049v.648q2.267-3.077 5.83-5.02 3.725-1.944 7.773-1.944 1.944 0 3.887.486t2.915 1.943q.972 1.458.972 3.239 0 2.105-1.458 3.887-1.295 1.62-3.887 1.62-1.133 0-2.429-.325-1.133-.324-2.915-.324-4.696 0-7.773 3.563-2.915 3.563-2.915 9.717zm34.332 25.587q-2.105 0-3.886-1.296-1.62-1.295-1.62-3.725V52.178q0-2.753 1.62-4.048 1.78-1.458 3.886-1.458 2.105 0 3.725 1.458 1.781 1.295 1.781 4.048v38.866q0 2.43-1.781 3.725-1.62 1.296-3.725 1.296zm.162-58.3q-3.077 0-5.344-1.943-2.105-2.105-2.105-5.02 0-2.753 2.105-4.697Q177.429 24 180.506 24q2.915 0 5.02 2.105 2.106 1.944 2.106 4.697 0 2.915-2.106 5.02-2.105 1.943-5.02 1.943zm37.57 58.3q-2.428 0-4.534-1.134-2.105-.972-3.076-3.077l-16.033-37.733q-.324-1.295-.324-1.943 0-2.591 1.782-4.048 1.781-1.458 3.886-1.458 1.458 0 2.753.81 1.458.81 2.106 2.59l11.336 29.313q.81 1.619 2.105 1.619 1.62 0 2.105-1.62l11.174-29.311q.648-1.782 1.943-2.591 1.458-.81 2.915-.81 2.268 0 3.887 1.458 1.781 1.457 1.781 3.886 0 .81-.323 2.105l-15.87 37.733q-.973 2.105-3.078 3.077-2.105 1.134-4.534 1.134zm52.794 0q-12.145 0-18.947-6.964-6.802-6.963-6.802-18.785 0-10.365 6.802-17.004 6.964-6.64 17.814-6.64 10.526 0 16.842 6.154 6.316 5.992 6.316 14.899 0 3.562-1.944 5.344-1.781 1.781-4.696 1.781h-28.178q-1.62 0-1.134 1.781 1.296 4.535 5.182 7.126 4.049 2.43 9.07 2.43 3.724 0 7.125-.973 3.562-.971 6.154-2.915.81-.647 2.105-.647 1.781 0 3.239 1.62 1.457 1.457 1.457 3.562 0 .972-.324 1.943-.324.972-1.457 1.944-4.21 3.076-9.07 4.21-4.695 1.134-9.554 1.134zm9.393-29.636q.972 0 .972-.972 0-3.724-3.401-6.477-3.239-2.753-8.097-2.753-4.21 0-8.097 2.267-3.725 2.267-4.535 5.992v.162q-.162.647-.162 1.133.162.486 1.458.486zm33.36 4.049v20.566q0 2.43-1.781 3.725-1.62 1.296-3.725 1.296t-3.887-1.296q-1.619-1.295-1.619-3.725V52.988q0-2.753 1.62-4.049 1.78-1.457 3.886-1.457 2.105 0 3.725 1.457 1.781 1.296 1.781 4.049v.648q2.267-3.077 5.83-5.02 3.725-1.944 7.773-1.944 1.944 0 3.887.486t2.915 1.943Q335 50.56 335 52.34q0 2.105-1.458 3.887-1.295 1.62-3.887 1.62-1.133 0-2.429-.325-1.133-.324-2.915-.324-4.696 0-7.773 3.563-2.915 3.563-2.915 9.717z"/> <path d="M59.29 10s11.268 5.436 17.676 13.69c6.408 8.253 5.704 23.923-3.403 31.018-9.107 7.095-14.078 5.716-18.811 12.521-4.734 6.805 3.992 12.184 10.064 15.97 6.072 3.785 14.698 10.964 18.593 16.425 2.676 3.753 4.284 8 5.07 10.376H110V10ZM10 17.505V110h33.6c4.678-5.879 6.736-12.343 2.832-17.87-4.197-5.94-6.741-8.77-10.06-15.633-2.655-5.492-.685-12.778 2.645-16.748 3.329-3.97 5.674-5.539 8.187-6.96 7.177-4.06 17.05-7.47 16.272-15.1-.778-7.629-5.004-10.508-15.275-14.574C37.93 19.048 10 17.505 10 17.505ZM146.012 70.478v20.566q0 2.43-1.781 3.725-1.62 1.296-3.725 1.296t-3.887-1.296Q135 93.474 135 91.044V52.988q0-2.753 1.62-4.049 1.78-1.457 3.886-1.457 2.105 0 3.725 1.457 1.781 1.296 1.781 4.049v.648q2.267-3.077 5.83-5.02 3.725-1.944 7.773-1.944 1.944 0 3.887.486t2.915 1.943q.972 1.458.972 3.239 0 2.105-1.458 3.887-1.295 1.62-3.887 1.62-1.133 0-2.429-.325-1.133-.324-2.915-.324-4.696 0-7.773 3.563-2.915 3.563-2.915 9.717zm34.332 25.587q-2.105 0-3.886-1.296-1.62-1.295-1.62-3.725V52.178q0-2.753 1.62-4.048 1.78-1.458 3.886-1.458 2.105 0 3.725 1.458 1.781 1.295 1.781 4.048v38.866q0 2.43-1.781 3.725-1.62 1.296-3.725 1.296zm.162-58.3q-3.077 0-5.344-1.943-2.105-2.105-2.105-5.02 0-2.753 2.105-4.697Q177.429 24 180.506 24q2.915 0 5.02 2.105 2.106 1.944 2.106 4.697 0 2.915-2.106 5.02-2.105 1.943-5.02 1.943zm37.57 58.3q-2.428 0-4.534-1.134-2.105-.972-3.076-3.077l-16.033-37.733q-.324-1.295-.324-1.943 0-2.591 1.782-4.048 1.781-1.458 3.886-1.458 1.458 0 2.753.81 1.458.81 2.106 2.59l11.336 29.313q.81 1.619 2.105 1.619 1.62 0 2.105-1.62l11.174-29.311q.648-1.782 1.943-2.591 1.458-.81 2.915-.81 2.268 0 3.887 1.458 1.781 1.457 1.781 3.886 0 .81-.323 2.105l-15.87 37.733q-.973 2.105-3.078 3.077-2.105 1.134-4.534 1.134zm52.794 0q-12.145 0-18.947-6.964-6.802-6.963-6.802-18.785 0-10.365 6.802-17.004 6.964-6.64 17.814-6.64 10.526 0 16.842 6.154 6.316 5.992 6.316 14.899 0 3.562-1.944 5.344-1.781 1.781-4.696 1.781h-28.178q-1.62 0-1.134 1.781 1.296 4.535 5.182 7.126 4.049 2.43 9.07 2.43 3.724 0 7.125-.973 3.562-.971 6.154-2.915.81-.647 2.105-.647 1.781 0 3.239 1.62 1.457 1.457 1.457 3.562 0 .972-.324 1.943-.324.972-1.457 1.944-4.21 3.076-9.07 4.21-4.695 1.134-9.554 1.134zm9.393-29.636q.972 0 .972-.972 0-3.724-3.401-6.477-3.239-2.753-8.097-2.753-4.21 0-8.097 2.267-3.725 2.267-4.535 5.992v.162q-.162.647-.162 1.133.162.486 1.458.486zm33.36 4.049v20.566q0 2.43-1.781 3.725-1.62 1.296-3.725 1.296t-3.887-1.296q-1.619-1.295-1.619-3.725V52.988q0-2.753 1.62-4.049 1.78-1.457 3.886-1.457 2.105 0 3.725 1.457 1.781 1.296 1.781 4.049v.648q2.267-3.077 5.83-5.02 3.725-1.944 7.773-1.944 1.944 0 3.887.486t2.915 1.943Q335 50.56 335 52.34q0 2.105-1.458 3.887-1.295 1.62-3.887 1.62-1.133 0-2.429-.325-1.133-.324-2.915-.324-4.696 0-7.773 3.563-2.915 3.563-2.915 9.717z"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB