Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant