0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations
Valentin Bersier e4348a4eb4
@astrojs/image: add a background option/prop to replace the alpha layer (#4642)
* Added `background` option and prop.
This optional color specifies which background to use when removing the
alpha channel if the output format doesn't support transparency.

* Modified existing tests

* Fixed wrong dimensions in tests

* Fixing a few instances of jpeg vs jpg

* Added color checking

* working on the tests

* tests are now passing

* Adding tests

* Added tests for background color

* no need to test with subpath

* Added fixture

* Renamed test fixture for background-color

* skipping test until fixed

* Typo

* Working on tests

* tests are passing

* Updated readme and added changeset

* Updated lockfile

* Updated lockfile

* Updated lockfile

Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-09-07 17:22:11 +00:00
..
alpinejs Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
cloudflare [docs] update adapter READMESs to include astro add (#4595) 2022-09-06 08:53:47 -04:00
deno [docs] update adapter READMESs to include astro add (#4595) 2022-09-06 08:53:47 -04:00
image @astrojs/image: add a background option/prop to replace the alpha layer (#4642) 2022-09-07 17:22:11 +00:00
lit Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
mdx Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
netlify [docs] update adapter READMESs to include astro add (#4595) 2022-09-06 08:53:47 -04:00
node [docs] update adapter READMESs to include astro add (#4595) 2022-09-06 08:53:47 -04:00
partytown Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
preact Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
prefetch Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
react Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
sitemap Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
solid Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
svelte Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
tailwind Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
turbolinks Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00
vercel [docs] update adapter READMESs to include astro add (#4595) 2022-09-06 08:53:47 -04:00
vue Integrations: Fix NPM instructions to use npx astro add again (#4653) 2022-09-07 12:08:58 +02:00