Closed niqjohnson closed 6 years ago
@niqjohnson thanks for finding this, I messed up in the CFv4 upgrade and missed a few things. I'll get this fixed.
This may be fixed?
Yep, we've completely removed the web font mixins from CF.
The original issue was closed by @anselmbradford in https://github.com/cfpb/generator-cf/commit/0d6fb5fa4129fafa35897bdd341523db38a37663#diff-58b52ce1dd4b9183b07d419539316086
@jimmynotjim We'll also need to remove the webfont mixins from the sample main.less
file now that we're deprecating them.
Addressed in #149
The
gulp-less
task throws an error when the Yeoman generator first tries to build the project (and on any subsequentgulp build
, too).Current behavior
At the end of the
yo cf
process, the build script (gulp, in this case) builds the project. Looks like there are some undefined LESS mixins in the sample styles inmain.less
that are causing an error ingulp-less
.Expected behavior
All the gulp tasks should run without errors. Looks like the webfont rules in the sample styles just need to be prefixed with
u-
to work right.Steps to replicate behavior
yo cf
gulp build
.webfont-medium is undefined in file /[path]/src/static/css/main.less line no. 41
.webfont-regular
mixin on lines 58 and 121 ofmain.less
, too.Screenshots