File size: 763 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
/**
* TODO: Remove this once we start to use follow-button.jsx use the core components.
* It was decided to support the old button styles for the recommend button
* to avoid having buttons with different styles in the same page.
*/
$support-old-button-styles: true;
.reader-recommend-button.is-secondary:not(.is-destructive) {
@if $support-old-button-styles {
--wp-components-color-accent: initial;
--wp-components-color-accent-darker-20: initial;
--wp-admin-theme-color: var(--color-neutral-10);
--wp-admin-theme-color-darker-20: var(--color-neutral-10);
font-weight: 500;
&:hover {
color: var(--color-text);
}
color: var(--color-text);
}
gap: 8px;
padding: 12px 24px 12px 20px;
font-size: 14px;
line-height: 24px;
height: 48px;
}
|