v0.7.0: Custom SVG glyphs support
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
- SVG glyphs can be defined in the
- 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, ormid
combos between two keys
- Changing this value "slides" the combo box along an axis between keys -- can be used for moving
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
- Configurable via
- Added a reusable Github workflow to automatically generate keymap SVGs in ZMK user config repos
- See the section in README on how to integrate to your own config repo
Fixes
- Fixed unnecessary drawing of combo arcs, which are usually hidden behind the combo box
Misc
- Added physical layouts for
dao
,glove80
andadv360
, latter using the 84 binding transform used in the official config - Added a
devcontainer
for development in VS Code, by @lugoues
New Contributors
Full Changelog: v0.6.0...v0.7.0