Design System Utilities @ 0.1.1-alpha.0
    Preparing search index...

    Namespace Levels

    Utilities for dealing with shade level values.

    0.1.1-alpha.0

    Variables

    converter

    A key index for converting colour made shade levels to their opposite (e.g., dark to light modes).

    optional

    The shade level keys that can be optionally included in maps for this system.

    required

    The shade level keys always included in maps for this system.

    Functions

    toDark

    Converts the given shade level to its oppposite (via ColourUtilities.Levels.converter).

    Type Aliases

    Optional

    Shade levels that can be optionally included in maps for this system.

    Required

    Shade levels always included in maps for this system.