Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“Allow custom colors” Color field setting #16249

Open
wants to merge 5 commits into
base: 5.6
Choose a base branch
from

Conversation

brandonkelly
Copy link
Member

@brandonkelly brandonkelly commented Dec 1, 2024

Description

Replaces Color fields’ Presets setting with “Palette”, and adds a new “Allow custom colors” setting.

The new Palette and “Allow custom colors” settings

“Allow custom colors” will be enabled for existing Color fields, and disabled for new Color fields by default.

Color fields without any Palette colors will continue presenting how they always have, as a manual color input.

Otherwise, they will present as a color select input, similar to the one within entry type settings, filled with the preset colors.

An expanded Color field

If “Allow custom colors” is enabled, a “Custom color…” option will be listed at the end. When that’s selected, a color input will be displayed below.

A Color field with a custom color value

Related issues

Copy link

linear bot commented Dec 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant