Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Change tags color

fzaninotto01cb042a1b8f
diff --git a/src/atomic-crm/notes/NoteInputs.tsx b/src/atomic-crm/notes/NoteInputs.tsx
index 8f378ae5..50d48495 100644
--- a/src/atomic-crm/notes/NoteInputs.tsx
+++ b/src/atomic-crm/notes/NoteInputs.tsx
@@ -50,7 +50,7 @@ export const NoteInputs = ({ showStatus }: { showStatus?: boolean }) => {
<div
className={cn(
"space-y-3 mt-3 overflow-hidden transition-transform ease-in-out duration-300 origin-top",
- !displayMore ? "scale-0 max-h-0 h-0" : "scale-100",
+ !displayMore ? "scale-y-0 max-h-0 h-0" : "scale-y-100",
)}
>
<div className="flex gap-4">
diff --git a/src/atomic-crm/providers/fakerest/dataGenerator/tags.ts b/src/atomic-crm/providers/fakerest/dataGenerator/tags.ts
index ec667efd..ad30c58e 100644
--- a/src/atomic-crm/providers/fakerest/dataGenerator/tags.ts
+++ b/src/atomic-crm/providers/fakerest/dataGenerator/tags.ts
@@ -1,12 +1,12 @@
import type { Db } from "./types";
const tags = [
- { id: 0, name: "football-fan", color: "#424D5B" },
- { id: 1, name: "holiday-card", color: "#535F7D" },
- { id: 2, name: "influencer", color: "#C1050D" },
- { id: 3, name: "manager", color: "#6C5B61" },
- { id: 4, name: "musician", color: "#494582" },
- { id: 5, name: "vip", color: "#765A3A" },
+ { id: 0, name: "football-fan", color: "#eddcd2" },
+ { id: 1, name: "holiday-card", color: "#fff1e6" },
+ { id: 2, name: "influencer", color: "#fde2e4" },
+ { id: 3, name: "manager", color: "#fad2e1" },
+ { id: 4, name: "musician", color: "#c5dedd" },
+ { id: 5, name: "vip", color: "#dbe7e4" },
];
export const generateTags = (_: Db) => {