Commit 2f3597527d29

Vincent Demeester <vincent@sbr.pm>
2025-11-21 23:27:17
fix(keyboards): Fix moonlander empty key styling and document combo relationship
- Prevent empty keys in combo diagrams from appearing disabled - Improve combo box contrast for better visibility - Document that moonlander maps eyelash_corne layout with identical combos 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 6a4d3c6
Changed files (2)
keyboards
keyboards/moonlander/README.org
@@ -22,6 +22,8 @@
 
 [[file:../moonlander.svg]]
 
+*Note*: The Moonlander configuration is an almost direct mapping of the [[file:../eyelash_corne/README.org][Eyelash Corne]] layout. The keymap visualization above does not include combo diagrams (QMK limitation), but the combos are identical. See the [[file:../eyelash_corne.svg][Eyelash Corne visualization]] for a complete view of combos.
+
 * Layers
 
 | Layer | Name       | Description                                                      |
keyboards/moonlander.svg
@@ -133,8 +133,8 @@ rect.side {
 
 /* color accent for combo boxes */
 rect.combo, rect.combo-separate {
-    fill: #666;
-    stroke: #aaa;
+    fill: #4a5568;
+    stroke: #cbd5e0;
     stroke-width: 2;
 }
 
@@ -195,7 +195,8 @@ text.trans {
 
 /* styling for unused/empty keys (XXXXXXX, KC_NO) */
 /* Target keys that have neither text nor glyph (use) elements */
-g.key:not(:has(text)):not(:has(use)) rect.key {
+/* Exclude combo diagram keys */
+g[class*='layer-']:not([class*='combopos']) g.key:not(:has(text)):not(:has(use)) rect.key {
     fill: #0d1117;
     stroke: #30363d;
     stroke-dasharray: 2, 2;
@@ -355,6 +356,11 @@ path.combo {
     stroke: white;
     stroke-width: 4px;
 }
+
+.layer-lock {
+    transform: scale(1.8);
+    transform-box: fill-box;
+}
 </style>
 <g transform="translate(30, 0)" class="layer-L0">
 <text x="0" y="28" class="label" id="L0">L0</text>