-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Labels
feature: proposal 💬New feature proposal that needs to be discussedNew feature proposal that needs to be discussedneeds: triage 🏷Issue needs to be checked and prioritizedIssue needs to be checked and prioritized
Description
Describe the feature
These two functions come from Styled Components.
keyframes function will create a CSS keyframes with a unique name, to make sure that there are no naming conflicts.
You can even inline the declaration without having to think of a keyframes name:
div {
animation: ${keyframes`
from {
opacity: 0;
}
`} ease-out 1s;
}createGlobalStyle will create a global style for every components to use, without to write it in a single CSS file.
Motivation
This will make it easier to switch Styled Components to Linaria.
KutnerUri, alexamy, bisonfoutu, LaggardNC and jordan-burnett
Metadata
Metadata
Assignees
Labels
feature: proposal 💬New feature proposal that needs to be discussedNew feature proposal that needs to be discussedneeds: triage 🏷Issue needs to be checked and prioritizedIssue needs to be checked and prioritized