From 18890891892cb6a593d7abec2f9b948c7f1dd2cd Mon Sep 17 00:00:00 2001 From: cocobo1 Date: Fri, 12 Dec 2025 20:08:43 +0200 Subject: [PATCH 1/6] fix(text): correct text colouring --- src/core/ui/components/AddonCard.tsx | 4 ++-- .../settings/pages/Plugins/sheets/PluginInfoActionSheet.tsx | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/core/ui/components/AddonCard.tsx b/src/core/ui/components/AddonCard.tsx index a0486d4..973ee38 100644 --- a/src/core/ui/components/AddonCard.tsx +++ b/src/core/ui/components/AddonCard.tsx @@ -32,7 +32,7 @@ const useStyles = createStyles({ }, headerLabel: { ...TextStyleSheet["heading-md/semibold"], - color: semanticColors.TEXT_NORMAL, + color: semanticColors.HEADER_PRIMARY, }, headerSubtitle: { ...TextStyleSheet["text-md/semibold"], @@ -40,7 +40,7 @@ const useStyles = createStyles({ }, descriptionLabel: { ...TextStyleSheet["text-md/semibold"], - color: semanticColors.TEXT_NORMAL, + color: semanticColors.HEADER_PRIMARY, }, actions: { flexDirection: "row-reverse", diff --git a/src/core/ui/settings/pages/Plugins/sheets/PluginInfoActionSheet.tsx b/src/core/ui/settings/pages/Plugins/sheets/PluginInfoActionSheet.tsx index b9e9858..d857f28 100644 --- a/src/core/ui/settings/pages/Plugins/sheets/PluginInfoActionSheet.tsx +++ b/src/core/ui/settings/pages/Plugins/sheets/PluginInfoActionSheet.tsx @@ -11,6 +11,7 @@ import { useState } from "react"; import { ScrollView, View } from "react-native"; import TitleComponent from "./TitleComponent"; import { PluginInfoActionSheetProps } from "./common"; +import { semanticColors } from "@lib/ui/color"; function PluginInfoIconButton(props) { const { onPress } = props; @@ -205,7 +206,10 @@ export default function PluginInfoActionSheet({ Description From 9aced932d25a05d588a5490c7daca967c3a9ace3 Mon Sep 17 00:00:00 2001 From: Bwlok Date: Sat, 13 Dec 2025 02:29:08 +0100 Subject: [PATCH 2/6] fix app crashing when closing filter on ios --- src/core/ui/settings/pages/PluginBrowser/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/ui/settings/pages/PluginBrowser/index.tsx b/src/core/ui/settings/pages/PluginBrowser/index.tsx index 4bf41af..85a78a3 100644 --- a/src/core/ui/settings/pages/PluginBrowser/index.tsx +++ b/src/core/ui/settings/pages/PluginBrowser/index.tsx @@ -15,7 +15,8 @@ import { ActionSheet, AlertModal, AlertActions, TableRow, TableRowGroup } from " import { lazyDestructure } from "@lib/utils/lazy"; import { findByProps } from "@metro"; -const { showSimpleActionSheet, hideActionSheet } = lazyDestructure(() => findByProps("showSimpleActionSheet")); +const { showSimpleActionSheet } = lazyDestructure(() => findByProps("showSimpleActionSheet")); +const { hideActionSheet } = findByProps("hideActionSheet") interface BaseAddonData { name: string; From 4eb305993260a6493df7f0f821e8cf2ee03ec580 Mon Sep 17 00:00:00 2001 From: kmmiio99o <164557248+kmmiio99o@users.noreply.github.com> Date: Fri, 19 Dec 2025 23:22:28 +0100 Subject: [PATCH 3/6] Fix many colors issues --- src/core/ui/components/AddonCard.tsx | 6 +++--- src/core/ui/components/AddonPage.tsx | 4 ++-- src/core/ui/settings/pages/Fonts/FontEditor.tsx | 4 ++-- .../settings/pages/Plugins/sheets/PluginInfoActionSheet.tsx | 2 +- src/lib/ui/components/Codeblock.tsx | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/core/ui/components/AddonCard.tsx b/src/core/ui/components/AddonCard.tsx index 973ee38..ad6083d 100644 --- a/src/core/ui/components/AddonCard.tsx +++ b/src/core/ui/components/AddonCard.tsx @@ -32,7 +32,7 @@ const useStyles = createStyles({ }, headerLabel: { ...TextStyleSheet["heading-md/semibold"], - color: semanticColors.HEADER_PRIMARY, + color: semanticColors.MOBILE_TEXT_HEADING_PRIMARY, }, headerSubtitle: { ...TextStyleSheet["text-md/semibold"], @@ -40,7 +40,7 @@ const useStyles = createStyles({ }, descriptionLabel: { ...TextStyleSheet["text-md/semibold"], - color: semanticColors.HEADER_PRIMARY, + color: semanticColors.TEXT_NORMAL, }, actions: { flexDirection: "row-reverse", @@ -48,7 +48,7 @@ const useStyles = createStyles({ gap: 5 }, iconStyle: { - tintColor: semanticColors.LOGO_PRIMARY, + tintColor: semanticColors.INTERACTIVE_ICON_DEFAULT, opacity: 0.2, height: 64, width: 64, diff --git a/src/core/ui/components/AddonPage.tsx b/src/core/ui/components/AddonPage.tsx index 35a5dcc..3da8d3a 100644 --- a/src/core/ui/components/AddonPage.tsx +++ b/src/core/ui/components/AddonPage.tsx @@ -151,7 +151,7 @@ export default function AddonPage({ CardComponent, ...props }: return - + Oops! Nothing to see here… yet! @@ -204,7 +204,7 @@ export default function AddonPage({ CardComponent, ...props }: ListHeaderComponent={headerElement} ListEmptyComponent={() => - + Hmmm... could not find that! } diff --git a/src/core/ui/settings/pages/Fonts/FontEditor.tsx b/src/core/ui/settings/pages/Fonts/FontEditor.tsx index 40ac61b..c977f70 100644 --- a/src/core/ui/settings/pages/Fonts/FontEditor.tsx +++ b/src/core/ui/settings/pages/Fonts/FontEditor.tsx @@ -332,7 +332,7 @@ export default function FontEditor(props: { return {error.message} : url} + subLabel={error ? {error.message} : url} trailing={ } /> - {errors && Some font entries cannot be imported. Please modify the entries and try again.} + {errors && Some font entries cannot be imported. Please modify the entries and try again.}