Skip to content

Commit

Permalink
feat(frontend): remove class names logic
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdeman committed Feb 3, 2025
1 parent 33c2cd4 commit 35efc89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/classes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export const ClassNames = {
Text: "text-neutral-600 dark:text-neutral-300",
}

export const BASE_CARD_CLASS = "bg-white h-[200px] w-[200px] rounded-3xl shadow-sm border p-4 flex flex-col justify-between dark:bg-white/10 dark:border-white/5";
export const BRAND_COLOR = "text-[#ca6f1e] dark:text-[#ca6f1e]";
export const BRAND_COLOR_BG = "bg-[#ca6f1e] dark:bg-[#ca6f1e]";
4 changes: 2 additions & 2 deletions frontend/src/components/loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Loading: FC<ILoadingProps> = ({ className, hideText, loadingText, s
</div>
{
!hideText &&
<div className={classNames(ClassNames.Text, "text-sm")}>{loadingText}</div>
<div className="text-neutral-600 dark:text-neutral-300 text-sm">{loadingText}</div>
}
</div>
}
Expand All @@ -33,7 +33,7 @@ export const Loading: FC<ILoadingProps> = ({ className, hideText, loadingText, s
</div>
{
!hideText &&
<div className={classNames(ClassNames.Text, "text-sm")}>{loadingText}</div>
<div className="text-neutral-600 dark:text-neutral-300 text-sm">{loadingText}</div>
}
</div>
}
Expand Down

0 comments on commit 35efc89

Please sign in to comment.