-
Notifications
You must be signed in to change notification settings - Fork 15
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
source{d} branded superset UI - Typography #106
Conversation
Please also remove |
I'll test it manually when comments from above are applied. |
All comments addressed! Thank you so much @smacker :) |
As far as I know only 1 font in font family can be defined. |
Yes, this is typography work, and it has dependencies, and one of them is addressing our design doc UI Elements Solution. Will keep pushing forward! |
Yes, as you say we can't have two Suggestions? |
After all the fixes tested locally and it's good enough to go. There are some minor problems but original UI also have problems so I don't think we should block the PR because of it. The only thing I would still improve is to rebase commits. But it might be a little bit too complicated for Ricardo, so I'll do it myself later and re-push into this branch. I also create an issue for a small improvement we can do later: #108 |
@smacker This is solved by this commit. |
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 Ricardo. I failed to run it locally, can I trust typography is consistent across the interface elements?
If so, agreed with @smacker on #106 (comment). Let's merge typography and rebase + quick fix the dashboards afterwards.
Source Sans Pro & Source Code Pro is applied and controlled across the typographic interface elements. We still aren't making the most out of variables - the proper way to be consistent - therefore, we might still find some outliers and UI elements affected by hacky typography code work. Sorting these variables issue has, in my opinion, a strong priority to comprehensively control the consistency and hierarchy of typography embedded on all interface elements.
I agree with @smacker as well. |
289dc67
to
2730901
Compare
This initial commit conveys the font-family, weight, size, spacing, hierarchy and overall combination of these typography characteristics across the entire UI. 1) "fonts" directory containing Source Sans Pro & Source Code Pro font files was created. (not sure if we need to have the entire family files) 2) I'm having troubles yet with variables on custom-brand.less, becasue they don't seem to overwrite default ones. (would be great to really get the most out of it) 3) We'll need to address the typography on UI elements that are not covered in the typography section "less structure" given by superset by default. (will add rules to convey every typography need) 4) We need to create a new less file "codemirror_override.less" to brand the uast code & uast view. Signed-off-by: Ricardo Baeta <[email protected]> Signed-off-by: Maxim Sukharev <[email protected]>
This commit conveys item 3) from the initial commit: We'll need to address the typography on UI elements that are not covered in the typography section "less structure" given by superset by default. 1) There are still elements that are brand outliers, but will be taken care of on the next commit. 2) Will focus now on the codemirrror less Signed-off-by: Ricardo Baeta <[email protected]> Signed-off-by: Maxim Sukharev <[email protected]>
This commit continues to address the outlier elements that are on the UI that are not covered by the typography less section variables & rules that supertset has by default. Signed-off-by: Ricardo Baeta <[email protected]> Signed-off-by: Maxim Sukharev <[email protected]>
In this commit a file was added "codemirror_override.less" that enables us to change the font of the left panel to Source Code Pro. 1) Colour scheme will be tackled later Signed-off-by: Ricardo Baeta <[email protected]> Signed-off-by: Maxim Sukharev <[email protected]>
This commit adresses the issues pointed out early on by Maxim about code formating. It also adresses a couple more typography outliers elements branding. Signed-off-by: Ricardo Baeta <[email protected]> Signed-off-by: Maxim Sukharev <[email protected]>
This commit replaces font .ttf files for .woff2 and the related changes on the less files. Signed-off-by: Ricardo Baeta <[email protected]> Signed-off-by: Maxim Sukharev <[email protected]>
2730901
to
0414d65
Compare
@carlosms sorry we were discussing it on slack. Ricardo is aware of that small issues and they will be fixed in next prs. Those things are the
which I mentioned in my prev comment |
Thanks @carlosms !
Yes, these are known issues, that we'll be solved in the upcoming PR's. |
…set-ui" This reverts commit c18453f, reversing changes made to eecb4c8. Signed-off-by: Carlos Martín <[email protected]>
This PR is related to the 2019-R5-CE and addresses the source{d}-branded superset UI EPIC.
Our approach is to address initially the overall Typography on the UI, and the state of this PR it's only related to Typography, and nothing else on the UI. Keep that in mind when reviewing. Our brand typography "Source Sans Pro" & "Source Code Pro" were applied.
This approach is part of the source{d}-branded Superset UI Design Document on the Typography Solution - where you can check the rationale of the decisions made.
The code on the
custom-brand.less
is still immature, given the issues I'm having on redefining variables, and them not being applied to the UI, because they're overwritten by the default ones. Solving this issue would be a priority, IMHO, to get the code clean without !important's all over and not get the most out of variables. Also, this is an incremental evolution, thus the Typography work is not perfect yet.A
codemirror_override.less
file was added to address the UAST code panel, where we overwrite rules taken from the solarized codemirror theme and the following brand work will evolve on mentioned file.This PR will evolve to continue to address the Solutions on the mentioned Design Doc, and the next steps are going to be:
We'll tackle the remaining Solutions for this source{d}-branded superset UI EPIC, right after.