Skip to content

Commit

Permalink
Add color styles for "Yes", "No", and "Cannot" options in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectly-preserved-pie committed Jun 5, 2024
1 parent 1222fe5 commit ae4a585
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ def apply_element_style(text):
color_styles = {
"Lightning": "yellow",
"Fire": "red",
"Ice": "lightblue"
"Ice": "lightblue",
"Yes": "green",
"No": "red",
"Cannot": "red",
}
parts = text.split(", ")
spans = []
Expand Down

0 comments on commit ae4a585

Please sign in to comment.