Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui: fixes for dark theme

thecodrr245474fceee0
diff --git a/apps/web/src/components/button/index.js b/apps/web/src/components/button/index.js
index fa4dce4a1..0fbfd8581 100644
--- a/apps/web/src/components/button/index.js
+++ b/apps/web/src/components/button/index.js
@@ -13,7 +13,7 @@ const Button = props => (
sx={{
borderRadius: "default",
marginBottom: 2,
- color: "fontSecondary",
+ color: "static",
fontFamily: "body",
fontWeight: "body",
...ButtonPressedStyle,
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.js
index 787e6f144..0904dd264 100644
--- a/apps/web/src/components/list-item/index.js
+++ b/apps/web/src/components/list-item/index.js
@@ -32,11 +32,12 @@ const ListItem = props => (
bg="primary"
sx={{
borderRadius: 35,
- width: 35,
- height: 35,
+ width: 30,
+ height: 30,
position: "absolute",
top: -15,
left: 0,
+ marginTop: 5,
boxShadow: "2px 1px 3px #00000066"
}}
mx={3}
@@ -44,7 +45,7 @@ const ListItem = props => (
justifyContent="center"
>
<Box
- bg="white"
+ bg="static"
sx={{
borderRadius: 5,
width: 5,
diff --git a/apps/web/src/components/notebook/index.js b/apps/web/src/components/notebook/index.js
index e2559eae9..3f7d4e50a 100644
--- a/apps/web/src/components/notebook/index.js
+++ b/apps/web/src/components/notebook/index.js
@@ -61,7 +61,7 @@ const Notebook = ({ item, index, onClick, onTopicClick }) => {
sx={{
marginRight: 1,
borderRadius: "default",
- color: "fontSecondary"
+ color: "static"
}}
>
<Text className="unselectable" variant="body" fontSize={11}>
diff --git a/apps/web/src/components/snackbar/index.js b/apps/web/src/components/snackbar/index.js
index f8b90d84b..95d3a5fd4 100644
--- a/apps/web/src/components/snackbar/index.js
+++ b/apps/web/src/components/snackbar/index.js
@@ -31,7 +31,7 @@ const Snackbar = props => (
bottom: 10,
left: "50%",
textAlign: "center",
- color: "fontSecondary",
+ color: "static",
fontFamily: "body",
fontWeight: "body",
borderRadius: "default",
diff --git a/apps/web/src/utils/theme.js b/apps/web/src/utils/theme.js
index cb0bb6d61..db7af3224 100644
--- a/apps/web/src/utils/theme.js
+++ b/apps/web/src/utils/theme.js
@@ -10,7 +10,6 @@ const colorsLight = makeTheme({
border: "#f0f0f0",
hover: "#e0e0e0",
fontSecondary: "white",
- fontTertiary: "gray",
text: "black",
overlay: "rgba(255, 255, 255, 0.75)"
});
@@ -169,7 +168,6 @@ function makeTheme({
border,
hover,
fontSecondary,
- fontTertiary,
text,
overlay
}) {
@@ -183,10 +181,11 @@ function makeTheme({
border,
hover,
fontSecondary,
- fontTertiary,
+ fontTertiary: "gray",
transparent: "#00000000",
text,
- overlay
+ overlay,
+ static: "white"
};
}