Skip to content

Commit

Permalink
docs: fix image loading for different color themes
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-io committed Jul 24, 2024
1 parent 8a3f305 commit 1f8045f
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,37 @@ See [docs](https://perfectionist.dev).

### Alphabetical Sorting

![ESLint Plugin Perfectionist alphabetical usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-dark.webp#gh-dark-mode-only)
![ESLint Plugin Perfectionist alphabetical usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp#gh-light-mode-only)
<picture>
<source
srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp"
media="(prefers-color-scheme: light)"
/>
<source
srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-dark.webp"
media="(prefers-color-scheme: dark)"
/>
<img
src="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-alphabetical-light.webp"
alt="ESLint Plugin Perfectionist alphabetical usage example"
/>
</picture>

### Sorting by Line Length

![ESLint Plugin Perfectionist line length usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-dark.webp#gh-dark-mode-only)
![ESLint Plugin Perfectionist line length usage example](https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-light.webp#gh-light-mode-only)
<picture>
<source
srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-light.webp"
media="(prefers-color-scheme: light)"
/>
<source
srcset="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-dark.webp"
media="(prefers-color-scheme: dark)"
/>
<img
src="https://raw.githubusercontent.com/azat-io/eslint-plugin-perfectionist/main/docs/public/examples/example-line-length-light.webp"
alt="ESLint Plugin Perfectionist line length usage example"
/>
</picture>

## Installation

Expand Down

0 comments on commit 1f8045f

Please sign in to comment.