/**
 * Do not edit directly, this file was auto-generated.
 */


@use "../../fonts" as jokul-fonts;

// Arver $webfonts-dir slik at konsumenter som flytter fontmappa bare trenger å
// konfigurere den ene variabelen. Kan fortsatt overstyres alene ved behov.
$webfonts-dir-dnb: "#{jokul-fonts.$webfonts-dir}/brands/dnb" !default;

@layer jokul.theme {
    @font-face {
        font-family: "DNB Sans";
        font-display: fallback;
        font-weight: 400;
        font-style: normal;
        src: url("#{$webfonts-dir-dnb}/DNB-Regular.woff2") format("woff2");
    }

    @font-face {
        font-family: "DNB Sans";
        font-display: fallback;
        font-weight: 500;
        font-style: normal;
        src: url("#{$webfonts-dir-dnb}/DNB-Medium.woff2") format("woff2");
    }

    @font-face {
        font-family: "DNB Mono";
        font-display: fallback;
        font-weight: 400;
        font-style: normal;
        src: url("#{$webfonts-dir-dnb}/DNBMono-Regular.woff2") format("woff2");
    }

    [data-brand="dnb"] {
        --jkl-font-family-regular: 'DNB Sans', sans-serif;
        --jkl-font-family-display: 'DNB Sans', sans-serif;
        --jkl-font-family-mono: 'DNB Mono', 'Adjusted Courier New Fallback', -apple-system, blinkmacsystemfont, monospace;
        --jkl-font-family-icons: 'Jokul Icons', 'Jokul Icons Fallback', monospace;
    }
}
