Available types

BackgroundTypePattern

The background is a .PNG or .TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user.

fields

fieldtyperequireddescription
typestringrequiredType of the background, always “pattern”
documentDocumentrequiredDocument with the pattern
fillBackgroundFillrequiredThe background fill that is combined with the pattern
intensitynumberrequiredIntensity of the pattern when it is shown above the filled background; 0-100
is_invertedbooleanoptionalOptional. True, if the background fill must be applied only to the pattern itself. All other pixels are black in this case. For dark themes only.
is_movingbooleanoptionalOptional. True, if the background moves slightly when the device is tilted

import

types.ts
import type { BackgroundTypePattern } from "@yaebal/types";

used by

types