@use 'cds-config-brands' as brand;
@use 'cds-icon-ph-vars' as ph;
@use 'cds-icon-default-vars' as df;

$icons: brand.$config-icons;

$config-icons-font-family: 'CDSIcons';

$config-icons-path-woff: brand.$config-resources-path + '/icons/CDSPhosphor.woff';
$config-icons-path-eot: brand.$config-resources-path + '/icons/CDSPhosphor.eot';
$config-icons-path-ttf: brand.$config-resources-path + '/icons/CDSPhosphor.ttf';
$config-icons-path-svg: brand.$config-resources-path + '/icons/CDSPhosphor.svg';
$config-icon-size-factor: .9;

$default-icon-information: ph.$cds-ph-info-fill;
$default-icon-success: ph.$cds-ph-check-circle-fill;
$default-icon-alert: ph.$cds-ph-warning-circle-fill;
$default-icon-error: ph.$cds-ph-x-circle-fill;
$default-icon-close: ph.$cds-ph-x;
$default-icon-spinner: ph.$cds-ph-spinner-s;
$default-icon-chevron: ph.$cds-ph-chevron-right;

@if $icons =='v1' {
    $config-icons-path-woff: brand.$config-resources-path + '/icons/CDSIcons.woff';
    $config-icons-path-eot: brand.$config-resources-path + '/icons/CDSIcons.eot';
    $config-icons-path-ttf: brand.$config-resources-path + '/icons/CDSIcons.ttf';
    $config-icons-path-svg: brand.$config-resources-path + '/icons/CDSIcons.svg';
    $config-icon-size-factor: 1;

    $default-icon-information: df.$cds-ico-info-circle-solid;
    $default-icon-success: df.$cds-ico-check-circle-solid;
    $default-icon-alert: df.$cds-ico-warning-circle-solid;
    $default-icon-error: df.$cds-ico-close-circle-solid;
    $default-icon-close: df.$cds-ico-close;
    $default-icon-spinner: df.$cds-ico-spinner-s;
    $default-icon-chevron: df.$cds-ico-mini-arrow-right;
}