fix(docs): use the standard picture element to display the logo
MODIFY
.github/workflows/release_js_api.yml
.github/workflows/release_js_api.yml
@@ -158,7 +158,4 @@ jobs:
tag_name: js-api/v${{ needs.build.outputs.version }}
draft: false
prerelease: ${{ needs.build.outputs.prerelease == 'true' }}
- files: |
- dist/*
- fail_on_unmatched_files: true
generate_release_notes: true

MODIFY
npm/rome/README.md
npm/rome/README.md
<p align="center">
- <img alt="Rome's logo depicting an ancient Roman arch with the word Rome to its side" src="https://raw.githubusercontent.com/rome/brand/main/PNG/logo_transparent.png#gh-light-mode-only" width="700">
- <img alt="Rome's logo depicting an ancient Roman arch with the word Rome to its side" src="https://raw.githubusercontent.com/rome/brand/main/PNG/logo_white_yellow_transparent.png#gh-dark-mode-only" width="700">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/rome/brand/main/PNG/logo_white_yellow_transparent.png" width="700">
+ <img alt="Rome's logo depicting an ancient Roman arch with the word Rome to its side" src="https://raw.githubusercontent.com/rome/brand/main/PNG/logo_transparent.png" width="700">
+ </picture>
</p>
-
<div align="center">
[![MIT licensed][mit-badge]][mit-url]

fix(docs): use the standard picture element to display the logo (#3585)