Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix README.md support dark theme

johnnyfishe4a578837c43
diff --git a/README.md b/README.md
index 38c646fb..2b79077e 100644
--- a/README.md
+++ b/README.md
@@ -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>
diff --git a/src/assets/logo-dark.png b/src/assets/logo-dark.png
new file mode 100644
index 00000000..92b96890
Binary files /dev/null and b/src/assets/logo-dark.png differ
diff --git a/src/assets/logo-light.png b/src/assets/logo-light.png
new file mode 100644
index 00000000..3e32c4f9
Binary files /dev/null and b/src/assets/logo-light.png differ