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

Sass variable might be defined globally #2571

Closed
wants to merge 1 commit into from
Closed

Sass variable might be defined globally #2571

wants to merge 1 commit into from

Conversation

aksakalli
Copy link

Variables should be defined with !default syntax in case someone want to define customize it:
http://stackoverflow.com/questions/32253344/gulp-dependency-looking-in-wrong-folder/32475297

Similar Sass projects like bootstrap always use this syntax.

Variables should be defined with `!default` syntax in case someone want to define customize it:
http://stackoverflow.com/questions/32253344/gulp-dependency-looking-in-wrong-folder/32475297

Similar Sass projects like `bootstrap` always use this syntax.
@mmcc
Copy link
Member

mmcc commented Sep 9, 2015

So the reasoning behind not doing this originally is that we didn't necessarily want to encourage people to override the SCSS when creating custom themes. We wanted to think of the base theme as more like the styling of the default video element that could be built on top of with ease.

I think we might have gone away from that a little, but if we're going to do it we should go full-on and do this for all the defined variables.

@gkatsev
Copy link
Member

gkatsev commented Sep 9, 2015

A better question, though, is why that variable is being defined outside of the vars file?

@mmcc
Copy link
Member

mmcc commented Sep 9, 2015

I noticed that the other day and looked through chat to see if there was a justification. Not sure what the reasoning was at the time, but it should probably join its other var friends.

@gkatsev
Copy link
Member

gkatsev commented Sep 9, 2015

I think we do actually want to pull this change in. And probably the other variables as well.

@gkatsev gkatsev mentioned this pull request Sep 9, 2015
@gkatsev
Copy link
Member

gkatsev commented Sep 9, 2015

Thanks for the PR. Ended up getting this fix in via #2574.

@gkatsev gkatsev closed this Sep 9, 2015
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.

3 participants