MCPcopy
hub / github.com/vercel/satori / Background

Interface Background

src/builder/background-image.ts:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import cssColorParse from 'parse-css-color'
8
9interface Background {
10 attachment?: string
11 color?: string
12 clip: string
13 image: string
14 origin?: string
15 position: string
16 size: string
17 repeat: string
18}
19
20function toAbsoluteValue(v: string | number, base: number) {
21 if (typeof v === 'string' && v.endsWith('%')) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…