Skip to content

Color Fieldtype #1485

Description

@DenyEs

At the moment, we can only add colors in my format - hex, rgb, etc... I think it could be beneficial if we could define it as a label => value pair so it's easier to reference in templates.

I am using Blade for my front-end but I don't think that matters in this case. When I allow dark blue color to be chosen as BG color for a block or content row, I would ideally want to check what color has been selected in a template - if selected color is blue, apply white text rather than black. At the moment, I can only check it against a HEX value which still works, it's just a bit difficult to come back to make changes if there's more people in a team that pick up a project to make changes down the line.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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