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
Type clean-up on Dashboard #6555
base: main
Are you sure you want to change the base?
Conversation
This is very good work @ekidneyrh ! |
These font sizes appear to be the same as the tailwind default so I'm not concerned about that, but:
|
I can amend the config file and add in the xs size
Do you mean that the line heights have been changed here, or are you pointing out that they can be defined also? I was focusing just on the Dashboard for the time being, but I know this has effects throughout. What way do you think would be best to do this? My original plan was to go screen by screen, but if it has major impacts throughout, then could we do everything in one PR? |
I would opt for small PRs (like doing it screen by screen or by component) like : only buttons, only dashboard, etc it's easier to see regressions/revert when it's done step by step |
It looks like the Tailwind defaults have line heights, so not defining them in our own would presumably remove them. It might not be the case or might not be an issue, it's just that this is a 'global' change. |
Do you think it would be better if I define the type sizes last? That way it doesn't mess up the other screens in the meantime. |
Signed-off-by: emma kidney <[email protected]> Signed-off-by: emma kidney <[email protected]>
…archy Signed-off-by: emma kidney <[email protected]> Signed-off-by: emma kidney <[email protected]>
changing weight of small font type Signed-off-by: Emma Kidney <[email protected]> Signed-off-by: emma kidney <[email protected]>
This reverts commit ef5fd69. Signed-off-by: emma kidney <[email protected]>
Signed-off-by: emma kidney <[email protected]>
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.
AFAIK text-bt
does not exist in tailwind but I see several usage in this PR
I have text-bt used for button text, which will be defined in the tailwind config file once the type on the rest of the pages are cleaned-up like this. It seems to just be defaulting to 16px atm. |
What does this PR do?
Sized the text to improve the visual hierarchy of information on the Dashboard page. Also gets things in order to define type sizes in the tailwind config file in the future.
Screenshot / video of UI
This is what it looks like now:
And this is with the changes:
What issues does this PR fix or reference?
Would close #6547
Changes are only slight until changes are made to the type styles. This is done to avoid disruption to the ui of the rest of the app.