Browse Source

let's also customise file name and svgid

pull/576/head
Geremia Taglialatela 11 years ago
parent
commit
619b2b5923
  1. 10
      sass/ratchicons.scss
  2. 3
      sass/variables.scss

10
sass/ratchicons.scss

@ -6,11 +6,11 @@
font-family: Ratchicons;
font-weight: normal;
font-style: normal;
src: url('#{$icon-font-path}ratchicons.eot');
src: url('#{$icon-font-path}ratchicons.eot?#iefix') format('embedded-opentype'),
url('#{$icon-font-path}ratchicons.woff') format('woff'),
url('#{$icon-font-path}ratchicons.ttf') format('truetype'),
url('#{$icon-font-path}ratchicons.svg#svgFontName') format('svg');
src: url('#{$icon-font-path}#{$icon-font-name}.eot');
src: url('#{$icon-font-path}#{$icon-font-name}.eot?#iefix') format('embedded-opentype'),
url('#{$icon-font-path}#{$icon-font-name}.woff') format('woff'),
url('#{$icon-font-path}#{$icon-font-name}.ttf') format('truetype'),
url('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}') format('svg');
}
.icon {

3
sass/variables.scss

@ -16,8 +16,9 @@ $line-height-default: 21px !default;
// --------------------------------------------------
//## Specify custom location and filename of the included Ratchicons icon font. Useful for those including Ratchet via Bower.
//** Load fonts from this directory.
$icon-font-path: "../fonts/";
$icon-font-name: "ratchicons";
$icon-font-svg-id: "svgFontName";
// Colors

Loading…
Cancel
Save