Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

537 B
Raw Blame
import type { PreviewDensity } from './previewDensity';

/** The bar under Preview's stage: the filmstrip, or the compare toolbar in its place. */
export const PREVIEW_DOCK_BAR_PROPS = {
  bg: 'bg.subtle',
  borderColor: 'border.subtle',
  borderTopWidth: '1px',
  flexShrink: 0,
  px: '2',
  w: 'full',
} as const;

/** The bar's height at a density; minimal Preview shows no filmstrip, so it shares compact's. */
export const getPreviewDockBarHeight = (density: PreviewDensity): string =>
  density === 'full' ? '3.75rem' : '2.75rem';