Skip to content

Commit a8922ff

Browse files
rhttpike3
authored andcommitted
Restyle play+stop button to be Solara blue color
1 parent 448da49 commit a8922ff

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

mesa/experimental/jupyter_viz.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,13 @@ def do_set_playing(value):
259259
solara.Button(label="Step", color="primary", on_click=do_step)
260260
# This style is necessary so that the play widget has almost the same
261261
# height as typical Solara buttons.
262-
solara.Style(
263-
"""
262+
solara.Style("""
264263
.widget-play {
265-
height: 30px;
264+
height: 35px;
265+
}
266+
.widget-play button {
267+
color: white;
268+
background-color: #1976D2; // Solara blue color
266269
}
267270
"""
268271
)

0 commit comments

Comments
 (0)