Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Aug 16, 2022
1 parent 9f4f73b commit 85a5dbc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ def upgrade():
color_scheme = formatter.get("colorScheme")
new_color_scheme = None
if color_scheme == "rgb(0,255,0)":
# supersetTheme.colors.success.light1
new_color_scheme = "#ACE1C4"
elif color_scheme == "rgb(255,255,0)":
# supersetTheme.colors.alert.light1
new_color_scheme = "#FDE380"
elif color_scheme == "rgb(255,0,0)":
# supersetTheme.colors.error.light1
new_color_scheme = "#EFA1AA"
if new_color_scheme:
new_conditional_formatting.append(
Expand Down

0 comments on commit 85a5dbc

Please sign in to comment.