Skip to content

Commit

Permalink
feat: update README.md with dark theme image support
Browse files Browse the repository at this point in the history
This update modifies the README.md file by providing a dark-theme alternative for the logo. It utilizes the HTML picture element with a media attribute for automatic theme-based selection.
  • Loading branch information
mallikcheripally committed Jun 21, 2024
1 parent ae0ec45 commit 000c0da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<div align="center">
<a href="https://colore.mallikcheripally.com/">
<img alt="colore" src="https://raw.githubusercontent.com/mallikcheripally/colore-js/main/assets/images/github-poster.png" width="280" height="110" />
<picture>
<source srcset="https://raw.githubusercontent.com/mallikcheripally/colore-js/main/assets/images/github-poster-dark-theme.png" media="(prefers-color-scheme: dark)">
<img src="https://raw.githubusercontent.com/mallikcheripally/colore-js/main/assets/images/github-poster.png" alt="colore-js">
</picture>
</a>
</div>
<br />
Expand Down
Binary file added assets/images/github-poster-dark-theme.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/github-poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 000c0da

Please sign in to comment.