Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

264 B
Raw Blame
import type { DefaultMantineColor, MantineColorShade } from "@mantine/core";
import { DEFAULT_THEME } from "@mantine/core";

export const getMantineColor = (color: DefaultMantineColor, shade: MantineColorShade) =>
  DEFAULT_THEME.colors[color]?.[shade] ?? "#fff";