From 62edaa62d8f5cc2f099dad64be4874652f9a8bad Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 14 Jan 2025 14:16:05 +0530 Subject: [PATCH] Doc --- web/packages/base/components/utils/mui-theme.d.ts | 6 ++---- web/packages/base/components/utils/theme.ts | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/web/packages/base/components/utils/mui-theme.d.ts b/web/packages/base/components/utils/mui-theme.d.ts index d51e05475e..28788e6b13 100644 --- a/web/packages/base/components/utils/mui-theme.d.ts +++ b/web/packages/base/components/utils/mui-theme.d.ts @@ -64,7 +64,6 @@ declare module "@mui/material/styles" { text: Strength; fill: FillStrength; stroke: Strength; - shadows: Shadows; accent: ColorStrength; warning: ColorStrength; danger: ColorStrength; @@ -76,7 +75,6 @@ declare module "@mui/material/styles" { text?: Partial; fill?: Partial; stroke?: Partial; - shadows?: Partial; accent?: Partial; warning?: Partial; danger?: Partial; @@ -158,8 +156,8 @@ declare module "@mui/material/styles" { overlayIndicatorMuted: string; }; /** - * MUI as of v6 does not allow customizing the shadows easily. This is - * due for change: https://github.com/mui/material-ui/issues/44291. + * MUI as of v6 does not allow customizing shadows easily. This is due + * for change: https://github.com/mui/material-ui/issues/44291. * * Meanwhile use a custom variable. Since it is specific to the color * scheme, keep it inside the palette. diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts index 9eb6025670..c76c222eca 100644 --- a/web/packages/base/components/utils/theme.ts +++ b/web/packages/base/components/utils/theme.ts @@ -120,8 +120,8 @@ export type ColorAccentType = "auth" | "photos"; * * - Custom colors (even if they're not PaletteColors) go within the palette. * - * - Non-color tokens that depend on the color scheme (e.g. drop shadows) also - * go within the palette so that they can be made color scheme specific. + * - Non-color tokens that depend on the color scheme (e.g. box shadows) also go + * within the palette so that they can be made color scheme specific. * * - All other custom variables remain within the top level theme. */