Hello,

Now that I have my sub theme successfully generated via Drush, I've started customizing it. I'm familiar with Bourbon/Neat, as that's what led me to this base theme, but I'm not clear on what the recommended way is for organizing and modifying the files generated for the sub-theme. I'm hoping to understand the most efficient way to use this NEATO while I'm still in early stages of development on my current project before I get to far along and realize I did something very unsustainable.

For example, I don't want Helvetica as my $base-font-family. Instead I would like to use Source Sans Pro. In my sub theme SCSS folder, I modified the _variables.scss to make that change. I also changed the $base-font-size and created some additional variables for Font Sizes.

Is it best practice to modify these generated SCSS files, or should I only be adding my customization to the SUBTHEME-NAME.SCSS file?

These questions come for me again with the _layout.scss and _grid-settings.scss file. Should I modify what is set in these files, or should I override them in SUBTHEME-NAME.SCSS file?

Greatly appreciate any insight with this.

Apart from my confusion in this area, I think this is an awesome base theme.

Thank you!

Comments

rovo created an issue. See original summary.

kevinquillen’s picture

When generating the subtheme, you are free to override the SCSS within that theme. Neat and Bourbon are imported from the base theme.

This might be why I copied in Bitters during drush subtheme creation instead of reference them outright, so you could modify variables quickly.

The files in the subtheme will never be overwritten by the system after generation.

kevinquillen’s picture

Status: Active » Fixed
kevinquillen’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.