Skip to content

Commit

Permalink
Show preview image in Readme based on dark/light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jwortmann committed Jun 9, 2023
1 parent 4397ede commit e823a5b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ From the command palette select *Package Control: Install Package* and search fo

## Preview

![Preview Dark](img/preview_dark.png)

![Preview Light](img/preview_light.png)
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/jwortmann/brackets-theme/master/img/preview_dark.png">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/jwortmann/brackets-theme/master/img/preview_light.png">
<img alt="Preview image of the theme" src="https://raw.githubusercontent.com/jwortmann/brackets-theme/master/img/preview_dark.png">
</picture>

## Customization

Expand Down

0 comments on commit e823a5b

Please sign in to comment.