Skip to content

Commit 3c6719b

Browse files
authored
Update README to respect GitHub site theme (flutter#105189)
* Update README to respect GitHub site theme GitHub recently added support for specifying an alternate appearance when the site is using a dark theme [(see the changelog)](https://github.blog/changelog/2022-05-19-specify-theme-context-for-images-in-markdown-beta/). I've implemented this here with download links from https://flutter.dev/brand. * Change alt text
1 parent d1fe54c commit 3c6719b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# [![Flutter logo][]][flutter.dev]
1+
<a href="https://flutter.dev/">
2+
<h1 align="center">
3+
<picture>
4+
<source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/cms-storage-bucket/6e19fee6b47b36ca613f.png">
5+
<img alt="Flutter" src="https://storage.googleapis.com/cms-storage-bucket/c823e53b3a1a7b0d36a9.png">
6+
</picture>
7+
</h1>
8+
</a>
29

310
[![Build Status - Cirrus][]][Build status]
411
[![Discord badge][]][Discord instructions]
@@ -85,7 +92,6 @@ Flutter is a fully open-source project, and we welcome contributions.
8592
Information on how to get started can be found in our
8693
[contributor guide](CONTRIBUTING.md).
8794

88-
[Flutter logo]: https://github.com/flutter/website/blob/archived-master/src/_assets/image/flutter-lockup-bg.jpg?raw=true
8995
[flutter.dev]: https://flutter.dev
9096
[Build Status - Cirrus]: https://api.cirrus-ci.com/github/flutter/flutter.svg
9197
[Build status]: https://cirrus-ci.com/github/flutter/flutter/master

0 commit comments

Comments
 (0)