mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
text color
This commit is contained in:
@@ -42,10 +42,10 @@ class CodeBrowser(App):
|
||||
line_numbers=True,
|
||||
word_wrap=True,
|
||||
indent_guides=True,
|
||||
theme="monokai",
|
||||
theme="github-dark",
|
||||
)
|
||||
except Exception:
|
||||
code_view.update(Traceback(theme="monokai", width=None))
|
||||
code_view.update(Traceback(theme="github-dark", width=None))
|
||||
self.sub_title = "ERROR"
|
||||
else:
|
||||
code_view.update(syntax)
|
||||
|
||||
Reference in New Issue
Block a user