Skip to content

armgit / ente

Public Imported from GitHub
0

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

2fa

Manav Rathi794fe3cad6fd
diff --git a/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx b/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx
index 9ea27b7f14..45a5202a98 100644
--- a/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx
+++ b/web/packages/accounts/components/two-factor/VerifyTwoFactor.tsx
@@ -119,9 +119,9 @@ const IndividualInput = styled("input")(
width: 40px !important;
aspect-ratio: 1;
margin-inline: 6px;
- border: 1px solid ${theme.colors.accent.A700};
+ border: 1px solid ${theme.palette.accent.main};
border-radius: 1px;
- outline-color: ${theme.colors.accent.A300};
+ outline-color: ${theme.palette.accent.light};
transition: 0.5s;
${theme.breakpoints.down("sm")} {
font-size: 1rem;
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index 5879089caf..cbc9c295d1 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -287,6 +287,11 @@ const getPallette = (
* relationships between the colors (if there are any).
*/
const _colors = {
+ accentPhotos: {
+ dark: "#00B33C",
+ main: "#1DB954",
+ light: "#01DE4D",
+ },
fixed: {
white: "#fff",
black: "#000",
@@ -334,6 +339,7 @@ const getPalletteOptions = (
// @ts-ignore
main: colors.accent.A500,
dark: colors.accent!.A700!,
+ light: colors.accent!.A300!,
contrastText: _colors.fixed.white,
},
critical: {