Semantic-Org / Semantic-UI-LESS

LESS only distribution
http://www.semantic-ui.com
200 stars 119 forks source link

Incorrect fontPath in default theme #62

Open vilppuvuorinen opened 5 years ago

vilppuvuorinen commented 5 years ago

Doesn't work

@fontPath  : '../../themes/default/assets/fonts';

Works

@fontPath  : '../../../themes/default/assets/fonts';

Steps to repro:

  1. Grab fresh 2.4.1 code
  2. Rename theme.config.example to theme.config
  3. Compile using lessc

The compilation should fail due to font lookup from [...]/themes/themes/default[...].

craftzdog commented 5 years ago

Same here. He is right.

Adding @fontPath : "../assets/fonts"; in theme.config fixed the issue.