Available types

BackgroundTypeWallpaper

The background is a wallpaper in the JPEG format.

fields

fieldtyperequireddescription
typestringrequiredType of the background, always “wallpaper”
documentDocumentrequiredDocument with the wallpaper
dark_theme_dimmingnumberrequiredDimming of the background in dark themes, as a percentage; 0-100
is_blurredbooleanoptionalOptional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
is_movingbooleanoptionalOptional. True, if the background moves slightly when the device is tilted

import

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

used by

types