Skip to main content
VelinStyle v1.4.0
⌂ Home

Intent System 1.4.0

Serializable proposals describe a semantic change without granting mutation authority.

Intent shape

{
  type: 'density',
  target: { role: 'hero' },
  value: 'compact',
  reason: 'viewport',
  source: 'policy',
  timestamp: Date.now()
}

Implemented types

TypeSemantic target
themedata-velin-theme on configured root
contrastdata-velin-contrast
densitydata-velin-density
layoutdata-velin-layout
component-attributePer-component attribute allowlist
section-orderExisting role siblings under graph constraints

Targets and sources

Targets resolve inside the Adapt root by semantic role, configured root, or allowlisted Web Component identity. Sources are semantic audit metadata such as policy, ranker, or manual.

Forbidden categories

html, css, style, script, innerHTML, free class lists, event handlers, and out-of-scope selectors are rejected.