Skip to content

Visualisation: Add dark mode#2689

Merged
quaquel merged 2 commits intomesa:mainfrom
sanika-n:darkmode
Feb 15, 2025
Merged

Visualisation: Add dark mode#2689
quaquel merged 2 commits intomesa:mainfrom
sanika-n:darkmode

Conversation

@sanika-n
Copy link
Copy Markdown
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

@github-actions
Copy link
Copy Markdown

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
Copy Markdown
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 mesa:main Feb 15, 2025
9 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