Semantic-UI
Semantic-UI copied to clipboard
Site Overrides and User Global Variables ignored
Steps
Add "/Semantic-UI-master/src/site/globals/site.variables"
/*******************************
User Global Variables
*******************************/
@importGoogleFonts: false;
run "gulp build"
css contains google fonts
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic&subset=latin);/*!
Same for site.overrides, i added CSS fonts and they are not added to CSS
Expected Result
Should work as in version 2.3.3, google fonts removed and custom font CSS definition added.
Actual Result
Variables are ignored
Version
2.4.1
You can follow my gulp build process here: https://github.com/mjasnikovs/semantic-ui-css-offline/blob/master/gulpfile.js
I'm having the same problem with 2.4.2. I'm using the material theme (w/ no problem), but say the following in src/site/globals/site.variables
isn't changing the primary color
/*******************************
User Global Variables
*******************************/
@primaryColor: #4A8B2C;
Did you figure this out @mjasnikovs @eoliphan ? Facing the same issue.
This was fixed in the official community fork https://fomantic-ui.com since v2.8.1 by https://github.com/fomantic/Fomantic-UI/pull/1050