@use 'ecl/ec/color' as eclEcColor;

$eui-base-tokens-colors-ecl-ec: (
    // 2: forced default main bg color
    grey: getPalette(map-get(eclEcColor.$color, 'dark'), false, true),
    primary: getPalette(map-get(eclEcColor.$color, 'primary')),
    info: getPalette(map-get(eclEcColor.$color, 'info')),
    success: getPalette(map-get(eclEcColor.$color, 'success')),
    warning: getPalette(map-get(eclEcColor.$color, 'warning')),
    danger: getPalette(map-get(eclEcColor.$color, 'error')),
    accent: getPalette(map-get(eclEcColor.$color, 'secondary')),
    neutral: getPalette(map-get(eclEcColor.$color, 'neutral')),

    // specific color usage, has to be define to have inversion in dark-mode
    extra-code: (
        100: getColorVariant(#b80056, 100),
        25: getColorVariant(#b80056, 25),
    )
);
