2017-06-24 09:22:51 +08:00
|
|
|
// ----- Font Families -----
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 200;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Thin.otf');
|
2017-06-24 09:22:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Blond.otf');
|
2017-06-24 09:22:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Normal.otf');
|
2017-06-24 09:22:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 500;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Medium.otf');
|
2017-06-24 09:22:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-SemiBold.otf');
|
2017-06-24 09:22:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Pro-SemiBold doesn't render emoji properly. Override the emjoi unicode
|
|
|
|
// block so that it uses the "Normal" weight even at font-weight:600.
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nylas-Pro';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
2017-09-06 04:37:40 +08:00
|
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Normal.otf'), Helvetica, sans-serif;
|
2017-10-15 08:36:44 +08:00
|
|
|
unicode-range: U+1f300-1f5ff, U+1f600-1f64f, U+1f680-1f6ff, U+2600-26ff;
|
2017-06-24 09:22:51 +08:00
|
|
|
}
|