0

In development, in style.css.scss I have:

@import'../typography.css';

In development, this works because I can see the effects when I load the site. The ../ is there because landing is located at app/assets/stylesheets/landing and typography.css is located at app/assets/stylesheets

I run rake assets:precompile and rake assets:clean locally before pushing. In production on Heroku, I don't think the css file is being properly called because the effects it should have do not appear. All other CSS files are being properly called because I can see the styles rendered. How do I fix this?

Philip7899
  • 4,599
  • 4
  • 55
  • 114
  • Possible duplicate: http://stackoverflow.com/questions/16948767/heroku-and-google-fonts – cimmanon Jun 23 '15 at 16:20
  • This is not at all a duplicate. The answer to that question involved heroku security because it is an external stylesheet. I am linking to an internal stylesheet. – Philip7899 Jun 23 '15 at 16:22

1 Answers1

1

This is pretty old but I just solved the same problem by omitting the file extension, i.e.

@import '../typography';

Rocco Stanzione
  • 231
  • 2
  • 7