mobify / stencil

DEPRECIATED - The latest Stencil development is currently taking place in the Adaptive.js repo.
MIT License
4 stars 0 forks source link

Icons are missing/not loading in Icon Visual Test #117

Open jeffkamo opened 9 years ago

jeffkamo commented 9 years ago

https://mobify.github.io/stencil/visual/components/icon/index.html

ry5n commented 9 years ago

It’s 404ing looking for iconfonts.

nastiatikk commented 9 years ago

Fonts are in Spline https://github.com/mobify/spline/tree/master/test/fixtures/fonts/icon so it is apparently a path issue

@font-face {
  font-family: "spline";
  font-weight: normal;
  font-style: normal;
  src: url("../../../../bower_components/spline/test/fixtures/fonts/icon/spline.woff") format("woff"), url("../../../../bower_components/spline/test/fixtures/fonts/icon/spline.ttf") format("truetype"), url("../../../../bower_components/spline/test/fixtures/fonts/icon/spline.svg") format("svg");
}
ry5n commented 9 years ago

Paths – especially asset paths – are super annoying with packages. Although this is an issue with gh-pages having a different directory structure maybe? @avelinet @tedtate any ideas? We’re going to need a solution to asset pathing issues like this for new stencil.