Hiyve Components - v1.0.0
    Preparing search index...

    Interface DevicePreviewColors

    Color configuration for the DevicePreview component.

    Controls the visual appearance of the video preview and audio level indicator. The audio level colors provide visual feedback based on volume thresholds.

    const customColors: Partial<DevicePreviewColors> = {
    videoBackground: '#1a1a1a',
    progressBarLow: '#22c55e',
    progressBarMedium: '#eab308',
    progressBarHigh: '#ef4444',
    };

    <DevicePreview colors={customColors} />
    interface DevicePreviewColors {
        errorOverlayBackground: string;
        progressBarHigh: string;
        progressBarLow: string;
        progressBarMedium: string;
        videoBackground: string;
    }
    Index

    Properties

    errorOverlayBackground: string

    Background color for error overlay

    progressBarHigh: string

    Progress bar color when audio level is high (clipping risk)

    progressBarLow: string

    Progress bar color when audio level is low (good)

    progressBarMedium: string

    Progress bar color when audio level is medium (normal)

    videoBackground: string

    Background color for video container when no video is playing