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

feat: expose config.styl variables to style.styl #727

Merged
merged 2 commits into from
Aug 11, 2018

Conversation

ycmjason
Copy link
Contributor

Hello @ulivz, it's been a while! I just came back from holiday and looks like there are a lot of things happened in VuePress! All very exciting and looking cool! Thank you so much for the hard work! ❤️

Just a quick suggestion after upgrading to the latest VuePress.

Summary
Referring to config.styl variables inside style.styl is probably a common thing. E.g. Useful for media query, text colors etc...

I think it makes sense if we expose the variables in style.styl by default.

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Build-related changes
  • Other, please describe:

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Copy link
Member

@ulivz ulivz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@ulivz ulivz merged commit 0bc2b51 into vuejs:master Aug 11, 2018
ulivz added a commit that referenced this pull request Aug 14, 2018
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.

2 participants