Molkit 0.4.1
Released April 9, 2026
Improvements
- Color Scheme Editor cells show element color as full background with auto-contrast black/white text
- Category legend simplified to text-only clickable pills (no colored swatches)
- Corner dot on cells has border outline for visibility against any background
- "Check against" background visually updates the periodic table grid and code view for accurate contrast preview
- Custom "Check against" color uses the full ColorPicker instead of a hex text input
- Scheme dropdown added to Code View toolbar (syncs with Visual view dropdown)
- "Auto" column header checkbox toggles all visible rows at once (batch enable/disable)
- "Edit Element Colors" button in Structure Settings closes the dialog before opening the editor
- Consistent select/dropdown styling across Structure Settings dialog (preset, scheme, charges, projections)
- Structure Settings preset row uses transparent background to avoid gray-on-gray with tab bar
- Code view text auto-switches to light/dark based on contrast check background
- "Apply to All Tabs" shows confirmation dialog with tab count before applying
- "Save as Scheme" button added to Color Scheme Editor footer
Bug Fixes
- Color Scheme Editor no longer renders above menus, About, and What's New dialogs (z-index corrected from 99999 to 1999)
- Applying custom color schemes now correctly enables colorByElement (was only working for built-in schemes)
- Functional group toolbar labels (OH, NH2, COOH) use primary element color for all characters (H no longer invisible in CPK scheme)
- H element button in toolbar now responds to scheme color changes (was missing CSS variable rule)
- "Modified" diff indicator no longer false-positives on elements not defined by the current scheme (V, Mo etc.)
- ColorPicker circle indicator positions correctly on the color field when opening (was always top-left)
- ColorPicker transitions smoothly between elements without requiring double-click
- "Edit Element Colors" button in Settings dialog works correctly (was using unreachable inline onclick)