Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Add support for opacity (alpha) on color field type #6118

Closed
sc0ttkclark opened this issue Sep 3, 2021 · 2 comments · May be fixed by #6197
Closed

Add support for opacity (alpha) on color field type #6118

sc0ttkclark opened this issue Sep 3, 2021 · 2 comments · May be fixed by #6197
Assignees
Labels
Type: Enhancement Enhancements to features that already exist, but are not major additions

Comments

@sc0ttkclark
Copy link
Member

A few changes to make this possible:

  • In our Block implementation, we should support removing disableAlpha
  • In our DFV field type for color, we should support removing disableAlpha
  • Add the UI option to the color field type

The caveat here is that Iris does not support alpha so this would only be supported for DFV/Block fields and not any fields using 'disable_dfv' => true

@sc0ttkclark sc0ttkclark added the Type: Enhancement Enhancements to features that already exist, but are not major additions label Sep 3, 2021
@sc0ttkclark sc0ttkclark added this to the Pods 2.9 milestone Sep 3, 2021
@sc0ttkclark sc0ttkclark self-assigned this Sep 3, 2021
@JoryHogeveen JoryHogeveen linked a pull request Oct 20, 2021 that will close this issue
4 tasks
@vesna-droid
Copy link

Could color field also have an option of accepting color names? Like red, blue, cyan.., etc. Could be useful for our users who have names for their official colors but don't know the hex code of it.

@JoryHogeveen
Copy link
Member

Hi @vesna-droid
This would be unrelated to this topic. Please create a new one.
Keep in mind that we are using WordPress core features here, as long as WP core doesn't support this we probably won't either.

One thing we might include at some point are predefined color pallets from your theme.

@sc0ttkclark sc0ttkclark modified the milestones: Pods 2.9, Backlog Jul 4, 2022
@pods-framework pods-framework locked and limited conversation to collaborators Aug 11, 2022
@sc0ttkclark sc0ttkclark converted this issue into discussion #6808 Aug 11, 2022
@sc0ttkclark sc0ttkclark modified the milestones: Backlog, Backlog Archive Sep 11, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Type: Enhancement Enhancements to features that already exist, but are not major additions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants