// // Copyright 2023 DXOS.org // import { mx } from '@dxos/ui-theme'; import { type ComponentFunction, type Elevation, type Theme } from '@dxos/ui-types'; import { tooltipContent } from './tooltipContent'; export type TooltipStyleProps = Partial<{ elevation: Elevation; }>; const arrow: ComponentFunction = (_props, ...etc) => mx('fill-inverse-surface', ...etc); export const tooltipTheme: Theme = { content: tooltipContent, arrow, };