From d57fa73e50f8bac9f6ec912d3ae7e154946b0b09 Mon Sep 17 00:00:00 2001 From: w3bdesign <45217974+w3bdesign@users.noreply.github.com> Date: Sun, 17 Nov 2024 07:24:58 +0100 Subject: [PATCH 1/2] Font color --- src/components/Index/Section.component.tsx | 4 ++-- src/components/Prosjekter/ProsjektCard.component.tsx | 3 +-- src/components/UI/InputField.component.tsx | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/components/Index/Section.component.tsx b/src/components/Index/Section.component.tsx index 82bf57ad..fb489b3c 100644 --- a/src/components/Index/Section.component.tsx +++ b/src/components/Index/Section.component.tsx @@ -60,12 +60,12 @@ const Section = ({ text, title }: IContent) => {

{title}

-
+
= ({
-

+

{name}

{description}

@@ -74,5 +74,4 @@ const ProsjektCard: React.FC = ({
); }; - export default ProsjektCard; diff --git a/src/components/UI/InputField.component.tsx b/src/components/UI/InputField.component.tsx index ae65b0d4..814fe5bf 100644 --- a/src/components/UI/InputField.component.tsx +++ b/src/components/UI/InputField.component.tsx @@ -58,7 +58,7 @@ function InputField({ ...props }: InputProps) { const sharedClasses = - "cursor-pointer peer block text-xl w-64 p-2 bg-gray-800 text-slate-200 border-gray-500 border rounded border-opacity-50 outline-none focus:border-slate-200 placeholder-gray-300 placeholder-opacity-0 transition duration-200"; + "cursor-pointer peer block text-xl w-64 p-2 bg-gray-800 text-slate-100 border-gray-500 border rounded border-opacity-50 outline-none focus:border-slate-200 placeholder-gray-300 placeholder-opacity-0 transition duration-200"; const registerOptions = createRegisterOptions( isRequired, @@ -89,7 +89,7 @@ function InputField({ )}