Skip to content

Commit

Permalink
styles: add more tag colors
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnrivers committed Dec 31, 2024
1 parent dc22619 commit 0d5b458
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/memo/_utils/tags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export function getTagColor(color: string): string {
return 'text-white bg-orange-700';
case 'green':
return 'text-white bg-green-700';
case 'default':
return 'text-white bg-gray-600';
default:
return 'text-white bg-gray-600';
}
Expand All @@ -27,6 +29,8 @@ export function getTagCardBorderColor(color: string): string {
return 'border-orange-500';
case 'green':
return 'border-green-500';
case 'default':
return 'border-gray-500';
default:
return 'border-gray-500';
}
Expand Down

0 comments on commit 0d5b458

Please sign in to comment.