WIT package, MoonBit components, Node host and tests (WIP)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-24 23:36:35 +00:00
1 parent e5548fc067
commit e0bde1d150
125 files changed
+8681

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
package moonplasma:desktop@0.1.0;
/// Look-and-feel design tokens (Plasma "Look and Feel"/colour scheme analogue).
interface theme {
use types.{color};
record palette {
desktop-top: color,
desktop-bottom: color,
surface: color,
surface-hover: color,
surface-popup: color,
foreground: color,
foreground-muted: color,
accent: color,
accent-foreground: color,
border: color,
}
record tokens {
name: string,
palette: palette,
font-size: u32,
radius: u32,
spacing: u32,
panel-height: u32,
}
/// Read on every render so a theme swap shows up on the next frame.
get-tokens: func() -> tokens;
}