Skip to content

Commit ff687ea

Browse files
Update darkmode README
1 parent 814115d commit ff687ea

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
package-lock.json
22
node_modules/
3+
.DS_Store

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,24 @@ https://example.com/path/to/live2d-widget/
109109

110110
## 鸣谢 Thanks
111111

112-
<a href="https://www.browserstack.com/"><img height="80" src="https://live.browserstack.com/images/opensource/browserstack-logo.svg" alt="BrowserStack Logo"></a>
112+
<a href="https://www.browserstack.com/">
113+
<picture>
114+
<source media="(prefers-color-scheme: dark)" height="80" srcset="https://d98b8t1nnulk5.cloudfront.net/production/images/layout/logo-header.png?1469004780">
115+
<source media="(prefers-color-scheme: light)" height="80" srcset="https://live.browserstack.com/images/opensource/browserstack-logo.svg">
116+
<img alt="BrowserStack Logo" height="80" src="https://live.browserstack.com/images/opensource/browserstack-logo.svg">
117+
</picture>
118+
</a>
113119

114120
> 感谢 BrowserStack 容许我们在真实的浏览器中测试此项目。
115121
> Thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to test in real browsers!
116122
117-
<a href="https://www.jsdelivr.com"><img height="80" src="https://raw.githubusercontent.com/jsdelivr/jsdelivr-media/master/default/svg/jsdelivr-logo-horizontal.svg"></a>
123+
<a href="https://www.jsdelivr.com">
124+
<picture>
125+
<source media="(prefers-color-scheme: dark)" height="80" srcset="https://raw.githubusercontent.com/jsdelivr/jsdelivr-media/master/white/svg/jsdelivr-logo-horizontal.svg">
126+
<source media="(prefers-color-scheme: light)" height="80" srcset="https://raw.githubusercontent.com/jsdelivr/jsdelivr-media/master/default/svg/jsdelivr-logo-horizontal.svg">
127+
<img alt="jsDelivr Logo" height="80" src="https://raw.githubusercontent.com/jsdelivr/jsdelivr-media/master/default/svg/jsdelivr-logo-horizontal.svg">
128+
</picture>
129+
</a>
118130

119131
> 感谢 jsDelivr 提供的 CDN 服务。
120132
> Thanks jsDelivr for providing public CDN service.

0 commit comments

Comments
 (0)