/**
 * 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-sparebank1: "#{jokul-fonts.$webfonts-dir}/brands/sparebank1" !default;

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

    @font-face {
        font-family: "SpareBank 1";
        font-display: fallback;
        font-weight: 600;
        font-style: normal;
        src: url("#{$webfonts-dir-sparebank1}/SpareBank1-Medium-Web.woff2") format("woff2");
    }

    @font-face {
        font-family: "SpareBank 1 Display";
        font-display: fallback;
        font-weight: 600;
        font-style: normal;
        src: url("#{$webfonts-dir-sparebank1}/SpareBank1-Title-Medium-Web.woff2") format("woff2");
    }

    [data-brand="sparebank1"] {
        --jkl-font-family-regular: 'SpareBank 1', sans-serif;
        --jkl-font-family-display: 'SpareBank 1 Display', sans-serif;
        --jkl-font-family-mono: monospace;
        --jkl-font-family-icons: 'Jokul Icons', 'Jokul Icons Fallback', monospace;
        --jkl-font-weight-normal: 400;
        --jkl-font-weight-bold: 600;
    }
}
