CE-740 footer weight 600 vs body 500

This commit is contained in:
2023-11-16 19:00:23 -06:00
parent 87edebb79f
commit b1d685b5b1
3 changed files with 14 additions and 8 deletions

View File

@ -17,11 +17,18 @@ import {ReactNode} from "react";
import colors from "qqq/assets/theme/base/colors";
import MDTypography from "qqq/components/legacy/MDTypography";
function DefaultCell({children}: { children: ReactNode }): JSX.Element
interface Props
{
isFooter: boolean
children: ReactNode;
}
function DefaultCell({isFooter, children}: Props): JSX.Element
{
return (
<MDTypography variant="button" color={colors.dark.main} sx={{
fontWeight: 600,
fontWeight: isFooter ? 600 : 500,
"@media (min-width: 1440px)": {
fontSize: "1rem"
},