$fa_to_mdi: (
  "arrows-h":    "arrow-left-right",
  "arrows-v":    "arrow-up-down",
  "bar-chart":   "chart-bar",
  "bell-o":      "bell",
  "building":    "office-building",
  "building-o":  "office-building",
  "calendar":    "calendar",
  "check":       "check",
  "clock-o":     "clock",
  "exchange":    "arrow-left-right",
  "filter":      "filter",
  "paperclip":   "paperclip",
  "plus-square": "plus",
  "refresh":     "refresh",
  "reply":       "reply",
  "search":      "magnify",
  "star":        "star",
  "user":        "account",
  "users":       "account-group"
);

$mdi_codes: (
  "account":                     "\0F0004",
  "account-alert":               "\0F0005",
  "account-box":                 "\0F0006",
  "account-box-multiple":        "\0F0934",
  "account-clock":               "\0F0B56",
  "account-group":               "\0F0849",
  "account-outline":             "\0F0013",
  "alert":                       "\0F0026",
  "arrow-left":                  "\0F004D",
  "arrow-left-bold":             "\0F0731",
  "arrow-left-right":            "\0F0E73",
  "arrow-left-right-bold":       "\0F0E74",
  "arrow-right":                 "\0F0054",
  "arrow-right-bold":            "\0F0734",
  "arrow-up-down":               "\0F0E79",
  "at":                          "\0F0065",
  "bell":                        "\0F009A",
  "book-open-variant":           "\0F14F7",
  "calendar":                    "\0F00ED",
  "calendar-alert":              "\0F0A31",
  "calendar-multiple":           "\0F00F1",
  "cancel":                      "\0F073A",
  "certificate":                 "\0F0124",
  "chart-bar":                   "\0F0128",
  "check":                       "\0F012C",
  "check-bold":                  "\0F0E1E",
  "clipboard-check":             "\0F014E",
  "clock":                       "\0F0954",
  "close":                       "\0F0156",
  "close-thick":                 "\0F1398",
  "cog-transfer":                "\0F105B",
  "cogs":                        "\0F08D6",
  "collapse-all":                "\0F0AA6",
  "color-helper":                "\0F0179",
  "database-search":             "\0F0866",
  "delete":                      "\0F01B4",
  "dots-vertical":               "\0F01D9",
  "download":                    "\0F01DA",
  "email":                       "\0F01EE",
  "email-alert":                 "\0F06CF",
  "email-multiple":              "\0F0EE7",
  "email-search":                "\0F0961",
  "exclamation-thick":           "\0F1238",
  "expand-all":                  "\0F0AB4",
  "eye":                         "\0F0208",
  "file-certificate":            "\0F1186",
  "file-document":               "\0F0219",
  "file-key":                    "\0F1184",
  "file-tree":                   "\0F0645",
  "filter":                      "\0F0232",
  "filter-off":                  "\0F14EF",
  "folder-alert":                "\0F0DCC",
  "folder-text":                 "\0F0C82",
  "form-select":                 "\0F1400",
  "format-align-center":         "\0F0260",
  "format-align-justify":        "\0F0261",
  "format-align-left":           "\0F0262",
  "format-align-right":          "\0F0263",
  "format-bold":                 "\0F0264",
  "format-italic":               "\0F0277",
  "format-list-bulleted":        "\0F0279",
  "format-list-bulleted-square": "\0F0279",
  "format-list-checks":          "\0F0756",
  "format-list-numbered":        "\0F027B",
  "format-strikethrough":        "\0F0280",
  "format-text-variant":         "\0F0E32",
  "format-underline":            "\0F0287",
  "help":                        "\0F02D6",
  "import":                      "\0F02FA",
  "key":                         "\0F0306",
  "label":                       "\0F0315",
  "link-variant":                "\0F0339",
  "lock":                        "\0F033E",
  "lock-alert":                  "\0F08EE",
  "magnify":                     "\0F0349",
  "menu":                        "\0F035C",
  "menu-right":                  "\0F035F",
  "message-text":                "\0F0369",
  "minus":                       "\0F0374",
  "minus-box-outline":           "\0F06F2",
  "more":                        "\0F037B",
  "office-building":             "\0F0991",
  "open-in-new":                 "\0F03CB",
  "package":                     "\0F03D3",
  "paperclip":                   "\0F03E2",
  "pen":                         "\0F03EA",
  "pencil":                      "\0F03EB",
  "phone":                       "\0F03F2",
  "playlist-check":              "\0F05C7",
  "plus":                        "\0F0415",
  "plus-box-outline":            "\0F0704",
  "power":                       "\0F0425",
  "printer":                     "\0F042A",
  "progress-wrench":             "\0F0CBD",
  "refresh":                     "\0F0450",
  "reply":                       "\0F045A",
  "robot":                       "\0F06A9",
  "server":                      "\0F048B",
  "sort-ascending":              "\0F04BC",
  "square-edit-outline":         "\0F090C",
  "star":                        "\0F04CE",
  "tag-multiple":                "\0F04FB",
  "timeline-text":               "\0F0BD3",
  "tune":                        "\0F062E",
  "undo":                        "\0F054C",
  "wrench":                      "\0F05B7"
);

@function mdi($name) {
  @return map-get($map: $mdi_codes, $key: $name);
}
