creativetimofficial / now-ui-kit

Now UI Kit Bootstrap 4 - Designed by Invision. Coded by Creative Tim
https://www.creative-tim.com/product/now-ui-kit
Other
1.7k stars 381 forks source link

Can't resolve '../fonts/nucleo-outline.svg' #21

Closed switmac closed 7 years ago

switmac commented 7 years ago

Hello all,

the now-ui-kit.css breaks since it can't find the 'nucleo-outline.svg' in the fonts folder. :)

installed this using npm install

thanks..

alexandru-paduraru commented 7 years ago

@switmac thank you for the information, we need to remove that line from the SASS and CSS because we are not using svg icons, just the font. We will do this in the next update. Thank you for pointing out!

switmac commented 7 years ago

Thank you @alexandru-paduraru, looking forward to your next release and thanks for sharing your great works. :)

nuttikung commented 7 years ago

I fixed it by comment .svg (I use scss version) >> assets/sass/now-ui-kit/_nucleo-outline.scss Line 15 >> url('../fonts/nucleo-outline.ttf') format('truetype'); 16 >> // url('../fonts/nucleo-outline.svg') format('svg');

That's work for me.

bumxu commented 7 years ago

Also, these lines maybe need to use the $nc-font-path variable.

Great work. ;)

alec-c4 commented 6 years ago

hi @timcreative! the same error for paper kit 2 pro

cregx commented 6 years ago

The issue is still there in Now-UI-Kit-Pro v. 1.2.0 and should be fixed to save the time.

dragosct commented 6 years ago

Hi! Thank you for using our product. We will fix this in the next update of the product which will be in about 1-2 weeks. Regards, Dragos

KimSoungRyoul commented 5 years ago

I have same problem... in Paper Kit 2 PRO 1.2.0

ndanielsen commented 5 years ago

Same problem in Paper Kit 2 PRO and Paper Kit 2 React Dashboard

ndanielsen commented 5 years ago

Just placing this here as this was the fix for my problem, it was an s3 cors issue:

https://stackoverflow.com/questions/12229844/amazon-s3-cors-cross-origin-resource-sharing-and-firefox-cross-domain-font-loa

sylvainR37 commented 5 years ago

Hi, I see the same problem. If I look at the repository, I see the correction commit but when I use "yarn add paper-dashboard-2", I do not have the correction in my "node_modules" folder. Why ?