Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
chore(types): add fgColor for verdict
Browse files Browse the repository at this point in the history
  ## what
  - add fgColor for `verdict`

  ## how

  ## why

  ## where
  - ./src/types/index.ts

  ## usage
  • Loading branch information
Clumsy-Coder committed Jan 3, 2024
1 parent 30c02eb commit eb3c6a1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,19 @@ export type VerdictType = {
};

export const Verdict: Record<string, VerdictType> = {
0 : { fgColor: "", bgColor: "bg-gray-500", title: "- In Queue -" },
10: { fgColor: "", bgColor: "bg-gray-500", title: "Submission error" },
15: { fgColor: "", bgColor: "bg-gray-500", title: "Can't be judged" },
20: { fgColor: "", bgColor: "bg-gray-500", title: "- In Queue -" },
30: { fgColor: "", bgColor: "bg-orange-600", title: "Compile error" },
35: { fgColor: "", bgColor: "bg-gray-500", title: "Restricted function" },
40: { fgColor: "", bgColor: "bg-[#00AAAA]", title: "Runtime error" },
45: { fgColor: "", bgColor: "bg-[#000066]", title: "Output limit" },
50: { fgColor: "", bgColor: "bg-[#0000FF]", title: "Time limit" },
60: { fgColor: "", bgColor: "bg-[#0000AA]", title: "Memory limit" },
70: { fgColor: "", bgColor: "bg-[#FF0000]", title: "Wrong answer" },
80: { fgColor: "", bgColor: "bg-[#666600]", title: "Presentation error" },
90: { fgColor: "", bgColor: "bg-[#00AA00]", title: "Accepted" },
0 : { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-gray-500", title: "- In Queue -" },
10: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-gray-500", title: "Submission error" },
15: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-gray-500", title: "Can't be judged" },
20: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-gray-500", title: "- In Queue -" },
30: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-orange-600", title: "Compile error" },
35: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-gray-500", title: "Restricted function" },
40: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#00AAAA]", title: "Runtime error" },
45: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#000066]", title: "Output limit" },
50: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#0000FF]", title: "Time limit" },
60: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#0000AA]", title: "Memory limit" },
70: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#FF0000]", title: "Wrong answer" },
80: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#666600]", title: "Presentation error" },
90: { fgColor: "text-primary-foreground dark:text-secondary-foreground", bgColor: "bg-[#00AA00]", title: "Accepted" },
};

export const Language: Record<string, string> = {
Expand Down

0 comments on commit eb3c6a1

Please sign in to comment.