mc9
mc9

Reputation: 6341

Semantic UI: overriding a variable in site.variables

I would like to know how to override a variable in site.variables file. I am using Semantic UI with Meteor using the official meteor package.

Specifically, I want to override

@fontPath  : '/lib/semantic-ui/src/themes/default/assets/fonts';

I tried to change the value directly in site.variables to no avail. Also, I added a value to site.override with no success.

Both files state at the top:

/*
  DO NOT MODIFY - This file has been generated and will be regenerated
  Semantic UI v2.0.8
*/

Where can I override this value? This is needed to fix this issue.

Upvotes: 0

Views: 2890

Answers (1)

ddarkowski
ddarkowski

Reputation: 338

As stated here, the content of themes/ directory is not editable - it will get rewritten back when you run your Meteor server.

You need to edit site.variables.import.less file in your site/globals/ directory instead.

Upvotes: 2

Related Questions