Gulp set up with Headline

The Headline theme seems to ship with no build scripts whatsoever, yet serves out of the /build/ directory. This is very frustrating, specifically this line at the top of assets/css/screen.css:

@import "shared/assets/css/screen.css";

What on earth is this doing?
Has anyone set up a gulp file with it? I struggle to get mine going thanks to the above issues.

Thanks in advance.

I’m not sure how build scripts for headline are configured, but to answer your question about where the shared folder is, it’s not part of the headline.zip that’s distributed as it’s shared between several Ghost themes.

The repository is here: GitHub - TryGhost/Themes: A monorepo for Ghost themes

and the shared folder is packages/_shared

1 Like

Thank you so much for your answer, it’s a lot clearer now. I managed to grab the gulpfile from Casper and modify its configuration to work with Headline. I cannot allow it to pump the assets/css/screen.css file because it seems to disrupt that @import line. Perhaps the build has already been done and have been omitted from headline.zip for whatever reason. Thanks again, @vikaspotluri123.