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+ V
representation, this is configurable via the newparse_config.modifier_fn_map
settingHyper+ X
forLC(LS(LG(LA(X))))
LC(V): Paste
inparse_config.zmk_keycode_map
orC(V): Paste
inqmk_keycode_map
, they will no longer work becauseLC
andV
parts are processed separately. If you want to preserve the mapping, instead define them inraw_binding_map
like&kp LC(V): Paste
for ZMK orC(KC_V): Paste
for QMK.TT(LAYER)
by @m-demare in feat: Add parsing for tap-toggle layers #87Drawing
draw_config.dark_mode
setting is on, or added under@media (prefers-color-scheme: dark)
when set to"auto"
to fit the web page or OS light/dark setting.false
which means light mode only, so this is not a breaking change for CLI users. The web app overrides it to"auto"
.dark_mode: false
dark_mode: true
dark_mode: auto
Added 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
/--output
parameter to allkeymap
subcommands, to write their output to the given path rather than stdoututf-8
encoding 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-layout
no longer supports the-o
short 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