Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple percentages in keyframes #345

Merged
merged 3 commits into from Dec 15, 2021

Conversation

jasonwilliams
Copy link
Collaborator

@jasonwilliams jasonwilliams commented Dec 14, 2021

Keyframes CSS updated from https://github.com/microsoft/vscode/blob/9efc116de0ea4998616ebe3b17ee5b92f7dc1161/extensions/css/syntaxes/css.tmLanguage.json#L439-L449

The native CSS styles don't highlight the percentages, so I couldn't replace this block with the CSS version. Instead I copied it but kept the naming of the attributes as before to keep the colouring of the percentages.

Test:
Before only 68% was highlighted, now both percentages should be highlighted

@jasonwilliams jasonwilliams merged commit ecfc36f into styled-components:master Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant