import { Contrast as Diagnostic } from "../diagnostic/contrast" ; import { Err , Ok } from "@siteimprove/alfa-result" ; export namespace Contrast { export const HasSufficientContrast = ( highest , threshold , pairings ) => Ok . of ( Diagnostic . of ( `The highest possible contrast of the text is ${ highest }:1 which is
        above the required contrast of ${ threshold }:1` , threshold , pairings ) ) ; export const HasInsufficientContrast = ( highest , threshold , pairings ) => Err . of ( Diagnostic . of ( `The highest possible contrast of the text is ${ highest }:1 which is
        below the required contrast of ${ threshold }:1` , threshold , pairings ) ) ; }