Files
mtdb_movie/common/resources/client/background-selector/background-selector-config.ts
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

18 lines
602 B
TypeScript
Executable File

import {MessageDescriptor} from '@common/i18n/message-descriptor';
export interface BackgroundSelectorConfig extends EditableBackgroundProps {
type: 'image' | 'gradient' | 'color';
id: string;
label: MessageDescriptor;
}
export interface EditableBackgroundProps {
backgroundColor?: string;
backgroundAttachment?: 'scroll' | 'fixed' | 'local' | 'initial' | 'inherit';
backgroundSize?: 'auto' | 'cover' | 'contain' | 'initial' | 'inherit';
backgroundRepeat?: 'repeat' | 'no-repeat' | 'repeat-x' | 'repeat-y';
backgroundPosition?: string;
backgroundImage?: string;
color?: string;
}