diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-03-23 02:48:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 02:48:20 +0100 |
commit | 6761d08c529d7a07284e48b61ae5c1a41731adeb (patch) | |
tree | a92cd21d5d53b2d56bbff8f045e2b7fb2db89476 | |
parent | 660a7b4b39207c35553740595ae445c6027abe99 (diff) | |
parent | bbafd350a44005f31ddff4c7e433353a5f3a9acf (diff) | |
download | nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.tar nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.tar.gz nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.tar.bz2 nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.tar.lz nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.tar.xz nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.tar.zst nixlib-6761d08c529d7a07284e48b61ae5c1a41731adeb.zip |
Merge pull request #276719 from eclairevoyant/readme
readme: update method to show theme-based logo
-rw-r--r-- | README.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md index 5e616eff2f52..481ada0565f8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ <p align="center"> - <a href="https://nixos.org#gh-light-mode-only"> - <img src="https://raw.githubusercontent.com/NixOS/nixos-homepage/master/logo/nixos-hires.png" width="500px" alt="NixOS logo"/> - </a> - <a href="https://nixos.org#gh-dark-mode-only"> - <img src="https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nixos-white.png" width="500px" alt="NixOS logo"/> + <a href="https://nixos.org"> + <picture> + <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/NixOS/nixos-homepage/master/logo/nixos-hires.png"> + <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nixos-white.png"> + <img src="https://raw.githubusercontent.com/NixOS/nixos-homepage/master/logo/nixos-hires.png" width="500px" alt="NixOS logo"> + </picture> </a> </p> |