| @@ -177,8 +177,24 @@ | ||
| 177 | 177 | 'note' => '', |
| 178 | 178 | 'group' => 'button', |
| 179 | 179 | 'role' => 'button_text', |
| 180 | 180 | ], |
| 181 | + // Left unset, every primary button hovers in its resting colour — | |
| 182 | + // the stylesheets fall back to it — which is how they always hovered. | |
| 183 | + 'btn_hover_bg_color' => [ | |
| 184 | + 'var' => '--fct-btn-hover-bg-color', | |
| 185 | + 'label' => __('Button hover background', 'fluent-cart'), | |
| 186 | + 'note' => __('What the primary buttons turn to under the pointer.', 'fluent-cart'), | |
| 187 | + 'group' => 'button', | |
| 188 | + 'role' => 'button_hover_bg', | |
| 189 | + ], | |
| 190 | + 'btn_hover_text_color' => [ | |
| 191 | + 'var' => '--fct-btn-hover-text-color', | |
| 192 | + 'label' => __('Button hover text', 'fluent-cart'), | |
| 193 | + 'note' => '', | |
| 194 | + 'group' => 'button', | |
| 195 | + 'role' => 'button_hover_text', | |
| 196 | + ], | |
| 181 | 197 | 'secondary_btn_bg_color' => [ |
| 182 | 198 | 'var' => '--fct-secondary-btn-bg-color', |
| 183 | 199 | 'label' => __('Secondary button background', 'fluent-cart'), |
| 184 | 200 | 'note' => __('Add to Cart and the other outlined buttons.', 'fluent-cart'), |
| @@ -324,8 +340,10 @@ | ||
| 324 | 340 | 'divider' => __('Divider', 'fluent-cart'), |
| 325 | 341 | 'text_muted' => __('Muted text', 'fluent-cart'), |
| 326 | 342 | 'text_placeholder' => __('Placeholder text', 'fluent-cart'), |
| 327 | 343 | 'button_text' => __('Button text', 'fluent-cart'), |
| 344 | + 'button_hover_bg' => __('Button hover', 'fluent-cart'), | |
| 345 | + 'button_hover_text' => __('Button hover text', 'fluent-cart'), | |
| 328 | 346 | 'secondary_button_bg' => __('Secondary button', 'fluent-cart'), |
| 329 | 347 | 'secondary_button_text' => __('Secondary button text', 'fluent-cart'), |
| 330 | 348 | ]; |
| 331 | 349 | } |