From 0d5b4587887cf5661e26374073ce16c583778ace Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 31 Dec 2024 16:31:54 +0900 Subject: [PATCH] styles: add more tag colors --- src/app/memo/_utils/tags.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/memo/_utils/tags.ts b/src/app/memo/_utils/tags.ts index 01b9a22f..6144a835 100644 --- a/src/app/memo/_utils/tags.ts +++ b/src/app/memo/_utils/tags.ts @@ -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'; } @@ -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'; }