UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: выравнивание карточек внутреннего контура

This commit is contained in:
DCCONSTRUCTIONS
2026-04-24 11:56:23 +03:00
parent a8b6f9f9ce
commit 655ff7fc4a
2 changed files with 81 additions and 62 deletions
@@ -28,13 +28,16 @@ export type TStateGroups = "backlog" | "unstarted" | "started" | "completed" | "
export const STATE_GROUP_COLORS: {
[key in TStateGroups]: string;
} = {
backlog: "#60646C",
unstarted: "#60646C",
started: "#F59E0B",
completed: "#46A758",
cancelled: "#9AA4BC",
backlog: "#050505",
unstarted: "#7C7F85",
started: "#050505",
completed: "rgb(var(--nodedc-card-active-rgb, 195 255 102))",
cancelled: "#050505",
};
export const getStateGroupColor = (stateGroup: TStateGroups | undefined, fallbackColor?: string) =>
stateGroup ? STATE_GROUP_COLORS[stateGroup] : (fallbackColor ?? STATE_GROUP_COLORS.unstarted);
export const INTAKE_STATE_GROUP_COLORS: { [key in TIntakeStateGroups]: string } = { triage: "#4E5355" };
export const STATE_GROUP_SIZES: {