Skip to content

Examples and guides for using the OpenAI API

Fix README logo contrast in GitHub dark mode (#3272)

Konstantine Kahadze6c7981447409
diff --git a/README.md b/README.md
index b48159e1..a76d4897 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,5 @@
-<a href="https://cookbook.openai.com" target="_blank">
- <picture>
- <source media="(prefers-color-scheme: dark)" srcset="/images/openai-cookbook-white.png" style="max-width: 100%; width: 400px; margin-bottom: 20px">
- <img alt="OpenAI Cookbook Logo" src="/images/openai-cookbook.png" width="400px">
- </picture>
-</a>
+<a href="https://cookbook.openai.com/#gh-dark-mode-only"><img alt="OpenAI Cookbook Logo" src="/images/openai-cookbook-white.png" width="400"></a>
+<a href="https://cookbook.openai.com/#gh-light-mode-only"><img alt="OpenAI Cookbook Logo" src="/images/openai-cookbook.png" width="400"></a>
<h3></h3>
diff --git a/images/openai-cookbook-white.png b/images/openai-cookbook-white.png
index f9072bb5..d52295b6 100644
Binary files a/images/openai-cookbook-white.png and b/images/openai-cookbook-white.png differ
diff --git a/images/openai-cookbook.png b/images/openai-cookbook.png
index e10a60fb..4aa17e9e 100644
Binary files a/images/openai-cookbook.png and b/images/openai-cookbook.png differ