nim-easygui: New styling features added!
I've just added some exciting new features to nim-easygui that make it even more beautiful and user-friendly!
New Features Added
What's New
The library now comes with a beautiful default theme that looks professional out of the box:
import easygui
# Now creates beautifully styled windows automatically!
discard createWindow("🎨 Styled App", 400, 300)
addLabel("🎉 Much bigger, clearer text!")
addLabel("🌱 Beautiful light green background!")
addButton("✨ Test the new styling") do:
showMessage("Looks amazing! 🚀")
showWindow()
Before vs After
Before: Plain white background, small 12px fonts, basic styling, no emoji support
After: Light green background, big 16px fonts, professional appearance, full emoji support
The styling is automatic - no configuration needed! Just use the same simple syntax and get beautiful results.
Auto-GUI Still Works
The auto-GUI generation feature works perfectly with the new styling and emoji support:
proc calculateArea(width: float, height: float): float =
## 📐 Calculate rectangle area
## width: Width in meters
## height: Height in meters
result = width * height
# Beautiful styled GUI with emojis generated automatically!
autoGUI(calculateArea)
Technical Details
Repository
https://github.com/BeigeHornet151/nim-easygui
The visual improvements make the library much more appealing for real applications while keeping the same simple syntax ....