// Copy of file icon fill colors from lime-elements.
// Source: lime-elements/src/components/file/icon-fill-colors.ts
//
// Stencil doesn't support exporting utility functions from a component
// library, so we duplicate them here until a proper shared solution exists.
const DEFAULT_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
const CALENDAR_ICON_FILL_COLOR = 'rgb(var(--color-cyan-dark))';
const EMAIL_ICON_FILL_COLOR = 'rgb(var(--color-gray-dark))';
const HTML_ICON_FILL_COLOR = 'rgb(var(--color-blue-dark))';
const TEXT_ICON_FILL_COLOR = 'rgb(var(--color-yellow-darker))';
const EXCEL_ICON_FILL_COLOR = 'rgb(var(--color-green-dark))';
const POWERPOINT_ICON_FILL_COLOR = 'rgb(var(--color-coral-dark))';
const WORD_ICON_FILL_COLOR = 'rgb(var(--color-sky-dark))';
const IMAGE_ICON_FILL_COLOR = 'rgb(var(--color-lime-dark))';
const VECTOR_GRAPHIC_FILL_COLOR = 'rgb(var(--color-magenta-dark))';
const PRESENTATION_ICON_FILL_COLOR = 'rgb(var(--color-blue-dark))';
const DOCUMENT_ICON_FILL_COLOR = 'rgb(var(--color-orange-dark))';
const SPREADSHEET_ICON_FILL_COLOR = 'rgb(var(--color-green-dark))';
const AUDIO_ICON_FILL_COLOR = 'rgb(var(--color-indigo-dark))';
const VIDEO_ICON_FILL_COLOR = 'rgb(var(--color-red-dark))';
const COMPRESSED_ICON_FILL_COLOR = 'rgb(var(--color-brown-default))';
const MESSAGE_ICON_FILL_COLOR = 'rgb(var(--color-yellow-dark))';
const PDF_ICON_FILL_COLOR = 'rgb(var(--color-red-dark))';
const DATA_ICON_FILL_COLOR = 'rgb(var(--color-glaucous-dark))';
export const DEFAULT_ICON_FILL = DEFAULT_ICON_FILL_COLOR;
export const filetypeFillColorTable = {
    msg: MESSAGE_ICON_FILL_COLOR,
    ics: CALENDAR_ICON_FILL_COLOR,
    ical: CALENDAR_ICON_FILL_COLOR,
    icalendar: CALENDAR_ICON_FILL_COLOR,
    ifb: CALENDAR_ICON_FILL_COLOR,
    email: EMAIL_ICON_FILL_COLOR,
    eml: EMAIL_ICON_FILL_COLOR,
    oft: EMAIL_ICON_FILL_COLOR,
    ost: EMAIL_ICON_FILL_COLOR,
    emlx: EMAIL_ICON_FILL_COLOR,
    html: HTML_ICON_FILL_COLOR,
    xml: HTML_ICON_FILL_COLOR,
    txt: TEXT_ICON_FILL_COLOR,
    rtf: TEXT_ICON_FILL_COLOR,
    dot: WORD_ICON_FILL_COLOR,
    doc: WORD_ICON_FILL_COLOR,
    docx: WORD_ICON_FILL_COLOR,
    dotx: WORD_ICON_FILL_COLOR,
    docm: WORD_ICON_FILL_COLOR,
    dotm: WORD_ICON_FILL_COLOR,
    odt: DOCUMENT_ICON_FILL_COLOR,
    pages: DOCUMENT_ICON_FILL_COLOR,
    pdf: PDF_ICON_FILL_COLOR,
    ppt: POWERPOINT_ICON_FILL_COLOR,
    pot: POWERPOINT_ICON_FILL_COLOR,
    pps: POWERPOINT_ICON_FILL_COLOR,
    pptx: POWERPOINT_ICON_FILL_COLOR,
    pptm: POWERPOINT_ICON_FILL_COLOR,
    potx: POWERPOINT_ICON_FILL_COLOR,
    potm: POWERPOINT_ICON_FILL_COLOR,
    ppam: POWERPOINT_ICON_FILL_COLOR,
    ppsx: POWERPOINT_ICON_FILL_COLOR,
    ppsm: POWERPOINT_ICON_FILL_COLOR,
    sldx: POWERPOINT_ICON_FILL_COLOR,
    sldm: POWERPOINT_ICON_FILL_COLOR,
    odp: PRESENTATION_ICON_FILL_COLOR,
    key: PRESENTATION_ICON_FILL_COLOR,
    xls: EXCEL_ICON_FILL_COLOR,
    xlsx: EXCEL_ICON_FILL_COLOR,
    csv: DEFAULT_ICON_FILL_COLOR,
    numbers: SPREADSHEET_ICON_FILL_COLOR,
    bmp: IMAGE_ICON_FILL_COLOR,
    jpg: IMAGE_ICON_FILL_COLOR,
    jpeg: IMAGE_ICON_FILL_COLOR,
    heic: IMAGE_ICON_FILL_COLOR,
    png: IMAGE_ICON_FILL_COLOR,
    gif: IMAGE_ICON_FILL_COLOR,
    psd: PRESENTATION_ICON_FILL_COLOR,
    ai: DOCUMENT_ICON_FILL_COLOR,
    svg: VECTOR_GRAPHIC_FILL_COLOR,
    svgz: VECTOR_GRAPHIC_FILL_COLOR,
    ep: VECTOR_GRAPHIC_FILL_COLOR,
    eps: VECTOR_GRAPHIC_FILL_COLOR,
    sketch: VECTOR_GRAPHIC_FILL_COLOR,
    mp3: AUDIO_ICON_FILL_COLOR,
    wav: AUDIO_ICON_FILL_COLOR,
    wma: AUDIO_ICON_FILL_COLOR,
    ogg: AUDIO_ICON_FILL_COLOR,
    flv: VIDEO_ICON_FILL_COLOR,
    h264: VIDEO_ICON_FILL_COLOR,
    mov: VIDEO_ICON_FILL_COLOR,
    mp4: VIDEO_ICON_FILL_COLOR,
    mwv: VIDEO_ICON_FILL_COLOR,
    zip: COMPRESSED_ICON_FILL_COLOR,
    '7z': COMPRESSED_ICON_FILL_COLOR,
    rar: COMPRESSED_ICON_FILL_COLOR,
    json: DATA_ICON_FILL_COLOR,
    yaml: DATA_ICON_FILL_COLOR,
    sql: DATA_ICON_FILL_COLOR,
    db: DATA_ICON_FILL_COLOR,
    dbf: DATA_ICON_FILL_COLOR,
};
