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

[css-variables] fix theme fg & bg #215

Merged
merged 1 commit into from
Sep 2, 2021
Merged

Conversation

FredKSchott
Copy link
Contributor

Resolves #214

While testing the latest changes in the Astro repo I uncovered a small bug in #212 where the foreground and background styles were not being applied. @tbeseda ran into the same in #214.

The fix is that foreground and background are managed separately, outside of the color map. This PR adds these two properties to the "fix" step. Tests also updated.

@orta
Copy link
Contributor

orta commented Sep 2, 2021

👍🏻

@orta orta merged commit 6ed1eed into shikijs:main Sep 2, 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.

css-variables theme doesn't apply variable to <pre> wrapper style attr
3 participants