system-ui / theme-specification

A specification for defining theme objects & design tokens for use with UI components
https://system-ui.com/theme
531 stars 19 forks source link

Add "transitions" #3

Closed gregberge closed 5 years ago

gregberge commented 5 years ago

See https://github.com/styled-system/styled-system/issues/524#issuecomment-498443944

mrmartineau commented 5 years ago

@neoziro how about motion instead? it would cover many more usecases..

gregberge commented 5 years ago

@mrmartineau what do you think about?

jxnblk commented 5 years ago

Personally, I think transitions fits in well with most of the other key names since it's 1:1 with the CSS property name, and I doubt they'd be very reusable outside of usage there. That said, transition is a shorthand property, which includes transition-property, transition-duration, transition-timing-function, and transition-delay – I don't think those need to be addressed at the moment, but it could come up again in the future.

I say we go ahead and merge this if there are no objections