Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds support for the Nitro framework by introducing a new nitro SVG icon (20×20 and 80×80 variants) and wiring it into the platform→icon mapping so it can be rendered via PlatformIcon.
Changes:
- Added
nitro.svgicon assets for small (svg/) and large (svg_80x80/) sizes. - Updated
PLATFORM_TO_ICONto mapjavascript-nitro→nitro. - Updated
src/icons.generated.tsto import and expose the new icon in bothiconsandiconsLg.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| svg/nitro.svg | Adds the 20×20 Nitro icon variant with padding/background for UI legibility. |
| svg_80x80/nitro.svg | Adds the 80×80 Nitro icon variant aligned to the same padding convention. |
| src/platformIcon.tsx | Registers javascript-nitro so callers can request the Nitro icon via platform string. |
| src/icons.generated.ts | Includes the new Nitro SVGs in the generated import + icon maps. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Jesse-Box
approved these changes
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the Nitro framework icon (sourced from https://nitro.build/icon.svg) as
javascript-nitroI made sure to wrap the original 40×40 gradient circle logo in
translate + scaleso it sits with ~10% padding inside both the 20×20 and 80×80 viewBoxes, to match similar existing icons. I also added a white background rect so the evenodd "N" cutout stays readable on dark UIs.