Skip to content

Commit 914faca

Browse files
authored
docs: adapt README to the dark theme (#844)
1 parent 63f3701 commit 914faca

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

Diff for: README.md

+22-11
Original file line numberDiff line numberDiff line change
@@ -169,21 +169,32 @@ We appreciate the support for free and open source software!
169169

170170
This project is supported by:
171171

172-
[Jetbrains](https://www.jetbrains.com/?from=gocron)
173-
174-
![JetBrains logo](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png)
172+
[JetBrains](https://www.jetbrains.com/?from=gocron)
175173

174+
<a href="https://www.jetbrains.com/?from=gocron">
175+
<picture>
176+
<source media="(prefers-color-scheme: dark)" srcset="assets/jetbrains-mono-white.png" />
177+
<source media="(prefers-color-scheme: light)" srcset="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" />
178+
<img alt="JetBrains logo" src="https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.png" />
179+
</picture>
180+
</a>
176181

177182
[Sentry](https://sentry.io/welcome/)
178183

179-
<p align="left">
180-
<p align="left">
181-
<a href="https://sentry.io/?utm_source=github&utm_medium=logo" target="_blank">
182-
<img src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" alt="Sentry" width="280" height="84" />
183-
</a>
184-
</p>
185-
</p>
184+
<a href="https://sentry.io/?utm_source=github&utm_medium=logo">
185+
<picture>
186+
<source media="(prefers-color-scheme: dark)" srcset="assets/sentry-wordmark-light-280x84.png" />
187+
<source media="(prefers-color-scheme: light)" srcset="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" />
188+
<img alt="Sentry logo" src="https://sentry-brand.storage.googleapis.com/sentry-wordmark-dark-280x84.png" />
189+
</picture>
190+
</a>
186191

187192
## Star History
188193

189-
[![Star History Chart](https://api.star-history.com/svg?repos=go-co-op/gocron&type=Date)](https://star-history.com/#go-co-op/gocron&Date)
194+
<a href="https://www.star-history.com/#go-co-op/gocron&Date">
195+
<picture>
196+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=go-co-op/gocron&type=Date&theme=dark" />
197+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=go-co-op/gocron&type=Date" />
198+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=go-co-op/gocron&type=Date" />
199+
</picture>
200+
</a>

Diff for: assets/jetbrains-mono-white.png

5.01 KB
Loading

Diff for: assets/sentry-wordmark-light-280x84.png

2.72 KB
Loading

0 commit comments

Comments
 (0)