π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Extract
Manav Rathi18d091ea4e6a
diff --git a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsxindex 7276d2a973..6723691c17 100644--- a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx+++ b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx@@ -304,12 +304,12 @@ const UsageBar: React.FC<UsageBarProps> = ({ used, total, sx }) => (/>);-const UsageBar_ = styled(LinearProgress)(() => ({+const UsageBar_ = styled(LinearProgress)(({ theme }) => ({".MuiLinearProgress-bar": {borderRadius: "2px",},borderRadius: "2px",- backgroundColor: "rgba(255, 255, 255, 0.2)",+ backgroundColor: theme.vars.palette.fixed.storageCardUsageFill,}));interface LegendProps {diff --git a/web/packages/base/components/utils/mui-theme.d.ts b/web/packages/base/components/utils/mui-theme.d.tsindex d0c5c35cfc..4338e9ad72 100644--- a/web/packages/base/components/utils/mui-theme.d.ts+++ b/web/packages/base/components/utils/mui-theme.d.ts@@ -148,6 +148,10 @@ declare module "@mui/material/styles" {* "archived" indicator shown on top of albums.*/overlayIndicatorMuted: string;+ /**+ * Color of the total space in the usage bar on the storage card.+ */+ storageCardUsageFill: string;};/*** MUI as of v6 does not allow customizing shadows easily. This is duediff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.tsindex 57f99eb2fc..19a64fd716 100644--- a/web/packages/base/components/utils/theme.ts+++ b/web/packages/base/components/utils/theme.ts@@ -156,6 +156,7 @@ const _colors = {switchOn: "#2ECA45",croppedAreaOverlay: "rgba(0 0 0 / 0.5)",overlayIndicatorMuted: "rgba(255 255 255 / 0.48)",+ storageCardUsageFill: "rgba(255 255 255 / 0.2)"},light: {background: {