diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-03-06 12:22:35 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-06 12:22:35 +0000 |
| commit | 5b9e46b960c37f04a26742c186e0a26b7bc131b3 (patch) | |
| tree | d9dc66666ed64efaccefbc77a0bf621b3b6d3139 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 2eb312a444082f64966ea8448af8eb9f9e30d9c1 (diff) | |
| parent | 710948efa71ae1ffea8b4332eb5cc076d1d0fa2c (diff) | |
| download | rust-5b9e46b960c37f04a26742c186e0a26b7bc131b3.tar.gz rust-5b9e46b960c37f04a26742c186e0a26b7bc131b3.zip | |
Merge #11633
11633: Automatically change text color in logo based on dark mode r=Veykril a=arzg Currently the black text in the logo in the README just has a white stroke so it’s readable in dark mode. This PR adds automatic detection of whether the user is using system dark mode, and if they are changes the text colour to white and removes the stroke. Before: <img width="910" alt="Screen Shot 2022-03-06 at 10 54 35 pm" src="https://user-images.githubusercontent.com/31783266/156921920-7ac88aa4-bab6-44c2-be37-30338a2d9ec9.png"> After (now in Chrome because this doesn’t seem to work in Safari): <img width="822" alt="Screen Shot 2022-03-06 at 11 10 12 pm" src="https://user-images.githubusercontent.com/31783266/156922615-41fe63e0-7901-4cb1-a229-6d37b6e4369a.png"> <img width="820" alt="Screen Shot 2022-03-06 at 11 10 25 pm" src="https://user-images.githubusercontent.com/31783266/156922619-1bdd5b9c-89ac-4fe1-bf17-1a1ac4ead805.png"> Co-authored-by: Luna Razzaghipour <aramisnoah@gmail.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
