Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fainter

Manav Rathi8083cdfaa6f2
diff --git a/web/packages/base/components/Navbar.tsx b/web/packages/base/components/Navbar.tsx
index 26cc7c871e..d71b9a700f 100644
--- a/web/packages/base/components/Navbar.tsx
+++ b/web/packages/base/components/Navbar.tsx
@@ -16,7 +16,7 @@ export const NavbarBase = styled(FlexWrapper)(
top: 0;
left: 0;
z-index: 10;
- border-bottom: 1px solid ${theme.vars.palette.divider};
+ border-bottom: 1px solid ${theme.vars.palette.stroke.fainter};
background-color: ${theme.vars.palette.background.default};
margin-bottom: 16px;
padding: 0 24px;
@@ -43,7 +43,7 @@ export const NavbarBaseNormalFlow = styled("div")(
display: flex;
justify-content: center;
align-items: center;
- border-bottom: 1px solid ${theme.vars.palette.divider};
+ border-bottom: 1px solid ${theme.vars.palette.stroke.fainter};
`,
);
diff --git a/web/packages/base/components/utils/mui-theme.d.ts b/web/packages/base/components/utils/mui-theme.d.ts
index 96f2535d02..e2d11c1756 100644
--- a/web/packages/base/components/utils/mui-theme.d.ts
+++ b/web/packages/base/components/utils/mui-theme.d.ts
@@ -87,12 +87,14 @@ declare module "@mui/material/styles" {
* These change with the color scheme.
*
* They come in three strengths which are meant to play nicely with the
- * corresponding strengths of "text.*" and "fill.*".
+ * corresponding strengths of "text.*" and "fill.*", and an extra
+ * "fainter" variant for ad-hoc uses.
*/
stroke: {
base: string;
muted: string;
faint: string;
+ fainter: string;
};
/**
* Neutral transparent colors for filling small areas like icon or
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index d5268426b3..96f8649d66 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -188,6 +188,7 @@ const _colors = {
base: "#000",
muted: "rgba(0 0 0 / 0.24)",
faint: "rgba(0 0 0 / 0.12)",
+ fainter: "rgba(0 0 0 / 0.06)",
},
boxShadow: {
paper: "0px 0px 10px rgba(0 0 0 / 0.25)",
@@ -227,6 +228,7 @@ const _colors = {
base: "#fff",
muted: "rgba(255 255 255 / 0.24)",
faint: "rgba(255 255 255 / 0.16)",
+ fainter: "rgba(255 255 255 / 0.10)",
},
boxShadow: {
paper: "0px 2px 12px rgba(0 0 0 / 0.75)",