From ae4a585b5792d5e100e440dd9ba3e2a89aa0e5e0 Mon Sep 17 00:00:00 2001 From: Sahib Bhai Date: Wed, 5 Jun 2024 09:18:19 -0700 Subject: [PATCH] Add color styles for "Yes", "No", and "Cannot" options in modal --- app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 13f4ce7..da72179 100644 --- a/app.py +++ b/app.py @@ -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 = []