Revert chaning mixin name

git-diff seems to use `.octicon-font()`
This commit is contained in:
simurai
2016-11-03 16:45:42 +09:00
parent 9cb90d04f8
commit f51a8ad6c6
2 changed files with 12 additions and 4 deletions

View File

@@ -32,9 +32,17 @@
}
}
.octicon-font(@file) {
// keep for backwards compatibility
.octicon-font-legacy() {
font-family: 'Octicons Regular';
src: url(@file) format("woff");
src: url("octicons-2.1.2.woff") format("woff");
font-weight: normal;
font-style: normal;
}
.octicon-font() {
font-family: 'Octicons Regular';
src: url("octicons.woff") format("woff");
font-weight: normal;
font-style: normal;
}