add theme

This commit is contained in:
jyuesong
2022-01-17 17:25:49 +08:00
parent afd2b30616
commit e68fff867e
6 changed files with 494 additions and 246 deletions

View File

@@ -57,6 +57,9 @@ class ConfigPageState extends State<ConfigPage> with SingleTickerProviderStateMi
child: HighlightView(
model.content[e.title] ?? "",
language: "sh",
padding: const EdgeInsets.symmetric(
horizontal: 15,
),
theme: ref.watch(themeProvider).themeColor.codeEditorTheme(),
tabSize: 14,
),