Skip to content

Commit 2bb338d

Browse files
authored
docs: use dark-mode logo in README (#3821)
Adds a light logo to header to appear in dark mode so it doesn't appear almost empty.
1 parent 2453326 commit 2bb338d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# [<img src="https://katex.org/img/katex-logo-black.svg" width="130" alt="KaTeX">](https://katex.org/)
1+
<h1><a href="https://katex.org/">
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="https://katex.org/img/katex-logo.svg">
4+
<img alt="KaTeX" width=130 src="https://katex.org/img/katex-logo-black.svg">
5+
</picture>
6+
</a></h1>
7+
28
[![npm](https://img.shields.io/npm/v/katex.svg)](https://www.npmjs.com/package/katex)
39
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
410
[![CI](https://github.com/KaTeX/KaTeX/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/KaTeX/KaTeX/actions?query=workflow%3ACI)

0 commit comments

Comments
 (0)