@use "sass:map"  // Import the map module

// Include each partial for font definitions
@use '_fonts/fira-mono'
@use '_fonts/jost'
@use '_fonts/kanit'
@use '_fonts/prompt'
@use '_fonts/work-sans'
@use '_fonts/roboto'
@use '_fonts/source-code-pro'
@use '_fonts/lora'

// Define a map for font families
$font-families: ('fira-mono': 'Fira Mono')
$font-families: map.set($font-families, 'roboto', "Roboto")
$font-families: map.set($font-families, 'jost', "Jost")
$font-families: map.set($font-families, 'kanit', "Kanit")
$font-families: map.set($font-families, 'lora', "Lora")
$font-families: map.set($font-families, 'source-code-pro', "Source Code Pro")
$font-families: map.set($font-families, 'prompt', "Prompt")
$font-families: map.set($font-families, 'work-sans', "Work Sans")
$font-families: map.set($font-families, 'arial', "Arial, sans-serif")
$font-families: map.set($font-families, 'arial-black', '"Arial Black", Gadget, sans-serif')

@mixin font-family($font-name)
  font-family: map.get($font-families, $font-name)
