Skip to content

armgit / ente

Public Imported from GitHub
0

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

Prefix to improve greppability

Manav Rathi919f0e2b5794
diff --git a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx
index 029e48c1a2..4219a3134a 100644
--- a/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx
+++ b/web/apps/photos/src/components/Sidebar/SubscriptionCard.tsx
@@ -244,15 +244,15 @@ const UsageBarSegment: React.FC<UsageBarSegmentProps> = ({
position: "absolute",
left: 0,
top: 0,
- width: "max(var(--width), 2px)",
+ width: "max(var(--et-width), 2px)",
height: "4px",
borderRadius: "4px",
- backgroundColor: "var(--background-color)",
+ backgroundColor: "var(--et-background-color)",
}}
style={
{
- "--width": `${Math.min(usage / storage, 1) * 100}%`,
- "--background-color": fillColor,
+ "--et-width": `${Math.min(usage / storage, 1) * 100}%`,
+ "--et-background-color": fillColor,
} as React.CSSProperties
}
/>
diff --git a/web/packages/accounts/components/PasswordStrength.tsx b/web/packages/accounts/components/PasswordStrength.tsx
index bb778c2e8e..bbb6dcf347 100644
--- a/web/packages/accounts/components/PasswordStrength.tsx
+++ b/web/packages/accounts/components/PasswordStrength.tsx
@@ -30,9 +30,9 @@ export const PasswordStrengthHint: React.FC<PasswordStrengthHintProps> = ({
mt: "8px",
alignSelf: "flex-start",
whiteSpace: "pre",
- color: "var(--color)",
+ color: "var(--et-color)",
}}
- style={{ "--color": color } as React.CSSProperties}
+ style={{ "--et-color": color } as React.CSSProperties}
>
{password
? t("passphrase_strength", { context: passwordStrength })
diff --git a/web/packages/new/photos/components/gallery/BarImpl.tsx b/web/packages/new/photos/components/gallery/BarImpl.tsx
index 0ddb88acc5..2e4dd67159 100644
--- a/web/packages/new/photos/components/gallery/BarImpl.tsx
+++ b/web/packages/new/photos/components/gallery/BarImpl.tsx
@@ -257,7 +257,7 @@ export const GalleryBarImpl: React.FC<GalleryBarImplProps> = ({
// Hide the bottom border when showing the empty state for people.
style={
{
- "--bar-bottom-border-color":
+ "--et-bar-bottom-border-color":
mode == "people" && people.length == 0
? "transparent"
: "var(--mui-palette-divider)",
@@ -318,7 +318,7 @@ export const Row2 = styled("div")`
display: flex;
align-items: flex-start;
gap: 16px;
- border-block-end: 1px solid var(--bar-bottom-border-color);
+ border-block-end: 1px solid var(--et-bar-bottom-border-color);
`;
const ModeIndicator: React.FC<
diff --git a/web/packages/new/photos/pages/duplicates.tsx b/web/packages/new/photos/pages/duplicates.tsx
index 294f034df1..09b44b41a9 100644
--- a/web/packages/new/photos/pages/duplicates.tsx
+++ b/web/packages/new/photos/pages/duplicates.tsx
@@ -536,7 +536,7 @@ const DuplicatesList: React.FC<DuplicatesListProps> = ({
key={key}
style={
{
- "--paddingInline": `${layoutParams.paddingInline}px`,
+ "--et-padding-inline": `${layoutParams.paddingInline}px`,
} as React.CSSProperties
}
{...{ height, width, itemData, itemCount, itemSize, itemKey }}
@@ -576,7 +576,7 @@ const ListItem: React.FC<ListChildComponentProps<DuplicatesListItemData>> =
justifyContent: "space-between",
alignItems: "center",
marginInline: 1,
- paddingInline: "var(--paddingInline)",
+ paddingInline: "var(--et-padding-inline)",
paddingBlock: "24px 0px",
}}
>