mark-look.ts
This file
Path
apps/web/src/features/shared/mark-look.ts
21 lines · 787 bytes · TypeScript
Last changed by
Merge redesign into mainoscabrielbefore adoptioncaedd21
History of this fileTake it
Draw every list and subject from one row, one status line, one family fan and one set of fact blocksoscabrielbefore adoption886b726
line 1why, one step back1/**Merge redesign into mainoscabrielbefore adoptioncaedd21
lines 2–3why, one step back2 * Kept apart from `marks.tsx` so a list of projects carries only the three3 * icons a posture needs.Draw every list and subject from one row, one status line, one family fan and one set of fact blocksoscabrielbefore adoption886b726
lines 4–21why, one step back4 */5import type { Posture } from "@repo/protocol/posture";6import { Eye, LockKeyhole, LockKeyholeOpen } from "lucide-react";7import type { LucideIcon } from "lucide-react";89export interface MarkLook {10 readonly icon: LucideIcon;11 readonly tone: string;12 readonly fill?: true;13}1415export const POSTURE_MARKS = {16 open: { icon: LockKeyholeOpen, tone: "text-muted-foreground" },17 openCore: { icon: LockKeyhole, tone: "text-sealed" },18 openOnSchedule: { icon: LockKeyhole, tone: "text-sealed" },19 openWithSealedEvidence: { icon: LockKeyhole, tone: "text-sealed" },20 sourceAvailable: { icon: Eye, tone: "text-muted-foreground" },21} as const satisfies Record<Posture, MarkLook>;