chore: add fonts

This commit is contained in:
Rongjian Zhang 2020-01-19 21:43:09 +08:00
parent 4f65321ef5
commit 2da3b24c3b
7 changed files with 16 additions and 1 deletions

BIN
fonts/Cascadia.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -13,7 +13,9 @@ class CodeModel with ChangeNotifier {
'Inconsolata',
'PT Mono',
'Source Code Pro',
'Ubuntu Mono'
'Ubuntu Mono',
'Cascadia Code',
'JetBrains Mono',
];
String _theme = 'github-gist';

View File

@ -102,3 +102,16 @@ flutter:
- asset: fonts/UbuntuMono-BoldItalic.ttf
style: italic
weight: 700
- family: Cascadia Code
fonts:
- asset: fonts/Cascadia.ttf
- family: JetBrains Mono
fonts:
- asset: fonts/JetBrainsMono-Regular.ttf
- asset: fonts/JetBrainsMono-Italic.ttf
style: italic
- asset: fonts/JetBrainsMono-Bold.ttf
weight: 700
- asset: fonts/JetBrainsMono-Bold-Italic.ttf
style: italic
weight: 700