Files
mtdb_movie/common/resources/client/background-selector/background-selector-config.ts
T
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02: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;
}