@use '../abstracts/cds-config' as config;

//Regular fontfaces
@font-face {
    font-family: "#{config.$config-typography-400-font-family}";
    src: url("#{config.$config-typography-400-path}") format("#{config.$config-typography-400-format}");
    font-weight: #{config.$config-typography-400-font-weight};
}

//Bold fontfaces
@font-face {
    font-family: "#{config.$config-typography-700-font-family}";
    src: url("#{config.$config-typography-700-path}") format("#{config.$config-typography-700-format}");
    font-weight: #{config.$config-typography-700-font-weight};
}

@font-face {
    font-family: '#{config.$config-icons-font-family}';
    src: url("#{config.$config-icons-path-eot}?byobyj");
    src: url('#{config.$config-icons-path-eot}?byobyj#iefix') format('embedded-opentype'),
    url('#{config.$config-icons-path-ttf}?byobyj') format('truetype'),
    url('#{config.$config-icons-path-woff}?byobyj') format('woff'),
    url('#{config.$config-icons-path-svg}?byobyj##{config.$config-icons-font-family}') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}