Closed inklingsofreality closed 5 years ago
This seems to be an issue with the SASS compiler in that the square brackets break it. I was able to solve this by doing the following:
grid-template-columns: repeat(12, unquote("[col-start] 1fr"));
This came from the following: http://talk.jekyllrb.com/t/sass-compiler-cant-compile-css-grid-template-names/659
Hopefully, this can help someone else unless the SASS compiler used by Slate Tools needs updating as well.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
This repo is currently on low maintenance. See README for details
Problem
Building a theme using the starter theme and attempting to build it using a grid layout, but ran into an issue where theme.scss.liquid does not seem to compile when adding in the following code:
If I remove the [col-start], the file compiles and displays fine.
Replication steps
How to replicate the problem. Screenshots or video?
In theme.liquid, I put the following:
In my theme.scss.liquid, I put:
More Information
Any additional information which might be helpful.
I have run
yarn lint
andyarn format
to see the issues, but only find issues with other files that I have now commented out. If there is something I'm missing and this is not a bug, I would like to know. Thank you.