Subtle transitions
This commit is contained in:
parent
7f1236693e
commit
02adb1e380
3 changed files with 16 additions and 0 deletions
|
|
@ -72,6 +72,10 @@ export const Date = styled.button`
|
|||
border: 0;
|
||||
margin: 0;
|
||||
appearance: none;
|
||||
transition: background-color .1s;
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
background-color: ${props => props.theme.primaryBackground};
|
||||
border: 1px solid ${props => props.theme.primaryLight};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue