Skip to content

Visualisation: Add dark mode #2689

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 15, 2025
Merged

Visualisation: Add dark mode #2689

merged 2 commits into from
Feb 15, 2025

Conversation

sanika-n
Copy link
Collaborator

This PR adds the Solara Dark theme to Mesa

By default, the theme is set to match the user's system settings, however, it can be controlled by clicking on the toggle at the right end of the app bar once solara is launched

Dark Mode (Auto for me)

image

Light Mode

image

Copy link

Performance benchmarks:

Model Size Init time [95% CI] Run time [95% CI]
BoltzmannWealth small 🔴 +13.5% [+13.0%, +13.9%] 🔵 +0.8% [+0.7%, +1.0%]
BoltzmannWealth large 🔵 +20.2% [+1.6%, +56.8%] 🔴 +15.2% [+13.4%, +16.7%]
Schelling small 🔵 +1.6% [+1.2%, +2.0%] 🔵 +0.5% [+0.3%, +0.6%]
Schelling large 🔵 +0.4% [+0.1%, +0.7%] 🔵 -0.6% [-1.7%, +0.7%]
WolfSheep small 🔵 -1.4% [-1.7%, -1.0%] 🔵 -0.2% [-0.5%, +0.1%]
WolfSheep large 🔵 -0.6% [-1.4%, +0.1%] 🔵 +0.6% [-1.6%, +2.8%]
BoidFlockers small 🔴 +4.5% [+4.0%, +5.0%] 🔵 +3.2% [+2.5%, +3.6%]
BoidFlockers large 🔵 +3.3% [+2.9%, +3.8%] 🔵 +2.7% [+2.3%, +3.0%]

Copy link
Member

@EwoutH EwoutH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easy, nice and uncomplicated. I like it!

I will leave the merge for another maintainer.

@EwoutH EwoutH added enhancement Release notes label visualisation labels Feb 14, 2025
@quaquel quaquel merged commit 661a9c9 into projectmesa:main Feb 15, 2025
10 of 11 checks passed
@EwoutH EwoutH changed the title added dark mode Visualisation: Add dark mode Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Release notes label visualisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants