import type { CSSVariablesResolver } from '@mantine/core';

export const cssVariablesResolver: CSSVariablesResolver = (theme) => ({
  variables: {
    '--mantine-color-page': theme.other.colorPage,
    '--mantine-color-surface': theme.other.colorSurface,
    '--mantine-color-ink': theme.other.colorInk,
    '--mantine-color-ink-soft': theme.other.colorInkSoft,
    '--mantine-color-muted': theme.other.colorMuted,
    '--mantine-color-line': theme.other.colorLine,
    '--mantine-color-orange-deep': theme.other.colorOrangeDeep,
    '--mantine-color-forest-deep': theme.other.colorForestDeep,
    '--mantine-container-width': theme.other.containerWidth,
    '--mantine-ease-out': theme.other.easeOut,
  },
  light: {},
  dark: {},
});
