Foundation: tokens, theme, icons, i18n, Button, Spinner, gallery scaffold

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 11:59:19 -04:00
commit 119f9047e9
95 files changed
+2489

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
// Gallery tours every MujicaUI component in a native MyGo window.
//
// go run ./examples/gallery
package main
import (
"log"
"github.com/egoist/mygo"
"github.com/egoist/mygo/ui"
)
func main() {
app := newGallery()
mygo.App.WhenReady(func() {
mygo.NewWindow(mygo.WindowOptions{
Title: "MujicaUI Gallery",
Width: 1200,
Height: 800,
MinWidth: 800,
MinHeight: 600,
Content: ui.View(app.view),
})
})
if err := mygo.App.Run(); err != nil {
log.Fatal(err)
}
}