0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
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
..
astro fixes an eslint error (#4659) 2022-09-07 16:33:57 +00:00
astro-prism [ci] release (#4249) 2022-08-11 16:50:59 -07:00
astro-rss Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
create-astro use unused self-documenting variable (#4605) 2022-09-06 08:41:36 -04:00
integrations @astrojs/image: add a background option/prop to replace the alpha layer (#4642) 2022-09-07 17:22:11 +00:00
markdown [ci] release (#4520) 2022-08-30 12:45:04 -04:00
telemetry Astro 1.0.0 (#4214) 2022-08-09 11:10:25 -05:00
webapi docs: specify lang for a codeblock (#4314) 2022-08-15 15:34:45 +08:00