Skip to content

Commit f948c3b

Browse files
LakshmanKishorepmhatre1
authored andcommitted
DOC: Replace pandas logo with a conditional image for light and dark … (pandas-dev#57223)
DOC: Replace pandas logo with a conditional image for light and dark themes Replaced the static pandas logo with a `picture` tag that displays a different logo based on the color scheme. In light mode, the original logo is shown, while in dark mode, a white version of the logo is displayed for better visibility.
1 parent a60f670 commit f948c3b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
<div align="center">
2-
<img src="https://pandas.pydata.org/static/img/pandas.svg"><br>
3-
</div>
1+
<picture align="center">
2+
<source media="(prefers-color-scheme: dark)" srcset="https://pandas.pydata.org/static/img/pandas_white.svg">
3+
<img alt="Pandas Logo" src="https://pandas.pydata.org/static/img/pandas.svg">
4+
</picture>
45

56
-----------------
67

0 commit comments

Comments
 (0)