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

Multicolor - Add Alpha Option? #1321

Closed
bawright opened this issue May 15, 2017 · 1 comment
Closed

Multicolor - Add Alpha Option? #1321

bawright opened this issue May 15, 2017 · 1 comment

Comments

@bawright
Copy link

Issue description:

Alpha (true/false) for multicolor control?

Version used:

2.3.7

Using theme_mods or options?

theme_mods

Code to reproduce the issue (config + field(s))

Kirki::add_field( 'my_config', array(
    'type'        => 'multicolor',
    'settings'    => 'demo-multicolor',
    'label'       => __( 'Multicolor', 'text_domain' ),
    'section'     => 'demo',
    'priority'    => 10,
    'choices'     => array(
        'bg'        => __( 'Background', 'text_domain' ),
        'text'      => __( 'Text', 'text_domain' ),
    ),
    'default'     => array(
        'bg'        => '#000',
        'text'      => '#fff',
    ),
) );
@aristath
Copy link
Contributor

aristath commented Jul 4, 2017

@danielortiz was kind enough to submit a pull request that was just merged.
You can now set 'alpha' => true, in your control.
Fix will be included in 3.0.9 when it is released.

@aristath aristath closed this as completed Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants