Implement text color changes across components

The commit involves modifications in various components to change 'text-gray-500' to 'text-muted-foreground'. The purpose of this change is to create uniformity in text colors across the application, enhancing the user interface's overall look and making color scheme tweaks easier in the future.
This commit is contained in:
giancarlo
2024-04-05 12:13:58 +08:00
parent b6f1ba6e68
commit 368bcf4dff
8 changed files with 10 additions and 17 deletions

View File

@@ -123,8 +123,7 @@ function CollapsibleButton({
`bg-background absolute -right-[10.5px] bottom-4 cursor-pointer block`,
);
const iconClassName =
'bg-background text-gray-300 dark:text-gray-600 h-5 w-5';
const iconClassName = 'bg-background text-muted-foreground h-5 w-5';
return (
<TooltipProvider>

View File

@@ -30,10 +30,7 @@ export function DocsPageLink({
<span className={'flex flex-col space-y-1.5'}>
<span
className={
'text-xs font-semibold uppercase dark:text-gray-400' +
' text-gray-500'
}
className={'text-xs font-semibold uppercase text-muted-foreground'}
>
{before ? `Previous` : ``}
{after ? `Next` : ``}