From e59137f6f26b39656bdf21609f577b96defdc7a7 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 21 Apr 2023 17:40:57 +0530 Subject: [PATCH] style: cycle and module theming (#923) * style: cycle theming * style: module theming --- apps/app/components/cycles/single-cycle-card.tsx | 14 +++++++------- apps/app/components/modules/single-module-card.tsx | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/app/components/cycles/single-cycle-card.tsx b/apps/app/components/cycles/single-cycle-card.tsx index 581139875..5bd0115c3 100644 --- a/apps/app/components/cycles/single-cycle-card.tsx +++ b/apps/app/components/cycles/single-cycle-card.tsx @@ -271,13 +271,13 @@ export const SingleCycleCard: React.FC = ({
- - Start : + + Start : {renderShortDateWithYearFormat(startDate)}
- - End : + + End : {renderShortDateWithYearFormat(endDate)}
@@ -293,11 +293,11 @@ export const SingleCycleCard: React.FC = ({ alt={cycle.owned_by.first_name} /> ) : ( - + {cycle.owned_by.first_name.charAt(0)} )} - {cycle.owned_by.first_name} + {cycle.owned_by.first_name}
{!isCompleted && ( @@ -306,7 +306,7 @@ export const SingleCycleCard: React.FC = ({ e.preventDefault(); handleEditCycle(); }} - className="flex cursor-pointer items-center rounded p-1 duration-300 hover:bg-gray-100" + className="flex cursor-pointer items-center rounded p-1 duration-300 hover:bg-brand-surface-1" > diff --git a/apps/app/components/modules/single-module-card.tsx b/apps/app/components/modules/single-module-card.tsx index 1cfa7928c..030f51c0d 100644 --- a/apps/app/components/modules/single-module-card.tsx +++ b/apps/app/components/modules/single-module-card.tsx @@ -175,12 +175,12 @@ export const SingleModuleCard: React.FC = ({ module, handleEditModule })
- Start: + Start: {renderShortDateWithYearFormat(startDate)}
- End: + End: {renderShortDateWithYearFormat(endDate)}
@@ -189,7 +189,7 @@ export const SingleModuleCard: React.FC = ({ module, handleEditModule })
Progress -
+