v0.16.0: Dark mode and modifier functions parsing #92
caksoylar
announced in
Announcements
Replies: 2 comments 2 replies
-
|
Thank you @caksoylar, such a wonderful update. I will try dark mode ASAP :D |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
It looks like Safari still doesn’t support SVGs inheriting color scheme, unfortunately: https://bugs.webkit.org/show_bug.cgi?id=199134 So auto mode always resolves to light variant on Safari. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This release contains two major new features: parsing of modifier functions and dark mode support! It also contains a couple of smaller breaking changes, so make sure to check them out below.
Features
Parsing
LC(V)in ZMK andLCTL(KC_V)in QMK, used for sending modified keycodes like ctrl+v events with one key pressCtl+ Vrepresentation, this is configurable via the newparse_config.modifier_fn_mapsettingHyper+ XforLC(LS(LG(LA(X))))LC(V): Pasteinparse_config.zmk_keycode_maporC(V): Pasteinqmk_keycode_map, they will no longer work becauseLCandVparts are processed separately. If you want to preserve the mapping, instead define them inraw_binding_maplike&kp LC(V): Pastefor ZMK orC(KC_V): Pastefor QMK.TT(LAYER)by @m-demare in feat: Add parsing for tap-toggle layers #87Drawing
draw_config.dark_modesetting is on, or added under@media (prefers-color-scheme: dark)when set to"auto"to fit the web page or OS light/dark setting.falsewhich means light mode only, so this is not a breaking change for CLI users. The web app overrides it to"auto".dark_mode: falsedark_mode: truedark_mode: autoAdded support for appending footer text to produced SVGs using
draw_config.footer_text<text>element but it isn't escaped, so you can add e.g. links using<a>tagsAdded support for using Phosphor Icons, check out how to use them in the README section
CLI
-o/--outputparameter to allkeymapsubcommands, to write their output to the given path rather than stdoututf-8encoding rather than the locale-specific one (which can break many things). This release also incorporates a couple fixes that ensure operation in Windows (tested in powershell)keymap draw --ortho-layoutno longer supports the-oshort form since that is taken over by the output parameterFull Changelog: v0.15.0...v0.16.0
This discussion was created from the release v0.16.0: Dark mode and modifier functions parsing.
Beta Was this translation helpful? Give feedback.
All reactions