CI / test (push) Failing after 16s
moon-plasma / moonplasma / MoonPlasma / Moon Plasma become chandra / Chandra everywhere: the WIT package (chandra:desktop, chandra:host, chandra:wm), the MoonBit module (chandra/desktop) and generated bindings, the Rust host, identifiers (ChandraCompositor), the session script (chandra-session) and desktop entry (chandra.desktop), config and data paths ($XDG_CONFIG_HOME/chandra, share/chandra/modules), env vars (CHANDRA_*), UI strings, docs and tests. The test fixture components are rebuilt against the renamed WIT. Saved panel.edn and state.edn are still read from the old $XDG_CONFIG_HOME/moon-plasma until the first save writes the new copy. The remote repository keeps its experiments/moon-plasma name for now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hi3L9oVBoRd373Qr4n
32 lines
666 B
Plaintext
32 lines
666 B
Plaintext
package chandra: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;
|
|
}
|