1 |
|
2 |
|
3 |
|
4 | #aui {
|
5 | .load-custom-font(@family, @filename, @fontId: @family, @weight: normal, @style: normal) {
|
6 | @font-face {
|
7 | font-family: @family;
|
8 | src: url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.eot');
|
9 | src: url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.eot?#iefix') format('embedded-opentype'),
|
10 | url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.woff') format('woff'),
|
11 | url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.ttf') format('truetype'),
|
12 | url('~@atlassian/adg-server-iconfont/dist/fonts/@{filename}.svg#@{fontId}') format('svg');
|
13 | font-weight: @weight;
|
14 | font-style: @style;
|
15 | }
|
16 | }
|
17 | }
|