From ba612d63ad8cdae7dc812ec9fb3e4a732c6d7082 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Mon, 27 Jan 2020 14:57:30 +0800 Subject: [PATCH] chore: default font --- lib/models/code.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/models/code.dart b/lib/models/code.dart index 1855618..ac87f93 100644 --- a/lib/models/code.dart +++ b/lib/models/code.dart @@ -9,19 +9,19 @@ class CodeModel with ChangeNotifier { static const fontSizes = [12, 13, 14, 15, 16, 17, 18, 19, 20]; static const fontFamilies = [ 'System', + 'JetBrains Mono', 'Fira Code', 'Inconsolata', 'PT Mono', 'Source Code Pro', 'Ubuntu Mono', 'Cascadia Code', - 'JetBrains Mono', ]; String _theme = 'tomorrow'; String _themeDark = 'tomorrow-night'; int _fontSize = 14; - String _fontFamily = 'System'; + String _fontFamily = 'JetBrains Mono'; String get theme => _theme; String get themeDark => _themeDark;