Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Site Overrides and User Global Variables ignored

Open mjasnikovs opened this issue 6 years ago • 3 comments

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

mjasnikovs avatar Oct 16 '18 05:10 mjasnikovs

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;

eoliphan avatar Feb 18 '19 02:02 eoliphan

Did you figure this out @mjasnikovs @eoliphan ? Facing the same issue.

HridayK97 avatar Jun 25 '19 18:06 HridayK97

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

lubber-de avatar Apr 30 '22 21:04 lubber-de