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

Alias :root selector into section while adding theme to fix parsing slide size #246

Merged
merged 2 commits into from
May 17, 2020

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented May 17, 2020

Alias :root selector into section while adding theme, to fix parsing slide size.

Splitted out Marpit PostCSS root replace plugin into 2 plugins: Just ailasing :root to section, and inject CSS variables for font-size declarationf in the root section selector.

Continue to apply each plugins when packaging style, and apply the splitted alias plugin when adding theme too.

Fix #244.

yhatt added 2 commits May 16, 2020 20:00
Replace :root selector into section by splitting out PostCSS plugin.
@yhatt yhatt merged commit 22edec5 into master May 17, 2020
@yhatt yhatt deleted the theme-level-root branch May 17, 2020 11:01
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.

Slide size defined in :root selector does not reflect to the theme instance
1 participant