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

Color Palette: material colors 'light-blue' doesn't work #1783

Closed
ghost opened this issue Jan 28, 2018 · 1 comment
Closed

Color Palette: material colors 'light-blue' doesn't work #1783

ghost opened this issue Jan 28, 2018 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented Jan 28, 2018

Another color palette issue. Trying to get the material color palette 'light-blue' results in this:

Light green works. My arguments:

array(
  'type'      => 'color-palette',
  'settings'  => $textdomain . '_color_info',
  'label'     => __( 'Info Color', $textdomain ),
  'section'   => 'colors',
  'transport' => 'auto',
  'priority'  => 60,
  'choices'   => array(
    'colors' => Kirki_Helper::get_material_design_colors( 'light-blue' ), // Wrong parameter?
    'style'  => 'round',
  ),
  'output' => array(
    array(
      'element'  => '.border-info',
      'property' => 'border-color',
      'suffix'   => '!important',
    )
  ),
  'default' => '#03A9F4',
)
@aristath
Copy link
Contributor

Fixed in the develop branch, it was a simple typo (underscore instead of hyphen)

@aristath aristath added this to the 3.0.26 milestone Mar 17, 2018
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

No branches or pull requests

1 participant