feat: docker widget (#2288)
Co-authored-by: Crowdin Homarr <190541745+homarr-crowdin[bot]@users.noreply.github.com> Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: homarr-crowdin[bot] <190541745+homarr-crowdin[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
13
packages/docker/src/shared.ts
Normal file
13
packages/docker/src/shared.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { MantineColor } from "@mantine/core";
|
||||
|
||||
import type { ContainerState } from ".";
|
||||
|
||||
export const containerStateColorMap = {
|
||||
created: "cyan",
|
||||
running: "green",
|
||||
paused: "yellow",
|
||||
restarting: "orange",
|
||||
exited: "red",
|
||||
removing: "pink",
|
||||
dead: "dark",
|
||||
} satisfies Record<ContainerState, MantineColor>;
|
||||
Reference in New Issue
Block a user