.button { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; background: #fff; font: 900 #{rem(16px)}/1 $font-sans; color: $color-text; border-radius: 100vh; border: none; text-decoration: none; transition: background-color 0.55s var(--ease-quart), color 0.55s var(--ease-quart); @include bp (sm) { height: 48px; padding: 1px 24px 0; font-size: rem(18px); } // Icon img, svg { display: block; margin-right: 12px; } // Hover effect &:hover { background: $color-secondary; } .text-split__line { &:last-child { --offset-y: 65%; color: #fff; } } /* ** Size variants */ // Small &--small { height: 40px; padding: 0 16px; @include bp (sm) { height: 40px; padding: 0 16px; } } // Large &--large { height: 56px; font-size: rem(16px); @include bp (sm) { height: 72px; height: 72px; padding: 0 40px; font-size: rem(18px); } } /* ** Color Variants */ // Pink &--pink { color: $color-text; background: $color-secondary-light; // Hover &:hover { color: #fff; background: $color-secondary; } .text-split__line { &:last-child { color: #fff; } } } // Beige &--beige { $color-button: #F2D3B8; color: $color-text; background: $color-button; &[disabled] { background: none; border: 2px solid darken($color-button, 2); } // Hover &:hover { color: $color-primary-tertiary20; background: darken($color-button, 2.5); } } }