π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Rearrange
Manav Rathi3db0b7364822
diff --git a/web/packages/base/components/utils/mui-theme.d.ts b/web/packages/base/components/utils/mui-theme.d.tsindex 7214003fb6..2501484ca1 100644--- a/web/packages/base/components/utils/mui-theme.d.ts+++ b/web/packages/base/components/utils/mui-theme.d.ts@@ -1,45 +1,6 @@import type { PaletteColor, PaletteColorOptions } from "@mui/material";import React from "react";-// Tell TypeScript about our Typography variants-//-// https://mui.com/material-ui/customization/typography/#adding-amp-disabling-variants--declare module "@mui/material/styles" {- interface TypographyVariants {- body: React.CSSProperties;- small: React.CSSProperties;- mini: React.CSSProperties;- tiny: React.CSSProperties;- }-- interface TypographyVariantsOptions {- body?: React.CSSProperties;- small?: React.CSSProperties;- mini?: React.CSSProperties;- tiny?: React.CSSProperties;- }-}--declare module "@mui/material/Typography" {- // Update the Typography's variant prop options.- interface TypographyPropsVariantOverrides {- // Turn off MUI provided variants we don't use.- subtitle1: false;- subtitle2: false;- body1: false;- body2: false;- caption: false;- button: false;- overline: false;- // Add our custom variants.- body: true;- small: true;- mini: true;- tiny: true;- }-}-declare module "@mui/material/styles" {interface Theme {colors: ThemeColors;@@ -193,4 +154,43 @@ declare module "@mui/material/styles" {}}+// Tell TypeScript about our Typography variants+//+// https://mui.com/material-ui/customization/typography/#adding-amp-disabling-variants++declare module "@mui/material/styles" {+ interface TypographyVariants {+ body: React.CSSProperties;+ small: React.CSSProperties;+ mini: React.CSSProperties;+ tiny: React.CSSProperties;+ }++ interface TypographyVariantsOptions {+ body?: React.CSSProperties;+ small?: React.CSSProperties;+ mini?: React.CSSProperties;+ tiny?: React.CSSProperties;+ }+}++declare module "@mui/material/Typography" {+ // Update the Typography's variant prop options.+ interface TypographyPropsVariantOverrides {+ // Turn off MUI provided variants we don't use.+ subtitle1: false;+ subtitle2: false;+ body1: false;+ body2: false;+ caption: false;+ button: false;+ overline: false;+ // Add our custom variants.+ body: true;+ small: true;+ mini: true;+ tiny: true;+ }+}+export {};