Docs: improve colour vs color consistency

API supports both, docs prefer colour
This commit is contained in:
Lovell Fuller
2024-09-06 13:40:34 +01:00
parent 807d9241bd
commit b249357732
9 changed files with 31 additions and 25 deletions

View File

@@ -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 });