scottishgovernment / mygov-assets

Web components for Scottish public sector websites
MIT License
10 stars 3 forks source link

_core is dependent on _grid #5

Closed aliwright75 closed 6 years ago

aliwright75 commented 6 years ago

I tried to just load/compile _form-elements.scss with _core.scss, but the _tools.mixins.scss that _core imports references the $breakpoints variable in _grid.scss.

This may be a bug, or I may have wider issues going on!

jsutcliffe commented 6 years ago

This is a bug. The breakpoint definitions should not be inside _grid.scss since they are used elsewhere too. Fixed in this commit: a62e912