devlint / gridlex

Just a CSS Flexbox Grid System
http://gridlex.devlint.fr
MIT License
1.38k stars 144 forks source link

Make Gridlex more modular and more extensible as a dependency #71

Closed mynameislau closed 6 years ago

mynameislau commented 6 years ago

Hello, I made a few adjustments to the way gridlex imports are orchestrated. I isolated the breakpoints variables, so it can more easily be overriden without having to copy all the code and keeping gridlex as a dependency and benefiniting from potential minor fixes (semver minor versions)

That way you can easily import individual parts of gridlex.

This enables you to :

import your own version of gridlex-breakoints import untouched gridlex-vars import untouched gridlex-classes

and you are done ! All with keeping gridlex as a npm dependency without copypasting

All of this is non breaking

devlint commented 6 years ago

Hello @mynameislau, thanx for your PR!

Merged, but littles changes after: See here : https://github.com/devlint/gridlex/tree/master/src