mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Docs: improve colour vs color consistency
API supports both, docs prefer colour
This commit is contained in:
@@ -713,4 +713,9 @@ sharp(input).composite([
|
||||
density: 72,
|
||||
failOn: "truncated"
|
||||
}
|
||||
])
|
||||
])
|
||||
|
||||
const colour: sharp.Colour = '#fff';
|
||||
const color: sharp.Color = '#fff';
|
||||
sharp({ pdfBackground: colour });
|
||||
sharp({ pdfBackground: color });
|
||||
|
||||
Reference in New Issue
Block a user