fbrctr / fabricator

A tool for building website UI toolkits and style guides
http://fbrctr.github.io/
MIT License
1.11k stars 124 forks source link

Scss partials aren't compiling correctly #227

Closed joeyfigaro closed 8 years ago

joeyfigaro commented 8 years ago

Attempting to set up subdirectories for my styles and the resulting toolkit.css doesn't seem to be picking up any changes. Any ideas?

directory setup

contents of toolkit.scss

/**
 * Toolkit styles
 */

@import 'utilities/colors';

@import 'global/typography';

@import 'elements/buttons';

contents of toolkit.css

/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0b29sa2l0LmNzcyIsInNvdXJjZVJvb3QiOiIvc291cmNlLyIsInNvdXJjZXNDb250ZW50IjpbXX0= */
jonorherrington commented 8 years ago

I know this might sound like a silly question but do you have anything inside of those three partials?

joeyfigaro commented 8 years ago

@jonorherrington Not silly at all -- they've all got content, yes.

LukeAskew commented 8 years ago

Hmmm everything looks right. Any console errors? Tried restarting the npm start task?

vjandrei commented 5 years ago

I have the same problem here. I am trying to import .scss file from the same folder ad the toolkit.scss but getting this error `Error in plugin "sass" Message: src/assets/toolkit/styles/toolkit.scss Error: File to import not found or unreadable: ./ds-style.scss. on line 5 of src/assets/toolkit/styles/toolkit.scss

@import "./ds-style.scss";

-^`