diff --git a/src/textual/design.py b/src/textual/design.py index e4b00bb301..baf3074579 100644 --- a/src/textual/design.py +++ b/src/textual/design.py @@ -253,7 +253,7 @@ def luminosity_range(spread: float) -> Iterable[tuple[str, float]]: "scrollbar-background", colors["background-darken-1"] ) colors["scrollbar-corner-color"] = get( - "scrollbar-corner-color", colors["background"] + "scrollbar-corner-color", colors["scrollbar-background"] ) colors["scrollbar-background-hover"] = get( "scrollbar-background-hover", colors["scrollbar-background"] diff --git a/src/textual/theme.py b/src/textual/theme.py index ac4f3d381c..1106c6a9ef 100644 --- a/src/textual/theme.py +++ b/src/textual/theme.py @@ -160,15 +160,15 @@ def to_color_system(self) -> ColorSystem: ), "dracula": Theme( name="dracula", - primary="#BD93F9", - secondary="#6272A4", + primary="#6272A4", + secondary="#BD93F9", warning="#FFB86C", error="#FF5555", success="#50FA7B", accent="#FF79C6", background="#282A36", - surface="#282A36", - panel="#44475A", + surface="#2B2E3B", # Slightly lighter than background + panel="#313442", # Slightly lighter than surface foreground="#F8F8F2", dark=True, ),