FajarHidaa commited on
Commit
edba9e6
·
verified ·
1 Parent(s): e4de1c7

Update src/ui/components.py

Browse files
Files changed (1) hide show
  1. src/ui/components.py +3 -3
src/ui/components.py CHANGED
@@ -57,19 +57,19 @@ def render_step_indicator(current_step: int):
57
  if i < current_step:
58
  # Done
59
  st.markdown(
60
- f"<div style='text-align:center; color:#10b981; font-size:0.75rem; font-weight:700'>✓ {label}</div>",
61
  unsafe_allow_html=True,
62
  )
63
  elif i == current_step:
64
  # Active
65
  st.markdown(
66
- f"<div style='text-align:center; color:#8b5cf6; font-size:0.75rem; font-weight:700'>◉ {label}</div>",
67
  unsafe_allow_html=True,
68
  )
69
  else:
70
  # Pending
71
  st.markdown(
72
- f"<div style='text-align:center; color:#4a4a6a; font-size:0.75rem;'>○ {label}</div>",
73
  unsafe_allow_html=True,
74
  )
75
 
 
57
  if i < current_step:
58
  # Done
59
  st.markdown(
60
+ f"<div class='hp-step done'>✓ {label}</div>"
61
  unsafe_allow_html=True,
62
  )
63
  elif i == current_step:
64
  # Active
65
  st.markdown(
66
+ f"<div class='hp-step active'>◉ {label}</div>",
67
  unsafe_allow_html=True,
68
  )
69
  else:
70
  # Pending
71
  st.markdown(
72
+ f"<div class='hp-step pending'>○ {label}</div>"
73
  unsafe_allow_html=True,
74
  )
75