mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-12-12 20:36:29 +01:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
// ----- Font Families -----
|
|
@font-face {
|
|
font-family: 'Nylas-Pro';
|
|
font-style: normal;
|
|
font-weight: 200;
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Thin.otf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Nylas-Pro';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Blond.otf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Nylas-Pro';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Normal.otf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Nylas-Pro';
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Medium.otf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Nylas-Pro';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
src: url('mailspring://custom-fonts/fonts/Custom-SemiBold.otf');
|
|
}
|
|
|
|
// 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;
|
|
src: url('mailspring://custom-fonts/fonts/Custom-Normal.otf'), Helvetica, sans-serif;
|
|
unicode-range: U+1F300-1F5FF, U+1F600-1F64F, U+1F680-1F6FF, U+2600-26FF;
|
|
}
|