Good Evening,
I just upgraded to your latest V7 and can not wait to get my clients updated.
With V6, I have had my own gulp file that merges your JS/CSS with my custom solutions and produces 1 file for each. Though my CSS changes are not that important, my custom JS changes are.
Though my gulp uses all the same versions and even calls that yours does when building the CSS, I receive an error:
XX:~/buildinggulp/pbtheme-canvas-theme_brnch-ThemeFiles/public_files_build$ gulp buildCssSass;
[00:24:35] Using gulpfile ~/buildinggulp/pbtheme-canvas-theme_brnch-ThemeFiles/public_files_build/gulpfile.js
[00:24:35] Starting 'buildCssSass'...
buildCssSass started
ScssList_NeedsBuild [ './HTML/style.scss',
'./CustomDesign/utilities.scss',
'./CustomDesign/theme-overrides.scss' ]
[00:24:36] 'buildCssSass' errored after 1.08 s
[00:24:36] Error in plugin "gulp-sass"
Message:
HTML/sass/_variables.scss
Error: Function rgb is missing argument $blue.
on line 15 of HTML/style.scss
>> $tabs-border-color : rgb(var(--#{$cnvs-prefix}contrast-rgb), .0
----------------------------------^
Details:
status: 1
file: /home/jconklin/buildinggulp/pbtheme-canvas-theme_brnch-ThemeFiles/public_files_build/HTML/sass/_variables.scss
line: 648
column: 35
formatted: Error: Function rgb is missing argument $blue.
on line 15 of HTML/style.scss
>> $tabs-border-color : rgb(var(--#{$cnvs-prefix}contrast-rgb), .0
----------------------------------^
messageFormatted: HTML/sass/_variables.scss
Error: Function rgb is missing argument $blue.
on line 15 of HTML/style.scss
>> $tabs-border-color : rgb(var(--#{$cnvs-prefix}contrast-rgb), .0
----------------------------------^
messageOriginal: Function rgb is missing argument $blue.
relativePath: HTML/sass/_variables.scss
domainEmitter: [object Object]
domain: [object Object]
domainThrown: false
I believe this is because I am running my gulp script up one directory from yours, and the bootstrap directories are not in the same location as expected.
/pathtofiles/myGulpScript
/pathtofiles/HTML/canvasFilesAndDirectories
Though I do not need you to diagnose my specific issue, I was wondering if you have any thoughts on how someone can include their own JS and CSS and run your gulp script?
I see your note in the SCSS and Gulp getting started, that we should override "sass/bootstrap/variables.scss (Bootstrap Variables) and the sass/variables.scss". But that means I need to make sure I remember to make the same changes next time I download your theme. And it also does not help with JS.
I was considering making a script to run your gulp and then a simple version of mine to combine it all, but that is a little more complicated than I would like.
I understand that this goes WAY past the support you offer, but if you have any thoughts, I would greatly appreciate them.
Thanks.
