mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
chore: Remove unused .logo-svg
CSS class and add new logo SVG file
This commit is contained in:
parent
8e187a913f
commit
6dda54f431
3 changed files with 23 additions and 7 deletions
|
@ -58,11 +58,6 @@ nav {
|
|||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.logo-svg {
|
||||
height: 32px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
|
|
21
aider/website/assets/logo.svg
Normal file
21
aider/website/assets/logo.svg
Normal file
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
4
scripts/logo_svg.py
Normal file → Executable 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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue