Skip to content

Badge

module Badge
AssemblyNacara.Theme.Default
Attributes[<RequireQualifiedAccess>]

The badge kinds this theme paints.

A kind is only a styling hook, and any string is one: a site that styles [data-kind="internal"] in a stylesheet of its own passes "internal" and it works. These are the five the theme already has colours for.

Functions and values

[<Literal>] Beta: string = "beta"

Something released ahead of being settled. Drawn in the warning colour.

[<Literal>] Deprecated: string = "deprecated"

Something on its way out. Drawn in the danger colour.

[<Literal>] Experimental: string = "experimental"

Something that may still move. Drawn in the warning colour.

[<Literal>] New: string = "new"

Something that was not here before. Drawn in the tip colour.

[<Literal>] Updated: string = "updated"

Something that changed. Drawn in the tip colour.