Skip to content

armgit / ente

Public Imported from GitHub
0

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

Up

Manav Rathi56be41c38f25
diff --git a/web/packages/new/photos/components/PlanSelector.tsx b/web/packages/new/photos/components/PlanSelector.tsx
index eea71dd2b4..20bdad0b0c 100644
--- a/web/packages/new/photos/components/PlanSelector.tsx
+++ b/web/packages/new/photos/components/PlanSelector.tsx
@@ -541,7 +541,7 @@ const PlanRow: React.FC<PlanRowProps> = ({
return (
<PlanRowContainer>
<TopAlignedFluidContainer>
- <Typography variant="h1" fontWeight={"bold"}>
+ <Typography variant="h1">
{bytesInGB(plan.storage)}
</Typography>
<FlexWrapper flexWrap={"wrap"} gap={1}>
diff --git a/web/packages/shared/themes/typography.ts b/web/packages/shared/themes/typography.ts
index 7279742823..4d18800230 100644
--- a/web/packages/shared/themes/typography.ts
+++ b/web/packages/shared/themes/typography.ts
@@ -4,6 +4,11 @@ export const typography: TypographyOptions = {
h1: {
fontSize: "48px",
lineHeight: "58px",
+ // [Note: Bold headings]
+ //
+ // Browser default is bold, but MUI resets it to 500 which is too light
+ // for our chosen font.
+ fontWeight: "bold",
},
h2: {
fontSize: "32px",
@@ -20,8 +25,7 @@ export const typography: TypographyOptions = {
h5: {
fontSize: "20px",
lineHeight: "25px",
- // Browser default is bold, but MUI resets it to 500 which is too light
- // for our chosen font.
+ // See: [Note: Bold headings]
fontWeight: "bold",
},
// h6 is the default variant used by MUI's DialogTitle.
@@ -29,8 +33,7 @@ export const typography: TypographyOptions = {
// The font size and line height belows is the same as large.
fontSize: "18px",
lineHeight: "22px",
- // Browser default is bold, but MUI resets it to 500 which is too light
- // for our chosen font.
+ // See: [Note: Bold headings]
fontWeight: "bold",
},
large: {