Using the Zurb Foundation 4 (S)CSS framework has presented a challenge with massively duplicated styles. Each file that I import 'foundation' into brings along all of Foundation's styles, resulting in redundant declarations for body, .row, .button, and other elements. This not only prolongs SCSS compile times but also clutters the web developer console in Chrome with repeated styles from Zurb.
To address this issue, I've introduced a globals.scss file containing overrideable variables used by Foundation. This file is essentially a copy-paste of foundation_and_overrides.scss and imported before any reference to Foundation mixins. By importing just the globals.scss file, duplication is eliminated in files that do not utilize Foundation mixins.
However, the problem persists in files that do make use of Foundation mixins. Is there a way to selectively import only the mixins from an SCSS file without pulling in the concrete Foundation styles?