fix: background parsing color #9559 (#9560)

This commit is contained in:
farfromrefuge
2021-09-22 06:41:34 +02:00
committed by GitHub
parent 889f6d73cf
commit 3e21748af4
2 changed files with 5 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ export interface LinearGradient {
colors: ColorStop[];
}
export interface Background {
readonly color?: number;
readonly color?: number | Color;
readonly image?: URL | LinearGradient;
readonly repeat?: BackgroundRepeat;
readonly position?: BackgroundPosition;