ngx-mq
    Preparing search index...

    Function prefersContrast

    • Tracks the user's contrast preference via (prefers-contrast: ...).

      Parameters

      Returns Signal<boolean>

      A Signal<boolean> that is true while the contrast preference matches value.

      Must be called within an Angular injection context.

      readonly wantsMoreContrast = prefersContrast('more');