Skip to content
weftGitHub

Diagnostics

D025

Unknown name in a style group: an axis value, axis, state or part a call site uses that the group doesn't have, or an intent or token that isn't in the vocabulary (also a type error).

Fix: Use one of the names listed (the closest come first); weft style explain <group> shows them all.

Status in weft@0.1.0: reported.

Triggers it:

tsx
import { group } from '@weft-js/core/style'const card = group('card', { axes: { status: { open: {}, late: {} } } })export function X() { return <article {...card({ status: 'lost' })} /> }

More: weft docs style.