Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Doc

Manav Rathi62edaa62d8f5
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<Strength>;
fill?: Partial<FillStrength>;
stroke?: Partial<StrokeStrength>;
- shadows?: Partial<Shadows>;
accent?: Partial<ColorStrength>;
warning?: Partial<ColorStrength>;
danger?: Partial<ColorStrength>;
@@ -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.
*/