lib/ui utility classes#1147
Conversation
8af82bc to
974fa28
Compare
RobbieTheWagner
left a comment
There was a problem hiding this comment.
Looks mostly good! Just a few suggestions / comments.
|
|
||
| .text-inherit { color: var(--inherit); } | ||
|
|
||
| .bg-base00 { background-color: var(--base00); } |
There was a problem hiding this comment.
Tailwind supports setting your own colors to be used for both background-color and text color, so these could actually be part of tailwind.
| .text-base11 { color: var(--base11); } | ||
| .text-base13 { color: var(--base13); } | ||
|
|
||
| .text-12 { font-size: 12px; } |
There was a problem hiding this comment.
I'm not sure how many text sizes we have, but maybe we should try to standardize on text-xs text-sm etc to align with tailwind?
There was a problem hiding this comment.
There was a problem hiding this comment.
I think your suggestion sounds fine:
text-xs: 10px
text-sm: 11px
text-base: 12px
text-lg: 13px
text-xl: 14pxIt is a little bit odd to have them all 1px different though. I think I would advocate more for setting a base font size and making all these rem based like tailwind does.
RobbieTheWagner
left a comment
There was a problem hiding this comment.
LGTM! Mind running yarn to get things updated?
f14289d to
c2a7979
Compare
- Move to lib/ui - Utility classes
- utility classes
- utility classes
- utility classes
- utility classes
- utility classes
- utility classes
- Use ember-test-selectors across entire app - Upgrade ember-test-selectors
c2a7979 to
a66c302
Compare
* Cleanup warning message component - Move to lib/ui - Utility classes * Cleanup error page component - utility classes * Cleanup disclosure triangle component - utility classes * Cleanup drag handle component - utility classes * Cleanup empty message component - utility classes * Cleanup toolbar divider component - utility classes * Cleanup toolbar search field component - utility classes * Misc nav and pill css cleanup * Use ember-test-selectors - Use ember-test-selectors across entire app - Upgrade ember-test-selectors
* Cleanup warning message component - Move to lib/ui - Utility classes * Cleanup error page component - utility classes * Cleanup disclosure triangle component - utility classes * Cleanup drag handle component - utility classes * Cleanup empty message component - utility classes * Cleanup toolbar divider component - utility classes * Cleanup toolbar search field component - utility classes * Misc nav and pill css cleanup * Use ember-test-selectors - Use ember-test-selectors across entire app - Upgrade ember-test-selectors
* Cleanup warning message component - Move to lib/ui - Utility classes * Cleanup error page component - utility classes * Cleanup disclosure triangle component - utility classes * Cleanup drag handle component - utility classes * Cleanup empty message component - utility classes * Cleanup toolbar divider component - utility classes * Cleanup toolbar search field component - utility classes * Misc nav and pill css cleanup * Use ember-test-selectors - Use ember-test-selectors across entire app - Upgrade ember-test-selectors

Moving more components to utility classes to help with the amount of CSS we maintain and help with possible move to Tailwind. Most utility classes added follow Tailwind CSS naming — there are unique classes marked at the bottom of
utils.scss.The easiest way to review is probably going through each commit one at a time.