Skip to content

Commit

Permalink
refactor: Prefer unpkg for MDI glyphs as well
Browse files Browse the repository at this point in the history
Cannot use it for MDIL because they have "<?xml" and DOCTYPE preamble
  • Loading branch information
caksoylar committed Mar 28, 2024
1 parent e20025a commit e1c850c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap_drawer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class KeySidePars(BaseModel):
# e.g. `$$material:settings$$` will use the value for `material` and replace `{}` with `settings`
glyph_urls: dict[str, str] = {
"tabler": "https://unpkg.com/@tabler/icons/icons/outline/{}.svg",
"mdi": "https://raw.githubusercontent.com/Templarian/MaterialDesign-SVG/master/svg/{}.svg",
"mdi": "https://unpkg.com/@mdi/svg/svg/{}.svg",
"mdil": "https://raw.githubusercontent.com/Pictogrammers/MaterialDesignLight/master/svg/{}.svg",
"material": "https://fonts.gstatic.com/s/i/short-term/release/materialsymbolsoutlined/{}/default/48px.svg",
}
Expand Down

0 comments on commit e1c850c

Please sign in to comment.