import type { CSSProperties } from 'react';

/** React's CSSProperties has no slot for custom properties; this is the one typed place that casts. */
export function cssVars(vars: Record<`--${string}`, string | number>): CSSProperties {
  return vars as CSSProperties;
}
