Skip to content

Commit

Permalink
Replace deprecated theme fragment syntax with prefers-color-scheme (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rtsao committed Jun 30, 2022
1 parent 698898f commit 688042e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<p align="center">
<img src="./images/wordmark-light.svg#gh-light-mode-only" alt="esbuild: An extremely fast JavaScript bundler">
<img src="./images/wordmark-dark.svg#gh-dark-mode-only" alt="esbuild: An extremely fast JavaScript bundler">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./images/wordmark-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="./images/wordmark-light.svg">
<img alt="esbuild: An extremely fast JavaScript bundler" src="./images/wordmark-light.svg">
</picture>
<br>
<a href="https://esbuild.github.io/">Website</a> |
<a href="https://esbuild.github.io/getting-started/">Getting started</a> |
Expand All @@ -14,8 +17,11 @@
Our current build tools for the web are 10-100x slower than they could be:

<p align="center">
<img src="images/benchmark-light.svg#gh-light-mode-only" alt="Bar chart with benchmark results">
<img src="images/benchmark-dark.svg#gh-dark-mode-only" alt="Bar chart with benchmark results">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./images/benchmark-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="./images/benchmark-light.svg">
<img alt="Bar chart with benchmark results" src="./images/benchmark-light.svg">
</picture>
</p>

The main goal of the esbuild bundler project is to bring about a new era of build tool performance, and create an easy-to-use modern bundler along the way.
Expand Down

0 comments on commit 688042e

Please sign in to comment.