mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
RichLog foreground
This commit is contained in:
@@ -266,6 +266,7 @@ BUILTIN_THEMES: dict[str, Theme] = {
|
||||
error="#dc322f",
|
||||
success="#859900",
|
||||
accent="#6c71c4",
|
||||
foreground="#586e75",
|
||||
background="#fdf6e3",
|
||||
surface="#eee8d5",
|
||||
panel="#eee8d5",
|
||||
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user