Skip to content

decide on inkey init obj shape #5

Description

@spencercap

current:

export type InkeyConfig = {
	src?: string; // url
	align?: 'center' | 'left' | 'right';
	darkMode?: boolean;
	styles?: InkeyStyleObj;
};

put everything in the styles object? including darkMode and align? or make everything peer for simplicity?
note: styles object might get larger one day...

do we want THIS level of customization or should we have a stylePreset field which takes a specific style id w hardcoded params stored someplace else?


more idea:

// more specific field names to account for future addins  
overlayTransparent?: boolean;
overlayBlurBehind?: boolean;
overlayColor?: string; // greyish
bgBlur?: boolean;
bgColor?: string;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions