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 for excluding grid features #126

Open
ediblecode opened this issue Jan 29, 2021 · 1 comment
Open

Sass variable for excluding grid features #126

ediblecode opened this issue Jan 29, 2021 · 1 comment
Labels
grid suggestion Use to label suggestions for improvements

Comments

@ediblecode
Copy link
Contributor

The grid component imports the grid scss which contains all the variations for the grid (responsive, push/pull etc).

Take CKS as an example. It uses Gatsby so has inline styles so theres a lot of CSS inlined:

image

We don't use most of the grid features, so it would be good to be able to exclude things like push/pull based off variables, similar to $nds-output-print-styles (or whatever the variable is called).

@ediblecode ediblecode added grid suggestion Use to label suggestions for improvements labels Jan 29, 2021
@ediblecode
Copy link
Contributor Author

See #119 for a similar variable for visibility/text ($nds-include-visibility-classes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid suggestion Use to label suggestions for improvements
Projects
None yet
Development

No branches or pull requests

1 participant