UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: выравнивание карточек внутреннего контура
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user