ui(components): updated component font sizes and design component docs (#4486)

This commit is contained in:
Dan Rukas authored and GitHub committed 2024-11-12 12:33:09 -05:00
1 parent 23a2582231
commit 1801a217e3
42 files changed
+2034 -903

No files matched your search

@@ -67,12 +67,7 @@ const StudyListFilter = ({
{t('ClearFilters')}
</LegacyButton>
)}
<Typography
variant="h6"
className="text-primary-light"
>
{`${t('Number of studies')}: `}
</Typography>
<Typography
variant="h6"
className="mr-2"
@@ -80,6 +75,12 @@ const StudyListFilter = ({
>
{numOfStudies > 100 ? '>100' : numOfStudies}
</Typography>
<Typography
variant="h6"
className="text-primary-light"
>
{`${t('Studies')} `}
</Typography>
</div>
</div>
</div>
@@ -99,7 +100,9 @@ const StudyListFilter = ({
{numOfStudies > 100 && (
<div className="container m-auto">
<div className="bg-primary-main rounded-b py-1 text-center text-base">
<p className="text-white">{t('Filter list to 100 studies or less to enable sorting')}</p>
<p className="text-white">
{t('Filter list to 100 studies or less to enable sorting')}
</p>
</div>
</div>
)}
@@ -32,7 +32,8 @@ const classes = {
h3: 'text-4xl',
h4: 'text-3xl',
h5: 'text-2xl',
h6: 'text-xl',
// Using px value temporarily until larger fontsize variables are finalized
h6: 'text-[20px]',
subtitle: 'text-lg',
body: 'text-base',
caption: 'text-xs',