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

    Function mergeVideoGridColors

    • Merges user-provided colors with default VideoGrid colors.

      Parameters

      • OptionaluserColors: Partial<VideoGridColors>

        Partial color configuration to merge with defaults

      Returns VideoGridColors

      Complete color configuration with defaults filled in

      Allows partial overrides - any properties not specified in userColors will use the default values.

      const colors = mergeVideoGridColors({ dominantBorder: '#ff0000' });
      // Result: { background: '#212121', dominantBorder: '#ff0000' }