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

Fix style initialization for elements in VS Code preview pane #75

Merged
merged 2 commits into from
Sep 17, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 17, 2019

A way to reset VS Code's default style by using initial was not better because it would break some theme styles such as #74.

initial indicates that will prefer browser's default value, so the global style for element will ignore if specified. To avoid this behavior, we can use unset value.

Fix #74.

Previous ▶️ After
▶️

@yhatt yhatt merged commit bb9940f into master Sep 17, 2019
@yhatt yhatt deleted the fix-style-initialization branch September 17, 2019 03:20
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.

An invert color scheme for default theme has black code color only in preview
1 participant