From a4a3b792fef2429962c4f93f53a0223e60b7eb52 Mon Sep 17 00:00:00 2001 From: Piotr Date: Mon, 24 Feb 2025 08:16:41 +0100 Subject: [PATCH] font weight 600 to all tables headers --- src/components/Stats/PoolListItem/style.ts | 7 ++++--- .../Stats/TokenListItem/TokenListItem.tsx | 2 +- src/components/Stats/TokenListItem/style.ts | 14 +++++++------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/Stats/PoolListItem/style.ts b/src/components/Stats/PoolListItem/style.ts index 8272226e..9e476040 100644 --- a/src/components/Stats/PoolListItem/style.ts +++ b/src/components/Stats/PoolListItem/style.ts @@ -66,13 +66,14 @@ export const useStyles = makeStyles()(() => ({ }, header: { - '& p': { + '& p.MuiTypography-root': { color: colors.invariant.textGrey, ...typography.heading4, - fontWeight: 400, + fontWeight: 600, [theme.breakpoints.down('sm')]: { - ...typography.caption2 + ...typography.caption2, + fontWeight: 600 } } }, diff --git a/src/components/Stats/TokenListItem/TokenListItem.tsx b/src/components/Stats/TokenListItem/TokenListItem.tsx index 5fadaff1..c3625ac5 100644 --- a/src/components/Stats/TokenListItem/TokenListItem.tsx +++ b/src/components/Stats/TokenListItem/TokenListItem.tsx @@ -157,7 +157,7 @@ const TokenListItem: React.FC = ({ ) : ( {!isMd && ( diff --git a/src/components/Stats/TokenListItem/style.ts b/src/components/Stats/TokenListItem/style.ts index 784f51f5..f615103c 100644 --- a/src/components/Stats/TokenListItem/style.ts +++ b/src/components/Stats/TokenListItem/style.ts @@ -61,16 +61,16 @@ export const useStyles = makeStyles()((theme: Theme) => ({ }, header: { - '& p': { + '& p.MuiTypography-root': { ...typography.heading4, - fontWeight: 400, + fontWeight: 600, display: 'flex', justifyContent: 'start', - alignItems: 'center' - }, - [theme.breakpoints.down('sm')]: { - '& p': { - ...typography.caption2 + alignItems: 'center', + + [theme.breakpoints.down('sm')]: { + ...typography.caption2, + fontWeight: 600 } } },