add antigravity icon (#2066)

This commit is contained in:
Gabriel Gordon-Hall
2026-01-15 13:09:41 +00:00
committed by GitHub
parent e1b0ef70a4
commit e5920d7e00
4 changed files with 16 additions and 6 deletions

View File

@@ -35,6 +35,7 @@ Choose from various supported editors:
- **VS Code** - Microsoft's popular code editor
- **Cursor** - VSCode fork with AI-native features
- **Windsurf** - VSCode fork optimized for collaborative development
- **Antigravity** - Google's AI-native code editor
- **Neovim**, **Emacs**, **Sublime Text** - Other popular editors
- **Custom** - Use a custom shell command

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="540" height="540">
<path d="M0 0 C29.28357 24.20916076 42.18943725 60.19334985 53.58984375 95.33203125 C53.8248012 96.05568123 54.05975864 96.77933121 54.30183601 97.52490997 C59.51521919 113.64363559 64.07767498 129.92626183 68.55615234 146.26153564 C70.81239312 154.4862053 73.10661464 162.70034312 75.40234375 170.9140625 C75.73680826 172.1110911 75.73680826 172.1110911 76.07802963 173.33230209 C91.15816335 227.25753379 108.02786499 283.13884299 147.56860352 324.46313477 C153.39265569 330.63941857 159.03872419 337.42902663 159.6875 346.1875 C159.41521511 350.13563087 158.95291547 351.79400144 156.4375 354.8125 C149.03412918 359.27184032 140.60066784 358.99040901 132.35546875 357.109375 C119.14962892 352.26783591 107.4294931 341.43054126 97.4375 331.8125 C96.88771484 331.29381348 96.33792969 330.77512695 95.77148438 330.24072266 C73.81218937 309.4548701 58.24123192 284.00365641 43.25244141 257.95654297 C31.08396375 236.54216132 31.08396375 236.54216132 16.4375 216.8125 C15.69242187 215.91789063 14.94734375 215.02328125 14.1796875 214.1015625 C2.20648968 200.20931555 -13.15553783 190.27387466 -31.72070312 188.51293945 C-34.94548902 188.37675426 -38.14755382 188.34443661 -41.375 188.375 C-42.51283936 188.38329834 -43.65067871 188.39159668 -44.82299805 188.40014648 C-65.29875181 188.81004082 -81.11449567 196.90197427 -95.82421875 210.9765625 C-108.98312351 224.72608238 -118.07140634 242.47768005 -127.5625 258.8125 C-139.99102475 280.20283933 -152.63906147 301.29010851 -169.48828125 319.55078125 C-171.36371586 321.59574667 -173.15282533 323.68869475 -174.9375 325.8125 C-182.01537798 333.85335458 -190.12372841 340.40412272 -198.75 346.6875 C-199.49805908 347.23494873 -200.24611816 347.78239746 -201.0168457 348.34643555 C-211.41876423 355.78621074 -221.48729401 360.2325886 -234.5625 358.8125 C-238.4220971 357.6333475 -241.59883957 356.39633793 -243.74609375 352.8671875 C-245.30244831 348.95023774 -245.12965883 345.55319491 -243.828125 341.55859375 C-240.3367992 333.67781124 -234.46180877 327.9140827 -228.5625 321.8125 C-183.52798748 274.32155952 -168.26476907 204.26376173 -151.39805889 143.04586124 C-146.64713591 125.81102862 -141.70003119 108.67420052 -136.1796875 91.66796875 C-135.93121944 90.90046421 -135.68275139 90.13295967 -135.426754 89.34219742 C-129.53332553 71.19840771 -122.60002076 53.63655838 -113.5625 36.8125 C-113.00046875 35.75933594 -112.4384375 34.70617187 -111.859375 33.62109375 C-100.1930847 12.71444735 -84.1325042 -4.11405042 -60.9375 -11.3125 C-40.01592532 -16.73661195 -17.44326808 -12.88213084 0 0 Z " fill="#FFFFFF" transform="translate(311.5625,97.1875)"/>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="540" height="540">
<path d="M0 0 C29.28357 24.20916076 42.18943725 60.19334985 53.58984375 95.33203125 C53.8248012 96.05568123 54.05975864 96.77933121 54.30183601 97.52490997 C59.51521919 113.64363559 64.07767498 129.92626183 68.55615234 146.26153564 C70.81239312 154.4862053 73.10661464 162.70034312 75.40234375 170.9140625 C75.73680826 172.1110911 75.73680826 172.1110911 76.07802963 173.33230209 C91.15816335 227.25753379 108.02786499 283.13884299 147.56860352 324.46313477 C153.39265569 330.63941857 159.03872419 337.42902663 159.6875 346.1875 C159.41521511 350.13563087 158.95291547 351.79400144 156.4375 354.8125 C149.03412918 359.27184032 140.60066784 358.99040901 132.35546875 357.109375 C119.14962892 352.26783591 107.4294931 341.43054126 97.4375 331.8125 C96.88771484 331.29381348 96.33792969 330.77512695 95.77148438 330.24072266 C73.81218937 309.4548701 58.24123192 284.00365641 43.25244141 257.95654297 C31.08396375 236.54216132 31.08396375 236.54216132 16.4375 216.8125 C15.69242187 215.91789063 14.94734375 215.02328125 14.1796875 214.1015625 C2.20648968 200.20931555 -13.15553783 190.27387466 -31.72070312 188.51293945 C-34.94548902 188.37675426 -38.14755382 188.34443661 -41.375 188.375 C-42.51283936 188.38329834 -43.65067871 188.39159668 -44.82299805 188.40014648 C-65.29875181 188.81004082 -81.11449567 196.90197427 -95.82421875 210.9765625 C-108.98312351 224.72608238 -118.07140634 242.47768005 -127.5625 258.8125 C-139.99102475 280.20283933 -152.63906147 301.29010851 -169.48828125 319.55078125 C-171.36371586 321.59574667 -173.15282533 323.68869475 -174.9375 325.8125 C-182.01537798 333.85335458 -190.12372841 340.40412272 -198.75 346.6875 C-199.49805908 347.23494873 -200.24611816 347.78239746 -201.0168457 348.34643555 C-211.41876423 355.78621074 -221.48729401 360.2325886 -234.5625 358.8125 C-238.4220971 357.6333475 -241.59883957 356.39633793 -243.74609375 352.8671875 C-245.30244831 348.95023774 -245.12965883 345.55319491 -243.828125 341.55859375 C-240.3367992 333.67781124 -234.46180877 327.9140827 -228.5625 321.8125 C-183.52798748 274.32155952 -168.26476907 204.26376173 -151.39805889 143.04586124 C-146.64713591 125.81102862 -141.70003119 108.67420052 -136.1796875 91.66796875 C-135.93121944 90.90046421 -135.68275139 90.13295967 -135.426754 89.34219742 C-129.53332553 71.19840771 -122.60002076 53.63655838 -113.5625 36.8125 C-113.00046875 35.75933594 -112.4384375 34.70617187 -111.859375 33.62109375 C-100.1930847 12.71444735 -84.1325042 -4.11405042 -60.9375 -11.3125 C-40.01592532 -16.73661195 -17.44326808 -12.88213084 0 0 Z " fill="#202124" transform="translate(311.5625,97.1875)"/>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -34,7 +34,7 @@ export function getIdeName(editorType: EditorType | undefined | null): string {
case EditorType.CUSTOM:
return 'IDE';
case EditorType.GOOGLE_ANTIGRAVITY:
return 'Google Antigravity';
return 'Antigravity';
}
}
@@ -46,11 +46,7 @@ export function IdeIcon({ editorType, className = 'h-4 w-4' }: IdeIconProps) {
const ideName = getIdeName(editorType);
let ideIconPath = '';
if (
!editorType ||
editorType === EditorType.CUSTOM ||
editorType === EditorType.GOOGLE_ANTIGRAVITY
) {
if (!editorType || editorType === EditorType.CUSTOM) {
// Generic fallback for other IDEs or no IDE configured
return <Code2 className={className} />;
}
@@ -76,6 +72,11 @@ export function IdeIcon({ editorType, className = 'h-4 w-4' }: IdeIconProps) {
case EditorType.XCODE:
ideIconPath = '/ide/xcode.svg';
break;
case EditorType.GOOGLE_ANTIGRAVITY:
ideIconPath = isDark
? '/ide/antigravity-dark.svg'
: '/ide/antigravity-light.svg';
break;
}
return <img src={ideIconPath} alt={ideName} className={className} />;