Skip to content

Commit

Permalink
update font color for interactiveu ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jashlu committed Dec 6, 2024
1 parent 8f19d38 commit e313a69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions social_norms_trees/interactive_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from typing import Optional, List, Callable

from social_norms_trees.behavior_tree_library import Behavior
from behavior_tree_library import Behavior


def run_interactive_list(
Expand All @@ -18,7 +18,7 @@ def run_interactive_list(
"""
selected_index = 0

fontColors = {"move": "ff0000", "select": "0080ff", "insert": "00ff80"}
fontColors = {"move": "ff8000", "select": "0080ff", "insert": "00ff80"}

if mode == "move":
selected_index = nodes.index(new_behavior)
Expand Down Expand Up @@ -58,7 +58,7 @@ def get_display_text_select():
instructions = FormattedText(
[
(
f"fg:#{fontColors[mode]} bold",
f"bg:#282c34 fg:#{fontColors[mode]} bold",
instructions_set[mode]
+ "Press Enter to confirm. Press esc to exit at anytime.",
)
Expand Down

0 comments on commit e313a69

Please sign in to comment.