Subtle transitions

This commit is contained in:
Ben Grant 2021-06-05 17:51:39 +10:00
parent 7f1236693e
commit 02adb1e380
3 changed files with 16 additions and 0 deletions

View file

@ -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};