Skip to content

Commit

Permalink
Update README to use picture/source syntax to avoid deprecation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonmcconnell committed Oct 19, 2022
1 parent 0c2c179 commit ea5b11c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
@@ -1,9 +1,10 @@
<p align="center">
<a href="https://tailwindcss.com/#gh-light-mode-only" target="_blank">
<img src="./.github/logo-light.svg" alt="Tailwind CSS" width="350" height="70">
</a>
<a href="https://tailwindcss.com/#gh-dark-mode-only" target="_blank">
<img src="./.github/logo-dark.svg" alt="Tailwind CSS" width="350" height="70">
<a href="https://tailwindcss.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./.github/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="./.github/logo-light.svg">
<img alt="Tailwind CSS" src="./.github/logo-light.svg" width="350" height="70" style="max-width: 100%;">
</picture>
</a>
</p>

Expand Down

0 comments on commit ea5b11c

Please sign in to comment.