Skip to content

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

mobile: use border color for borders

Ammar Ahmeda73538bafcf6
diff --git a/apps/mobile/app/components/attachments/actions.tsx b/apps/mobile/app/components/attachments/actions.tsx
index af09513e0..6d49dc209 100644
--- a/apps/mobile/app/components/attachments/actions.tsx
+++ b/apps/mobile/app/components/attachments/actions.tsx
@@ -221,7 +221,7 @@ const Actions = ({
<View
style={{
borderBottomWidth: 1,
- borderBottomColor: colors.secondary.background,
+ borderBottomColor: colors.primary.border,
marginBottom: notes && notes.length > 0 ? 0 : 12
}}
>
@@ -295,7 +295,7 @@ const Actions = ({
<View
style={{
borderBottomWidth: 1,
- borderBottomColor: colors.secondary.background,
+ borderBottomColor: colors.primary.border,
marginBottom: 12,
paddingVertical: 12
}}
diff --git a/apps/mobile/app/components/merge-conflicts/index.js b/apps/mobile/app/components/merge-conflicts/index.js
index f26a39a23..bc481ce05 100644
--- a/apps/mobile/app/components/merge-conflicts/index.js
+++ b/apps/mobile/app/components/merge-conflicts/index.js
@@ -313,7 +313,7 @@ const MergeConflicts = () => {
height: height / 2 - (50 + insets.top / 2),
backgroundColor: colors.primary.background,
borderBottomWidth: 1,
- borderBottomColor: colors.secondary.background
+ borderBottomColor: colors.primary.border
}}
>
<ReadonlyEditor
diff --git a/apps/mobile/app/components/properties/synced.js b/apps/mobile/app/components/properties/synced.js
index fdb5bf96d..fc71a1197 100644
--- a/apps/mobile/app/components/properties/synced.js
+++ b/apps/mobile/app/components/properties/synced.js
@@ -48,7 +48,7 @@ export const Synced = ({ item, close }) => {
paddingTop: 10,
marginTop: 10,
borderTopWidth: 1,
- borderTopColor: colors.secondary.background
+ borderTopColor: colors.primary.border
}}
>
<Icon
diff --git a/apps/mobile/app/components/sheets/github/issue.js b/apps/mobile/app/components/sheets/github/issue.js
index a4e9f5e3c..7a5469098 100644
--- a/apps/mobile/app/components/sheets/github/issue.js
+++ b/apps/mobile/app/components/sheets/github/issue.js
@@ -141,7 +141,7 @@ Logged in: ${user ? "yes" : "no"}`,
defaultValue={title.current}
style={{
borderWidth: 1,
- borderColor: colors.secondary.background,
+ borderColor: colors.primary.border,
borderRadius: 5,
padding: 12,
fontFamily: "OpenSans-Regular",
@@ -178,7 +178,7 @@ For example:
}}
style={{
borderWidth: 1,
- borderColor: colors.secondary.background,
+ borderColor: colors.primary.border,
borderRadius: 5,
padding: 12,
fontFamily: "OpenSans-Regular",
diff --git a/apps/mobile/app/components/sheets/reminder-notify/index.tsx b/apps/mobile/app/components/sheets/reminder-notify/index.tsx
index 0caba78f8..f02f97869 100644
--- a/apps/mobile/app/components/sheets/reminder-notify/index.tsx
+++ b/apps/mobile/app/components/sheets/reminder-notify/index.tsx
@@ -159,7 +159,7 @@ export default function ReminderNotify({
? 160 * references?.placeholders?.length
: 500,
borderTopWidth: 1,
- borderTopColor: colors.secondary.background,
+ borderTopColor: colors.primary.border,
marginTop: 5,
paddingTop: 5
}}
diff --git a/apps/mobile/app/components/sheets/restore-data/index.js b/apps/mobile/app/components/sheets/restore-data/index.js
index 208135f79..e04603eb8 100644
--- a/apps/mobile/app/components/sheets/restore-data/index.js
+++ b/apps/mobile/app/components/sheets/restore-data/index.js
@@ -415,7 +415,7 @@ const RestoreDataComponent = ({ close, setRestoring, restoring }) => {
borderRadius: 0,
flexDirection: "row",
borderBottomWidth: 0.5,
- borderBottomColor: colors.secondary.background
+ borderBottomColor: colors.primary.border
}}
>
<View
diff --git a/apps/mobile/app/components/sheets/sort/index.js b/apps/mobile/app/components/sheets/sort/index.js
index db79d3480..2d7950f41 100644
--- a/apps/mobile/app/components/sheets/sort/index.js
+++ b/apps/mobile/app/components/sheets/sort/index.js
@@ -127,7 +127,7 @@ const Sort = ({ type, screen }) => {
justifyContent: "flex-start",
flexWrap: "wrap",
borderBottomWidth: isTopicSheet ? 0 : 1,
- borderBottomColor: colors.secondary.background,
+ borderBottomColor: colors.primary.border,
marginBottom: 12,
paddingHorizontal: 12,
paddingBottom: 12,
diff --git a/apps/mobile/app/components/side-menu/user-status.js b/apps/mobile/app/components/side-menu/user-status.js
index de5cc459e..6033fceec 100644
--- a/apps/mobile/app/components/side-menu/user-status.js
+++ b/apps/mobile/app/components/side-menu/user-status.js
@@ -53,7 +53,7 @@ export const UserStatus = () => {
alignSelf: "center",
paddingBottom: Platform.OS === "ios" ? insets.bottom / 2 : null,
borderTopWidth: 1,
- borderTopColor: colors.secondary.background
+ borderTopColor: colors.primary.border
}}
>
<View
diff --git a/apps/mobile/app/screens/settings/app-lock.js b/apps/mobile/app/screens/settings/app-lock.js
index e4f8d2aa6..b3fe8be04 100644
--- a/apps/mobile/app/screens/settings/app-lock.js
+++ b/apps/mobile/app/screens/settings/app-lock.js
@@ -77,7 +77,7 @@ const AppLock = () => {
alignSelf: "center",
minHeight: 125,
borderBottomWidth: 1,
- borderBottomColor: colors.secondary.background
+ borderBottomColor: colors.primary.border
}}
>
<Icon
diff --git a/apps/mobile/app/screens/settings/debug.tsx b/apps/mobile/app/screens/settings/debug.tsx
index 90e9a8353..e709a8795 100644
--- a/apps/mobile/app/screens/settings/debug.tsx
+++ b/apps/mobile/app/screens/settings/debug.tsx
@@ -100,7 +100,7 @@ export default function DebugLogs() {
backgroundColor: background,
flexShrink: 1,
borderBottomWidth: 1,
- borderBottomColor: colors.secondary.background
+ borderBottomColor: colors.primary.border
}}
>
<Paragraph
diff --git a/apps/mobile/app/screens/settings/licenses.tsx b/apps/mobile/app/screens/settings/licenses.tsx
index d100dfb95..ae9d58b80 100644
--- a/apps/mobile/app/screens/settings/licenses.tsx
+++ b/apps/mobile/app/screens/settings/licenses.tsx
@@ -49,7 +49,7 @@ export const Licenses = () => {
alignSelf: "flex-start",
padding: 12,
borderBottomWidth: 1,
- borderBottomColor: colors.secondary.background,
+ borderBottomColor: colors.primary.border,
borderRadius: 0
}}
onPress={() => {
diff --git a/apps/mobile/app/screens/settings/user-section.js b/apps/mobile/app/screens/settings/user-section.js
index f8ef60463..6afc1c997 100644
--- a/apps/mobile/app/screens/settings/user-section.js
+++ b/apps/mobile/app/screens/settings/user-section.js
@@ -121,7 +121,7 @@ const SettingsUserSection = ({ item }) => {
paddingTop: 50,
borderBottomWidth: 1,
paddingBottom: 20,
- borderColor: colors.secondary.background
+ borderColor: colors.primary.border
}}
>
<View