chore(logo): fix release yml and chang logo (#42)

This commit is contained in:
Haze
2026-02-11 11:32:26 +08:00
committed by GitHub
Unverified
parent a0505490cd
commit 563fcd2f24
17 changed files with 64 additions and 12 deletions

View File

@@ -11,6 +11,8 @@ This directory contains the application icons for all supported platforms.
| `icon.ico` | Windows | Windows ICO format |
| `icon.png` | All | 512x512 PNG fallback |
| `16x16.png` - `512x512.png` | Linux | PNG set for Linux |
| `tray-icon-template.svg` | Source | macOS tray icon template source |
| `tray-icon-Template.png` | macOS | 22x22 status bar icon (note: "Template" suffix required) |
## Generating Icons
@@ -55,14 +57,23 @@ If you prefer to generate icons manually:
## Design Guidelines
- **Background**: Gradient from #6366f1 to #8b5cf6 (Indigo to Violet)
### Application Icon
- **Corner Radius**: ~20% of width (200px on 1024px canvas)
- **Foreground**: White claw symbol with "X" accent
- **Safe Area**: Keep 10% margin from edges
### macOS Tray Icon
- **Format**: Single-color (black) on transparent background
- **Size**: 22x22 pixels (system automatically handles @2x retina)
- **Naming**: Must end with "Template.png" for automatic template mode
- **Design**: Simplified monochrome version of main icon (ClawX logo)
- **Source**: Use `tray-icon-template.svg` as the source
- **Important**: Must be pure black (#000000) on transparent background - no gradients or colors
## Updating the Icon
1. Edit `icon.svg` with your vector editor (Figma, Illustrator, Inkscape)
2. Run `./scripts/generate-icons.sh`
3. Verify generated icons look correct
4. Commit all generated files
2. For macOS tray icon, edit `tray-icon-template.svg` (must be single-color black on transparent)
3. Run `node scripts/generate-icons.mjs`
4. Verify generated icons look correct
5. Commit all generated files