These are chat archives for thoughtbot/neat

11th
May 2016
Edward Loveall
@edwardloveall
May 11 2016 17:18
I feel a little crazy
I have this breakpoint: $desktop: new-breakpoint(min-width $desktop-width 8);
which, when I put into @include media($desktop)
comes out as @media screen and (min-width: new-breakpoint(min-width 900px 8))
am I being an idiot? Is this a bug?
Edward Loveall
@edwardloveall
May 11 2016 18:03
ah
so it looks like neat needs to be included before grid-settings:
@import 'bourbon/bourbon';
@import 'neat/neat';
@import 'grid-settings';
i had it the other way
Joshua Ogle
@joshuaogle
May 11 2016 18:15
Aha. I was doing my best in Sassmeister, but couldn’t get it to happen. Glad it was something easy, but I wish there was a better way around that
Edward Loveall
@edwardloveall
May 11 2016 18:26
is there a reason it says to put the grid-settings above neat here: https://github.com/thoughtbot/neat#using-neat
Joshua Ogle
@joshuaogle
May 11 2016 18:36
It’s to get the grid settings (column, gutter widths), but it does seem like that would always cause issues with new-breakpoint. I usually use the default settings, so I add it at the end
Edward Loveall
@edwardloveall
May 11 2016 18:40
yeah seems like you'd have to split that file up