-
-
Notifications
You must be signed in to change notification settings - Fork 755
feat: add cpp folder icons #3306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jorduino
wants to merge
8
commits into
material-extensions:main
Choose a base branch
from
jorduino:cpp-folder-icon
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
205fba9
feat: add C and C++ folder icons
jorduino 5ff5b8d
feat: add c# folder icons
jorduino d0ad2fd
Merge branch 'main' into cpp-folder-icon
jorduino c85ad8e
Merge branch 'material-extensions:main' into cpp-folder-icon
jorduino 77e7495
new c++ folder design
jorduino 0ee87f9
feat: new c and csharp folder icon
jorduino a34ac28
Merge branch 'main' into cpp-folder-icon
jorduino e91c1e7
Merge branch 'material-extensions:main' into cpp-folder-icon
jorduino File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution. I've reviewed the icons, and I've the feeling that the motifs are still a little bit small compared to our other folder icons. So maybe we can adjust the design here a little bit so that it fits better.
Additionally, the c++ icon looks different on the file and for the folders:
Usually, we try to have some consistent styling here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I definitely agree with what you're saying about the C++ folder, and personally I think the C# folder is worse at adhering to the file icon design.
The problem I was running into is trying to align the ++ to the middle of the C while keeping it aligned to the grid, but I found a compromise. I aligned the ++ to the grid and to the middle of the C, but increased the C by 1 pixel (now exactly half of the scale of the file icon).
This puts the C slightly off of the grid, but to my eye it doesn't add any blur at 16x16. Please let me know what you think and I will update the C and C# folders to align with this design as well if it works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the C and C# folder icons and I think they look better now.
The C glyph looks ever so slightly blurrier, but I don't think it's too bad at this scale:

The folder icons still don't look exactly the same as the file icons, but I couldn't find anything that looked better at that scale.
This is using the same icon for the file just scaled down by 0.5x:

And here at full scale, obviously way too big:

The problem is the ++ in the file icon is 1px wide and can't be scaled down any without losing clarity. Hopefully these icons work, let me know what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late response, I'm little bit busy at the moment. I need to spend some time to play around with your suggestions, I'm not sure if we can merge it like that. But it's on my list and I'll come back to it when there's little more time. Keep your PR open for now, it has potential.