chore: Remove unused .logo-svg CSS class and add new logo SVG file

This commit is contained in:
Paul Gauthier 2025-03-19 21:40:37 -07:00 committed by Paul Gauthier (aider)
parent 8e187a913f
commit 6dda54f431
3 changed files with 23 additions and 7 deletions

View file

@ -58,11 +58,6 @@ nav {
letter-spacing: 0.5px;
}
.logo-svg {
height: 32px;
vertical-align: middle;
}
.nav-links {
display: flex;
gap: 30px;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 116 KiB

4
scripts/logo_svg.py Normal file → Executable file
View file

@ -1,7 +1,7 @@
#!/usr/bin/env python3
"""
Script to generate an SVG logo for Aider with embedded font.
Reads the Glass_TTY_VT220.ttf font and creates an SVG with the word "aider"
Reads the Glass_TTY_VT220.ttf font and creates an SVG with the word "aider"
in terminal green (#14b014) on a white background.
"""
@ -59,7 +59,7 @@ def generate_svg_with_embedded_font(font_path, text="aider", color="#14b014", ou
</style>
<rect class="background" width="{width}" height="{height}" x="0" y="0" />
<text x="{text_x}" y="{text_y}" class="logo-text">{text}</text>
</svg>"""
</svg>""" # noqa
# Save to file or print to stdout
if output_path: