diff --git a/aider/website/assets/logo.svg b/aider/website/assets/logo.svg index 187e60b21..d6ea0055e 100644 --- a/aider/website/assets/logo.svg +++ b/aider/website/assets/logo.svg @@ -1,5 +1,5 @@ - + - - aider + + aider \ No newline at end of file diff --git a/scripts/logo_svg.py b/scripts/logo_svg.py index c86614433..7ce075004 100755 --- a/scripts/logo_svg.py +++ b/scripts/logo_svg.py @@ -32,10 +32,10 @@ def generate_svg_with_embedded_font(font_path, text="aider", color="#14b014", ou # Calculate SVG dimensions based on text length # These values can be adjusted to modify the appearance char_width = 40 - width = len(text) * char_width + 40 # Add padding - height = 100 + width = len(text) * char_width + height = 60 text_x = width / 2 # Center point of the SVG width - text_y = height / 2 # Center point of the SVG height + text_y = height * 0.62 # Center point of the SVG height # Create the SVG with embedded font svg = f""" @@ -55,7 +55,7 @@ def generate_svg_with_embedded_font(font_path, text="aider", color="#14b014", ou dominant-baseline: middle; /* Center the text vertically */ }} .background {{ - fill: black; + fill: white; }}