kirby-colors icon indicating copy to clipboard operation
kirby-colors copied to clipboard

$field->toMostReadable() not using contrast values from blueprint

Open FynnZW opened this issue 2 years ago • 3 comments

The contrast list from the blueprint is not being used. The function always returns #000 or #FFF.

My blueprint:

    backgroundcolor:
      type: colors
      contrast:
        - '#112233'
        - '#778899'

FynnZW avatar Jun 21 '22 15:06 FynnZW