Skip to content

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

@FynnZW

Description

@FynnZW

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions