-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add option to lost-column for updating the value #196
Comments
Never mind, [it doesn't](https://github.com/giakki/uncss/issues/55)
Also worth mentioning, this isn't a Lost grid issue, but rather an inherent problem with using nesting selectors in all CSS preprocessing languages. |
It may not inherently be a Lost grid issue, but it's one that Lost could fix? If you called lost-update-column instead of lost-column, you wouldn't get the flex declarations and the other two repeated selectors again, for example. |
I'm liking the direction of this. I think this leads into a great thought process about what Lost's role is. Be looking for more discussion to see if Lost could help out with this. I'll leave this issue open for now as I want to capture this as a potential feature. Thanks! 😄 |
I think Lost could help with this. Lost really needs to do a few more things. You need to be able to generate reusable classes with it (e.g. For instance: .foo {
lost-column: 1/4;
@media (min-width: 500px) {
lost-column: 1/4 bp;
}
} So far as the reusable classes, maybe that'd be best tackled after we are able to simply return a width value (mentioned and maybe addressed in some other issues). |
Code bloat is never good. I think this could be added to the roadmap. |
lost-column should have an option to help eliminate duplicate CSS
For example, if this is my input:
Then my output is:
I don't know if the solution would be to pass an update flag in the lost-column call, or to have a separate lost-column-update call? It seems like there should be some way to avoid this mass-CSS-duplication.
The text was updated successfully, but these errors were encountered: