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

Modularity #154

Open
Solinx opened this issue Sep 3, 2017 · 0 comments
Open

Modularity #154

Solinx opened this issue Sep 3, 2017 · 0 comments

Comments

@Solinx
Copy link

Solinx commented Sep 3, 2017

As indicated in another issue, I'm using small parts of Amazium. I briefly considered switching to your grid system, but considering I'm on a clock and halfway in the project I left that for another time. In the end I chose to only use parts of the base and the form modules.

Because I like to keep my code clean and mean, I edited the main Amazium file to disable all other modules. It would be nice to be able to do this without having to edit the framework.

This can easily be achieved by adding this to the variables file:

$amazium-modules: ('base', 'form', 'buttons', 'grid', 'columns') !default;

And wrapping each module in an if statement, like this:

@if (index($amazium-modules, 'grid')) {
...
...
...
}

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

No branches or pull requests

1 participant