Skip to content

Commit

Permalink
Fix colors on title screen version string
Browse files Browse the repository at this point in the history
  • Loading branch information
mike8699 committed Oct 18, 2023
1 parent c7fc7cc commit a817fc9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions base/data/_title_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@ def insert_title_screen(
x = img_width - text_width - 2
y = img_height - text_height

# draw border around letters
stroke_color = (24, 66, 115)
draw.text((x - 1, y), version_string, fill=stroke_color)
draw.text((x + 1, y), version_string, fill=stroke_color)
draw.text((x, y - 1), version_string, fill=stroke_color)
draw.text((x, y + 1), version_string, fill=stroke_color)
# draw rectangle to go behind text
draw.rectangle(
(x - 4, y - 2, x + text_width + 3, y + text_height),
fill=(255, 239, 82),
)

# draw text
draw.text((x, y), version_string, fill=(214, 41, 41), stroke_width=4, stroke_fill=(0, 0, 0))
Expand Down

0 comments on commit a817fc9

Please sign in to comment.