UNPKG

1.74 kBSCSSView Raw
1// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE in the project root for license information.
2
3// Produce @font-face definitions for each of the web fonts.
4@include ms-font-face('Leelawadee UI Web', 'leelawadeeui-thai', 'leelawadeeui');
5@include ms-font-face('Segoe UI Web (Arabic)', 'segoeui-arabic');
6@include ms-font-face('Segoe UI Web (Cyrillic)', 'segoeui-cyrillic');
7@include ms-font-face('Segoe UI Web (East European)', 'segoeui-easteuropean');
8@include ms-font-face('Segoe UI Web (Greek)', 'segoeui-greek');
9@include ms-font-face('Segoe UI Web (Hebrew)', 'segoeui-hebrew');
10@include ms-font-face('Segoe UI Web (Vietnamese)', 'segoeui-vietnamese');
11@include ms-font-face('Segoe UI Web (West European)', 'segoeui-westeuropean');
12@include ms-font-face('Selawik Web', 'selawik', 'selawik');
13
14
15// Leelawadee UI (Thai and Lao) does not have a 'light' weight, so we override
16// the font-face generated above to use the 'semilight' weight instead.
17@font-face {
18 font-family: 'Leelawadee UI Web';
19 src: url('#{$ms-font-cdn-path}/leelawadeeui-thai/leelawadeeui-semilight.woff2') format('woff2'),
20 url('#{$ms-font-cdn-path}/leelawadeeui-thai/leelawadeeui-semilight.woff') format('woff');
21 font-weight: 100;
22 font-style: normal;
23}
24
25// Leelawadee UI (Thai and Lao) does not have a 'semibold' weight, so we override
26// the font-face generated above to use the 'bold' weight instead.
27@font-face {
28 font-family: 'Leelawadee UI Web';
29 src: url('#{$ms-font-cdn-path}/leelawadeeui-thai/leelawadeeui-bold.woff2') format('woff2'),
30 url('#{$ms-font-cdn-path}/leelawadeeui-thai/leelawadeeui-bold.woff') format('woff');
31 font-weight: 600;
32 font-style: normal;
33}