RichLog foreground

This commit is contained in:
Darren Burns
2024-10-23 16:23:24 +01:00
parent 076c1078a9
commit e3e063d0f1
2 changed files with 2 additions and 1 deletions

View File

@@ -266,6 +266,7 @@ BUILTIN_THEMES: dict[str, Theme] = {
error="#dc322f",
success="#859900",
accent="#6c71c4",
foreground="#586e75",
background="#fdf6e3",
surface="#eee8d5",
panel="#eee8d5",

View File

@@ -50,7 +50,7 @@ class RichLog(ScrollView, can_focus=True):
DEFAULT_CSS = """
RichLog{
background: $surface;
color: $text;
color: $foreground;
overflow-y: scroll;
&:focus {
background-tint: $foreground 5%;