import type { DefaultMantineColor, MantineColorsTuple } from '@mantine/core';

export type HidrotintasColor = 'brand' | 'accent' | 'sage' | 'forest' | 'neutral';

type ThemeColor = HidrotintasColor | DefaultMantineColor;

declare module '@mantine/core' {
  export interface MantineThemeColorsOverride {
    colors: Record<ThemeColor, MantineColorsTuple>;
  }
}

export const palette = {
  brand: ['#fff3e9', '#ffe6d3', '#ffd2ad', '#ffbd86', '#f5a461', '#eb8a45', '#e3782f', '#c9621c', '#a84f18', '#833d14'],
  accent: ['#fff0e9', '#ffded0', '#ffc1a5', '#ffa179', '#ff8050', '#f76835', '#f15a22', '#dc4814', '#b9370f', '#912d10'],
  sage: ['#f3f7ee', '#e6eedc', '#d2e0c2', '#b9cf9f', '#9fbd7d', '#829f61', '#6d8f45', '#5d7a43', '#4f6839', '#3f5a32'],
  forest: ['#eaf2ee', '#d8e6df', '#b8d0c4', '#91b3a2', '#688f7c', '#3f6b58', '#1d3b30', '#19352b', '#152e25', '#10251e'],
  neutral: ['#fffcf8', '#f4f1eb', '#e9e5de', '#d9d4cb', '#c3beb5', '#a7a39a', '#8b887f', '#6a756e', '#4f5b54', '#3e4d45'],
} satisfies Record<HidrotintasColor, MantineColorsTuple>;
