Skip to content
Permalink
Browse files

fix(button): border-color should transition with background-color (#130)

  • Loading branch information...
TheSisb committed Oct 10, 2019
1 parent d151bad commit fda61ba05973a7ff9b652f7f234b2ed8a678bed4
Showing with 1 addition and 3 deletions.
  1. +1 −3 packages/paste-core/components/button/src/styles.ts
@@ -4,8 +4,6 @@ import {buttonStyle, themeGet} from 'styled-system';
import {Absolute} from '@twilio-paste/absolute';
import {ButtonWrapperProps, ButtonChildrenProps} from './types';

// TODO transitions - blocked on design

/*
* Sizes
*/
@@ -43,7 +41,7 @@ const baseButtonWrapper = css`
outline: none;
background: none;
font-size: 100%;
transition: background-color 100ms ease-in;
transition: background-color 100ms ease-in, border-color 100ms ease-in;
/* Remove extra black dotted border FF adds */
&::-moz-focus-inner {

1 comment on commit fda61ba

@now

This comment has been minimized.

Please sign in to comment.
You can’t perform that action at this time.