-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Sketch] provide Symbols for components #2817
Comments
This comment has been minimized.
This comment has been minimized.
@romanr yes we are aware and actively working on this. |
@giladgray Please make good use of symbols. All colors should be use a master simbol which, if changed, should affect all ui components. Also, remember to use anchor points inside fluid components and sub elements. Let me know if you need help about that. |
@romanr @equinusocio FYSA this is a huge amount of work and we all have full time jobs over here so it'll take some time to symbol-ize the entire library. don't think there's much opportunity for OSS contributions here unfortunately. watch this issue for updates. @pkwi will be coordinating the work. |
We would like to help but I don't think Sketch file is possible to be worked on by different contributors concurrently. I don't think git merges will be possible. |
I could propose a version of symbolizing everything for your review in March. What do you think? |
@pkwi is this still on our intended roadmap for the sketch file? if so, I think @vkorobov-boostlabs can go for it |
@vkorobov-boostlabs @adidahiya yeah, that would be great! |
@pkwi @adidahiya I made a fork and working on it. |
To work on sketch files together there are some tools like: https://www.abstract.com/ (Free with limitations) |
Hey guys, quick update. Working on symbols. Buttons are done including buttons with icons (left, right and both). |
Did 60% of symbolization.
|
All form elements are done. Here is what's left to do:
@pkwi @adidahiya do you think I can do a pull request just with a light theme or dark theme has to be done too? |
@terpimost do a pull request when you're ready. This way, we will be able to look at it before doing the dark theme |
Update, I'm still working on it. Just want to finish the Light theme properly and submit a pull request. Dropdown menus are almost done. |
Update. Light theme complete. Cleaning up and preparing a pull request. |
@pkwi to which branch I should do a pull request? It is just sketched file updates and nothing else. You can also download a file and take a look at it here https://github.com/boostlabscom/blueprint/blob/sketch-symbols/resources/sketch/blueprint-core-kit.sketch Everything on a Light page symbolized with resizing in mind, and:
|
@adidahiya @pkwi I could jump on a call to discuss that if you want. I do understand that is not ideal now and more work needs to be done. I would love to hear any feedback from you guys about it. Ready to improve it before doing a pull request. |
hey @vkorobov-boostlabs Thanks again for all your hard work it is much appreciated. We have started using this file internally and will get back to you once we have more feedback. |
There are some bugs I should fix but probably more huge rework is coming because of that https://blog.sketchapp.com/sketch-for-teams-smart-layout-and-more-announcements-from-layers-eed45e3fa0fd Anyway, tell if you want me to continue with Dark theme or I should make any changes in the structure. |
Hey guys, I'm going to work on a dark theme. Let me know about bugs and things you don't like now. |
Hi @terpimost, Thanks so much for your work so far! Lots of good stuff here. I have a few notes that include some from other designers on the team that I'd be keen to get your thoughts on so far:
At first I was unsure about creating symbols for indeterminately sized components like dropdown lists and tables, but I can see designers using plugins like Runner to quickly drop the base version into their file, then detach the symbol to customize the content. This might become more magical with the upcoming Smart Layout features! |
@aycai Do you mean using layer styles as fill colors? This is controversial, more like a hack. This method is used in Google’s Sketch Material generator plugin and is nightmare to work with. You can achieve the same by saving and updating styles themselves in Sketch library. |
This is all amazing progress, thank you @terpimost and @estevesd for your hard work so far! One thing I do want to be mindful of is scope creep. Adding in icons and layer/text styles are valuable in tightening up the symbols, but the diff in the sketch file is getting quite large and it's hard to spread these changes out in Github. It sounds like you are both working on a single Sketch file with all of these changes already so this might be a moot point. So far I've heard:
I think it's possible to review these all at once, but I'll want to hold on additional changes until after this is done as this will be a lot to go through and review. |
Sorry, guys, it's taking so long. But I have to recreate all buttons with a smart layout. A simple button in both themes is done. After I go through all button-based symbols it will be almost done. Form elements and everything before them is already in both themes. |
Hey guys. Here is some update. Bug with a corner in Sketch 63While working on flexible layout buttons I noticed a weird bug: when the top right corner of a button is strangely bent. When exporting it is SVG path and not SVG rect. You can see that bug only when Shadow applied to a button. I asked Sketch and it turns out it is a bug of Sketch 63. They told me they will fix it in the next version. Current progress
Sorry for such a terrible delay. I'm focused to do a push and prepare to pull request in the next 2 weeks. |
Thanks for the update @terpimost. I'm on the Sketch Beta 64 and the issue still persists! I've been using your file to test drive certain parts of a design, I noticed that text and icons were rotated 180˚. Could you let me know the reason behind that? |
@kudigaracoder rotation was the old hack, it is not the case anymore. I removed it. |
You can watch for progress here https://github.com/terpimost/blueprint/commits/sketch-symbols/resources/sketch/blueprint-core-kit.sketch |
Updated tags and badges. Remorted another Sketch bug when label shifted 1 pixel up or down in the label (I manually moved labels if I saw such behavior) Next: dark theme Callouts, Tooltips & popovers |
Complete symbolization process for both themes. Not everything ideal. There are bugs on Sketch side. The whole lib could be minimized and a bit slow. But it is definitely better Sketch file than it was :) #4006 |
Sorry, this one should be with a rebase on Develop #4007 |
@kudigaracoder sorry to disappoint you but the issue was on the outer shadow in the dark theme and it is not fixed by the Sketch team yet |
I added new icons (diagnosis and lab-test) to @terpimost kit. https://github.com/estevesd/blueprint/blob/develop/resources/sketch/blueprint-core-kit.sketch |
(OP here) This is an amazing work @terpimost ! 1.5 years later it was worth it! With one issue I must add: Sketch file uses
|
@romanr hey, it was closer to 1 year. I said I could finish in March and I did 😂 On the official page Blueprint suggests using SF font: @romanr @aycai @pkwi please let me know if I should change anything before you can accept the pull request #4007 |
And why is that recommendation there? Because too many people don't have it due to apple-specific nature of SF font. They open the Sketch file and have font warnings. |
@romanr I agree that there should be a single most common font, but if Blueprint is relying on a system font, I don't see what choice do we have except list all system fonts for all OS versions on the official page. I guess the majority of users already have SF font which comes with El Capitan version of OSX. Downloading and Installing SF font from Apple's website it is easier than downloading and installing Roboto Font from Google Fonts now. @romanr unless we have ability to define fonts like in CSS for Sketch I believe its expectable to use SF "". If we have Blueprint for Figma I believe we should go with Roboto (Figma uses this as default on Mac). As a designer I would prefer to use SF font on Mac. Unless you at Blueprint team decide to use Roboto as a default cross platform choice for designers. |
I agree with @terpimost here, since Sketch is a Mac app and SF font is the platform default there, we are going to stick with that for the Sketch kit. It's pretty easy to install from the link in the documentation. That doesn't mean that we endorse the SF font for Blueprint as a web toolkit... and the CSS is proof of that (it supports multiple platforms' default fonts). But if you are on a Mac, you will see the SF font used in Blueprint components by default, so the Sketch kit should reflect that. |
Quick update from Sketch. The solution for now is to redraw every Rectangle where we see the issue. But there are 2000 of these in all symbols I've made. If we have to do this I should create a Sketch plugin for that. |
Hey guys (@adidahiya @romanr @aycai @pkwi), Is there anything I should do to make the pull request be review and accepted? |
@terpimost I'm looking through the sketch kit now, I'm happy to approve these updates to unblock usage while keeping tabs on small tweaks in the symbols:
These are what I've found from my first skim. Otherwise thank you for creating such a massive update to the kit! |
I vote to release it. This is a great work and long overdue to release. |
Closing this as fixed by #4007, thanks for all the input. Feel free to open new issues for iterative improvements. |
Website links to the 2018 version of Sketch files. When is it going on website? |
@adidahiya @aycai thank you for approving the PR. I will create another issue for future updates (bugs that you've found) and post my thoughts about what could be improved. @estevesd thank you so much for the icon work. I wonder how did you make it? Please email me terpimost@gmail.com @romanr my understanding is that PR is merged into develop branch before releasing to the website I suggest checking with people you know that they can open Sketch file and its fine to work with. The biggest annoying thing now is a bug in Sketch which treats current rectangles in Blueprint (everywhere in symbols) as paths. So every shadow is rendered with a weird top right corner. I'm thinking about creating a Sketch plugin to help with that issue because manually replacing current rectangles which are paths with true rectangles is a bit scary. |
@romanr the website gets updated manually with each release of |
Continuing from #2668.
Sketch file does not represent UI as symbols. Symbols in Sketch are like components in React.
Imagine if controls in Blueprint were developed as functions in one monolithic javascript file. Then in order to use a component the developer had to open a large javascript file, copy relevant code and paste into their application.
The text was updated successfully, but these errors were encountered: