README.md in curo-material-interface-0.0.3 vs README.md in curo-material-interface-0.0.4
- old
+ new
@@ -62,15 +62,15 @@
src: asset-url("mdi/Material-Design-Icons.eot?-g7cqhn")
src: asset-url("mdi/Material-Design-Icons.eot?#iefix-g7cqhn") format("embedded-opentype"), asset-url("mdi/Material-Design-Icons.woff?-g7cqhn") format("woff"), asset-url("mdi/Material-Design-Icons.ttf?-g7cqhn") format("truetype"), asset-url("mdi/Material-Design-Icons.svg?-g7cqhn#Material-Design-Icons") format("svg")
font-weight: normal
font-style: normal
-=font-face-helper($family, $fileBaseName, $weight, $style)
+=font-face-helper($family, $fileBaseName, $weight, $style, $svgAppendix: '')
@font-face
font-family: $family
src: asset-url($fileBaseName + '.eot')
- src: asset-url($fileBaseName + '.eot?#iefix') format('embedded-opentype'), asset-url($fileBaseName + '.woff') format('woff'), asset-url($fileBaseName + '.ttf') format('truetype'), asset-url($fileBaseName + '.svg#robotothin') format('svg')
+ src: asset-url($fileBaseName + '.eot?#iefix') format('embedded-opentype'), asset-url($fileBaseName + '.woff') format('woff'), asset-url($fileBaseName + '.ttf') format('truetype'), asset-url($fileBaseName + '.svg#' + $svgAppendix) format('svg')
font-weight: $weight
font-style: $style
```
@@ -82,14 +82,14 @@
src: font-url("mdi/Material-Design-Icons.eot?-g7cqhn")
src: font-url("mdi/Material-Design-Icons.eot?#iefix-g7cqhn") format("embedded-opentype"), font-url("mdi/Material-Design-Icons.woff?-g7cqhn") format("woff"), font-url("mdi/Material-Design-Icons.ttf?-g7cqhn") format("truetype"), font-url("mdi/Material-Design-Icons.svg?-g7cqhn#Material-Design-Icons") format("svg")
font-weight: normal
font-style: normal
-=font-face-helper($family, $fileBaseName, $weight, $style)
+=font-face-helper($family, $fileBaseName, $weight, $style, $svgAppendix: '')
@font-face
font-family: $family
src: font-path($fileBaseName + '.eot')
- src: font-path($fileBaseName + '.eot?#iefix') format('embedded-opentype'), font-path($fileBaseName + '.woff') format('woff'), font-path($fileBaseName + '.ttf') format('truetype'), font-path($fileBaseName + '.svg#robotothin') format('svg')
+ src: font-path($fileBaseName + '.eot?#iefix') format('embedded-opentype'), font-path($fileBaseName + '.woff') format('woff'), font-path($fileBaseName + '.ttf') format('truetype'), font-path($fileBaseName + '.svg#' + $svgAppendix) format('svg')
font-weight: $weight
font-style: $style
```
### Usage