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 1/4] 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.}