MapLayr
    Preparing search index...

    Interface ColorTransformationModePrefersColorScheme

    The colour transformation phase is driven by the user's preferred colour scheme (prefers-color-scheme).

    The map view listens for changes to the user's preferred colour scheme and updates the colour transformation phase accordingly.

    interface ColorTransformationModePrefersColorScheme {
        dark: number;
        kind: "prefersColorScheme";
        light: number;
        unspecified: number;
    }
    Index

    Properties

    dark: number

    The colour transformation phase to use when the user has specified a dark colour scheme.

    kind: "prefersColorScheme"
    light: number

    The colour transformation phase to use when the user has specified a light colour scheme.

    unspecified: number

    The colour transformation phase to use when the user has not specified a preferred colour scheme.