fix README.md support dark theme

This commit is contained in:
johnnyfish
2024-08-30 19:21:31 +03:00
committed by Jonathan Fishner
parent b70262ee93
commit e4a578837c
3 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
<h1 align="center">
<a href="https://chartdb.io"><img src="https://github.com/chartdb/chartdb/blob/main/src/assets/logo.png?raw=true" width="400" height="70" alt="ChartDB"></a>
<a href="https://chartdb.io">
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/chartdb/chartdb/blob/main/src/assets/logo-dark.png?raw=true">
<source media="(prefers-color-scheme: light)" srcset="https://github.com/chartdb/chartdb/blob/main/src/assets/logo-light.png?raw=true">
<img src="https://github.com/chartdb/chartdb/blob/main/src/assets/logo.png?raw=true" width="400" height="70" alt="ChartDB">
</a>
<br>
</h1>

BIN
src/assets/logo-dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
src/assets/logo-light.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB