My Corne ZMK confige for a 42 key corne#74
Conversation
|
I think it might make sense to use the light mode in keymap-drawer for this, given the website itself is using light backgrounds. (Some previous discussion about dark mode in #60.) @precondition would it be useful if there was a subsection in https://github.com/precondition/keymapdb/blob/main/db_fields_reference.md#keymapimage-string regarding keymap-drawer? Two things I have in mind are:
perl -pe 's/(<svg width=)".*?"/$1"1024"/' < keymap.svg > keymapdb.svgedit: changed above to 1024px |
I don't think that's a good idea. I just checked the link: https://keymapdb.com/keymaps/cyb3rkun/ |
Here is a comparison of plain SVG when you click the image on the left, and the web page render on the right: The image is scaled up to fill the 960px width in the webpage, with the image itself being 900px wide.
Sure, that's personal preference. But the default dark mode in keymap-drawer isn't ideal for light backgrounds, since e.g. the layer header text is still white (with a dark outline for worst-case scenarios like this) rather than black. If you want dark-colored styling, I'd use |
|
Ok your dark mode suggestions would look a lot better. I'll update it when I have the chance. I assume you used the svg extra style to make the dark mode the way you wanted? |
|
Ok I've gotten it to render the dark mode the way you've suggested. one thing still bothers me, how do I get it to draw combos outside of the keymap like in your example: here I'm talking about the combo for 1AC and the others that draw the lines with the rounded corner to appear outside of the area where the keys are. I'd like to do that for my capslock keymap |
|
I just checked and if I attempt to attach the new one here then the layer headers are still white with black outline, I'll attach the configurations I have here: I've had to rename them to .txt otherwise I could not attach them |
|
@cyb3rkun I copied your questions to caksoylar/keymap-drawer#167 and will reply, let's continue there to not to go too off topic here. |

I just thought I'd share my keymap for others looking to find a starting point
It's a mostly minimal keymap with 6 combos for parentheses, brackets, semi-colon and colon.
This layout also has gaming layers, a navigation layer, a mouse-navigation layer, a function layer and a unified symbol/num layer that follows a numpad scheme with some acceptions.