@use "sass:map";

// Default theme typography
$typography: (
  // primaryFontFamily: (
  //   -apple-system,
  //   BlinkMacSystemFont,
  //   "Segoe UI",
  //   Roboto,
  //   Helvetica,
  //   Arial,
  //   sans-serif,
  //   "Apple Color Emoji",
  //   "Segoe UI Emoji",
  //   "Segoe UI Symbol",
  // ),
  // secondaryFontFamily: "times",
  // baseSize: 16px,
  // thinWeight: 100,
  // lightWeight: 300,
  // normalWeight: 400,
  // mediumWeight: 500,
  // boldWeight: 600,
  // heavyWeight: 900,
) !default;

// Define empty customisable map for theme
$theme-typography: () !default;

// Merge theme typography with custom typography
@each $key, $value in $theme-typography {
  $typography: map.set($typography, $key, $value);
}

$cached-defaults: map.merge($cached-defaults, $typography) !global;
