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:
@@ -123,8 +123,7 @@ function CollapsibleButton({
|
|||||||
`bg-background absolute -right-[10.5px] bottom-4 cursor-pointer block`,
|
`bg-background absolute -right-[10.5px] bottom-4 cursor-pointer block`,
|
||||||
);
|
);
|
||||||
|
|
||||||
const iconClassName =
|
const iconClassName = 'bg-background text-muted-foreground h-5 w-5';
|
||||||
'bg-background text-gray-300 dark:text-gray-600 h-5 w-5';
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
|
|||||||
@@ -30,10 +30,7 @@ export function DocsPageLink({
|
|||||||
|
|
||||||
<span className={'flex flex-col space-y-1.5'}>
|
<span className={'flex flex-col space-y-1.5'}>
|
||||||
<span
|
<span
|
||||||
className={
|
className={'text-xs font-semibold uppercase text-muted-foreground'}
|
||||||
'text-xs font-semibold uppercase dark:text-gray-400' +
|
|
||||||
' text-gray-500'
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
{before ? `Previous` : ``}
|
{before ? `Previous` : ``}
|
||||||
{after ? `Next` : ``}
|
{after ? `Next` : ``}
|
||||||
|
|||||||
@@ -69,9 +69,7 @@ function SuccessSessionStatus({
|
|||||||
🎉
|
🎉
|
||||||
</Heading>
|
</Heading>
|
||||||
|
|
||||||
<div
|
<div className={'text-muted-foreground flex flex-col space-y-4'}>
|
||||||
className={'flex flex-col space-y-4 text-gray-500 dark:text-gray-400'}
|
|
||||||
>
|
|
||||||
<p>
|
<p>
|
||||||
<Trans
|
<Trans
|
||||||
i18nKey={'billing:checkoutSuccessDescription'}
|
i18nKey={'billing:checkoutSuccessDescription'}
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import { Badge } from '@kit/ui/badge';
|
|||||||
import { Button } from '@kit/ui/button';
|
import { Button } from '@kit/ui/button';
|
||||||
import { Heading } from '@kit/ui/heading';
|
import { Heading } from '@kit/ui/heading';
|
||||||
import { If } from '@kit/ui/if';
|
import { If } from '@kit/ui/if';
|
||||||
import { Separator } from '@kit/ui/separator';
|
|
||||||
import { Trans } from '@kit/ui/trans';
|
import { Trans } from '@kit/ui/trans';
|
||||||
import { cn } from '@kit/ui/utils';
|
import { cn } from '@kit/ui/utils';
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export function PersonalAccountDropdown({
|
|||||||
<div
|
<div
|
||||||
className={'flex flex-col justify-start truncate text-left text-xs'}
|
className={'flex flex-col justify-start truncate text-left text-xs'}
|
||||||
>
|
>
|
||||||
<div className={'text-gray-500'}>
|
<div className={'text-muted-foreground'}>
|
||||||
<Trans i18nKey={'common:signedInAs'} />
|
<Trans i18nKey={'common:signedInAs'} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ function DeleteTeamContainer(props: {
|
|||||||
<Trans i18nKey={'teams:deleteTeam'} />
|
<Trans i18nKey={'teams:deleteTeam'} />
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<p className={'text-sm text-gray-500'}>
|
<p className={'text-muted-foreground text-sm'}>
|
||||||
<Trans
|
<Trans
|
||||||
i18nKey={'teams:deleteTeamDescription'}
|
i18nKey={'teams:deleteTeamDescription'}
|
||||||
values={{
|
values={{
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ export const ImageUploadInput = forwardRef<React.ElementRef<'input'>, Props>(
|
|||||||
<div className={'flex items-center space-x-4'}>
|
<div className={'flex items-center space-x-4'}>
|
||||||
<div className={'flex'}>
|
<div className={'flex'}>
|
||||||
<If condition={!state.image}>
|
<If condition={!state.image}>
|
||||||
<UploadCloud className={'dark:text-dark-500 h-5 text-gray-500'} />
|
<UploadCloud className={'h-5 text-muted-foreground'} />
|
||||||
</If>
|
</If>
|
||||||
|
|
||||||
<If condition={state.image}>
|
<If condition={state.image}>
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ function getClassNameBuilder() {
|
|||||||
{
|
{
|
||||||
variant: 'default',
|
variant: 'default',
|
||||||
selected: false,
|
selected: false,
|
||||||
className: 'text-gray-400 dark:text-gray-500',
|
className: 'text-muted-foreground',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
variant: 'default',
|
variant: 'default',
|
||||||
@@ -108,7 +108,7 @@ function getClassNameBuilder() {
|
|||||||
{
|
{
|
||||||
variant: 'default',
|
variant: 'default',
|
||||||
selected: false,
|
selected: false,
|
||||||
className: 'bg-gray-300 dark:bg-gray-800',
|
className: 'bg-muted',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
variant: 'numbers',
|
variant: 'numbers',
|
||||||
@@ -118,7 +118,7 @@ function getClassNameBuilder() {
|
|||||||
{
|
{
|
||||||
variant: 'numbers',
|
variant: 'numbers',
|
||||||
selected: false,
|
selected: false,
|
||||||
className: 'text-gray-400 dark:text-gray-500',
|
className: 'text-muted-foreground',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
defaultVariants: {
|
defaultVariants: {
|
||||||
@@ -135,7 +135,7 @@ function StepDivider({
|
|||||||
selected: boolean;
|
selected: boolean;
|
||||||
}>) {
|
}>) {
|
||||||
const spanClassName = cn('font-medium text-sm', {
|
const spanClassName = cn('font-medium text-sm', {
|
||||||
['text-gray-400 dark:text-gray-500']: !selected,
|
['text-muted-foreground']: !selected,
|
||||||
['text-primary']: selected,
|
['text-primary']: selected,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user