Skip to content

v0.7.0: Custom SVG glyphs support

Compare
Choose a tag to compare
@caksoylar caksoylar released this 16 May 01:23
· 284 commits to main since this release

This is a large and overdue update, with various improvements to both parsing and drawing functionality. Highlight of this update is the ability to integrate custom SVG glyphs which can be automatically fetched from a number of fixed sources like Tabler or MDI.

Features

  • Added the ability to use custom SVG glyphs as key legends by @lugoues, see the README section for details and showcase.yaml for an example
    • SVG glyphs can be defined in the draw_config.glyphs field of the configuration, or fetched from URLs
    • Four icon sources are currently supported for automated fetching with a short-hand, e.g. $$tabler:volume$$
    • Fetched SVGs are cached in a user cache folder to speed up consequent runs
  • Added a slide field to the combo definitions to allow more flexible combo positioning, with expected value between -1 and 1
    • Changing this value "slides" the combo box along an axis between keys -- can be used for moving top/bottom combo boxes left/right, left/right boxes up/down, or mid combos between two keys
  • keymap parse now outputs a symbol for transparent keys and assigns it a CSS class that grays out the legend by default
    • Configurable via parse_config.trans_legend value
  • Added a reusable Github workflow to automatically generate keymap SVGs in ZMK user config repos

Fixes

  • Fixed unnecessary drawing of combo arcs, which are usually hidden behind the combo box

Misc

  • Added physical layouts for dao, glove80 and adv360, latter using the 84 binding transform used in the official config
  • Added a devcontainer for development in VS Code, by @lugoues

New Contributors

  • Various contributions detailed above by @lugoues
  • @calumy made their first contribution in #19

Full Changelog: v0.6.0...v0.7.0