RUST-NATIVE CSS TOOLCHAINPUBLIC PREVIEW / MEDELLÍN / 2026

Typed styles

Types at author time. CSS at run time.

Stable 128-bit identities connect Rust source, emitted classes, manifests, and physical declarations.

One literal, one stable identity

pc! accepts one visible string literal. The macro parses semantics, rejects conflicting slots, and returns a sealed Style.

const CARD: Style = pc!(
  "grid gap-4 rounded-xl border border-line p-6 shadow-md"
);

Visible state spaces

pcx! compiles every visible branch combination and selects one identity at runtime. Independent clauses that can collide are rejected.

let style = pcx!(
  "block",
  if active { "opacity-100" } else { "opacity-50" }
);

Follow the physical effect

Manifest schema 5 joins semantic declarations to final rules, conditions, byte ranges, and synthesized effects such as box-shadow.

Loading search index…

↑↓ navigate · enter open · esc close