Skip to content

Commit

Permalink
Fixing Dracula theme
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 22, 2024
1 parent 2113a4f commit f3271e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/textual/design.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
8 changes: 4 additions & 4 deletions src/textual/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit f3271e0

Please sign in to comment.