g3-toolkit API Reference
    Preparing search index...

    Type Alias OverlayTone

    OverlayTone: "neutral" | "info" | "warning" | "danger"

    Semantic tone an overlay asks its members to be drawn in.

    A closed vocabulary rather than a color: the toolkit owns the rendering, so a host that ships a theme keeps control of what "danger" looks like. Overlays are generic (any algorithm can emit one), which is why this is a tone and not a SHACL severity.

    Precedence when a node belongs to several active overlays is the declaration order here, strongest last: the worst news wins, so a node that is both a violation and an info stays red.