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

    Namespace ColourUtilities

    Utility functions, schemas, and types for dealing with colour values in the system.

    0.1.0-alpha

    Variables

    LevelConverter
    SingleShade

    Functions

    getDarkLevel
    mixColours
    toHex
    toHSL
    toLCH
    toRGB

    Type Aliases

    SingleShade

    The parsed output of the SingleShade schema.

    SingleShade_Input

    Allowed input for the SingleShade schema.

    Value

    Any of the single colour values.

    Value_All

    All of the single colour values as an object.

    Value_Hex

    A colour value in the Hex space.

    Value_HSL

    A colour value in the HSL space.

    Value_LCH

    A colour value in the LCH space.

    Value_RGB

    A colour value in the RGB space.

    Namespaces

    Levels

    Utilities for dealing with shade level values.

    ShadeMaps

    Utilities for working with shade maps (100-900 levels from light to dark).

    toString