def focus_fill

near-v-framework@0.4.0.0 · domain/architecture/view/ops.bend:37

import near-v-framework@0.4.0.0/domain/architecture/view/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/type.bend as A

37def focus_fill(l: A.Level) -> String:
38  match l:
39    case A.PersonLevel{}:
40      "#08427B"
41    case A.SystemLevel{}:
42      "#1168BD"
43    case A.ContainerLevel{}:
44      "#438DD5"
45    case A.ComponentLevel{}:
46      "#85BBF0"
47    case A.ExternalLevel{}:
48      "#999999"

Uses (2)

Used by (1)