7 lines
177 B
Python
7 lines
177 B
Python
|
|
def urgency_color(urgency: str) -> str:
|
||
|
|
if urgency == "high":
|
||
|
|
return "#dc3545" # red
|
||
|
|
else:
|
||
|
|
return "#ffc107" # orange
|
||
|
|
# return "#17a2b8" # blue
|