Add palettes and frame settings

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 15:31:34 -04:00
1 parent 7dfb19d1a9
commit 1af6cd61bf
7 files changed
+542 -1

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ Imports point down only. Same-tier imports are forbidden. `internal/archtest` en
- Signatures and results: PRD §5.1. Zero options give the default look. Sizes in options are dots.
- `k := pixel.K(c)` once per component; layout sizes through `k.D(n)`.
- Row builders that MyGo runs during layout (`List`, `GridView`, `Outline`) go through `pixel.Lazy(c, row)`.
- Copy shown by a component comes from `k.Msg`; business copy comes from the caller.
- Fail fast: panic on programmer errors such as bad options. Never swallow an error.
- Composites log state changes: `slog.Debug("8bit: <component> <event>", …)`. Never log secrets.