From e73be16b70cd04e6c2ff2e38ef92e75b1f0aeb98 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Tue, 23 Apr 2024 19:31:56 -0300 Subject: [PATCH] bonus: stray improvements --- docs/src/components/showcase/TaskCard.tsx | 14 +++++--------- packages/mui-docs/src/branding/brandingTheme.ts | 6 +++--- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/src/components/showcase/TaskCard.tsx b/docs/src/components/showcase/TaskCard.tsx index 077ffc8188461c..9b61147db65049 100644 --- a/docs/src/components/showcase/TaskCard.tsx +++ b/docs/src/components/showcase/TaskCard.tsx @@ -5,7 +5,6 @@ import Card from '@mui/material/Card'; import Fade from '@mui/material/Fade'; import LinearProgress, { linearProgressClasses } from '@mui/material/LinearProgress'; import Typography from '@mui/material/Typography'; -import CodeRounded from '@mui/icons-material/CodeRounded'; import ScheduleRounded from '@mui/icons-material/ScheduleRounded'; export default function TaskCard() { @@ -14,12 +13,12 @@ export default function TaskCard() { - - - - Customize every button and chip instance primary color - - + + Customize every button and chip instance primary color + fontWeight: 500, }, body1: { - fontSize: defaultTheme.typography.pxToRem(16), // 16px + fontSize: defaultTheme.typography.pxToRem(16), lineHeight: 24 / 16, letterSpacing: 0, }, body2: { - fontSize: defaultTheme.typography.pxToRem(14), // 14px + fontSize: defaultTheme.typography.pxToRem(14), lineHeight: 21 / 14, letterSpacing: 0, }, caption: { display: 'inline-block', - fontSize: defaultTheme.typography.pxToRem(12), // 12px + fontSize: defaultTheme.typography.pxToRem(12), lineHeight: 18 / 12, letterSpacing: 0, fontWeight: 700,