Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with scss-rails template. #185

Closed
MeanwhileMedia opened this issue Feb 19, 2014 · 0 comments
Closed

Bug with scss-rails template. #185

MeanwhileMedia opened this issue Feb 19, 2014 · 0 comments

Comments

@MeanwhileMedia
Copy link

Hello,
When choosing "scss-rails" as the css template, the last font src (inside @media screen) does not get changed to "font-url". This creates a 404 in rails apps.

@font-face {
  font-family: "my-icon-font";
  src: font-url("my-icon-font/my-icon-font.eot");
  src: font-url("my-icon-font/my-icon-font.eot?#iefix") format("embedded-opentype"),
       font-url("my-icon-font/my-icon-font.woff") format("woff"),
       font-url("my-icon-font/my-icon-font.ttf") format("truetype"),
       font-url("my-icon-font/my-icon-font.svg#my-icon-font") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: "my-icon-font";
    src: url("my-icon-font/my-icon-font.svg#my-icon-font") format("svg");
  }
}
@kaizau kaizau closed this as completed in 4bdb97e Feb 20, 2014
jakemhiller added a commit to jakemhiller/fontcustom that referenced this issue Jun 13, 2014
* source/master:
  Version bump
  Fixes FontCustom#181 - Adds optimizeLegibility
  Fixes FontCustom#185 - Correct SCSS helper for rails template.
  Remove ttfautohint
jakemhiller added a commit to jakemhiller/fontcustom that referenced this issue Jun 13, 2014
* origin/master:
  Version bump
  Fixes FontCustom#181 - Adds optimizeLegibility
  Fixes FontCustom#185 - Correct SCSS helper for rails template.
  Remove ttfautohint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant