Skip to content

AI-native design editor. Open-source Figma alternative.

533 B
Raw Blame
/**
 * The surface of everything that floats above the editor: popovers, menus, lists, pickers,
 * and cards. The ring, unlike a border, outlines it in both themes without changing its size.
 */
export const floatingSurface =
  'rounded-xl bg-panel text-surface shadow-[0_0_0_1px_var(--color-border),0_8px_30px_rgb(0_0_0/0.4)]'

/** A one-line tooltip: the same edge and shadow on a compact shape. */
export const tooltipSurface =
  'rounded-md bg-panel text-surface shadow-[0_0_0_1px_var(--color-border),0_8px_30px_rgb(0_0_0/0.4)]'