-
Notifications
You must be signed in to change notification settings - Fork 585
Closed
Description
I have declared by link_color as following:
$typography_fields[] = array(
'id' => 'scss-button-text-colour',
'type' => 'link_color',
'title' => __('Primary button text colour', 'my-framework'),
'visited' => false,
'output' => array(
'color' => '.btn.btn-primary',
),
'default' => array(
'regular' => '#1e73be', // blue
'hover' => '#dd3333', // red
'active' => '#8224e3', // purple
)
);The output only functions on the main color, not the :hover or :active. Example:
.btn.btn-primary{color:#1e73be;}:hover{color:#ba2dc4;}:active{color:#8224e3;}Which means that my whole body has a :hover colour of #ba2dc4. I have also tried with 'output' => array('.btn.btn-primary');
Have I missed something, or is this a bug?
Metadata
Metadata
Assignees
Labels
No labels