@use 'cds-vars-main' as vars;
@use 'cds-config-brands' as brand;

$style: brand.$brand-style-border-radius; // 'pill' !default;

$cds-avatar-br: vars.$cds-border-radius-25;
$cds-button-br: vars.$cds-border-radius-25;
$cds-badge-br: vars.$cds-border-radius-25;
$cds-toggle-br: vars.$cds-border-radius-full;
$cds-banner-br: vars.$cds-border-radius-25;
$cds-toast-br: vars.$cds-border-radius-25;
$cds-chip-br: vars.$cds-border-radius-full;
$cds-textfield-br: vars.$cds-border-radius-25;
$cds-tag-br: vars.$cds-border-radius-25;
$cds-tooltip-br: vars.$cds-border-radius-25;
$cds-tooltip-tip-br: vars.$cds-border-radius-25;
$cds-modal-br: vars.$cds-border-radius-50;
$cds-navigation-item-br: vars.$cds-border-radius-25;

@if $style =='sharp' {
    $cds-avatar-br: vars.$cds-border-radius-25;
    $cds-button-br: vars.$cds-border-radius-25;
    $cds-badge-br: vars.$cds-border-radius-25;
    $cds-toggle-br: vars.$cds-border-radius-full;
    $cds-banner-br: vars.$cds-border-radius-25;
    $cds-toast-br: vars.$cds-border-radius-25;
    $cds-chip-br: vars.$cds-border-radius-full;
    $cds-textfield-br: vars.$cds-border-radius-25;
    $cds-tag-br: vars.$cds-border-radius-25;
    $cds-tooltip-br: vars.$cds-border-radius-25;
    $cds-tooltip-tip-br: vars.$cds-border-radius-25;
    $cds-modal-br: vars.$cds-border-radius-50;
    $cds-navigation-item-br: vars.$cds-border-radius-25;
}

@else if $style =='soft' {
    $cds-avatar-br: vars.$cds-border-radius-50;
    $cds-button-br: vars.$cds-border-radius-50;
    $cds-badge-br: vars.$cds-border-radius-full;
    $cds-toggle-br: vars.$cds-border-radius-full;
    $cds-banner-br: vars.$cds-border-radius-50;
    $cds-toast-br: vars.$cds-border-radius-50;
    $cds-chip-br: vars.$cds-border-radius-full;
    $cds-textfield-br: vars.$cds-border-radius-50;
    $cds-tag-br: vars.$cds-border-radius-50;
    $cds-tooltip-br: vars.$cds-border-radius-50;
    $cds-tooltip-tip-br: vars.$cds-border-radius-50;
    $cds-modal-br: vars.$cds-border-radius-100;
    $cds-navigation-item-br: vars.$cds-border-radius-50;
}

@else if $style =='pill' {
    $cds-avatar-br: vars.$cds-border-radius-full;
    $cds-button-br: vars.$cds-border-radius-full;
    $cds-badge-br: vars.$cds-border-radius-full;
    $cds-toggle-br: vars.$cds-border-radius-full;
    $cds-banner-br: vars.$cds-border-radius-50;
    $cds-toast-br: vars.$cds-border-radius-50;
    $cds-chip-br: vars.$cds-border-radius-full;
    $cds-textfield-br: vars.$cds-border-radius-50;
    $cds-tag-br: vars.$cds-border-radius-full;
    $cds-tooltip-br: vars.$cds-border-radius-50;
    $cds-tooltip-tip-br: vars.$cds-border-radius-full;
    $cds-modal-br: vars.$cds-border-radius-100;
    $cds-navigation-item-br: vars.$cds-border-radius-full;
}