Skip to content

Conversation

@lukavdplas
Copy link
Contributor

@lukavdplas lukavdplas commented Dec 18, 2025

  • Adds dark mode (close Dark mode #1042)
  • Adds a documentation page about frontend styling, which explains the dark mode as well as some existing quirks.

The dark mode look is mostly just from bulma / primeNG, but I changed some CSS variables to increase contrast for text/borders. I'm not super happy about the look but I guess it's fine?

There is a component to let users pick dark/light mode. Default is "auto", i.e. adapt to system theme. But I would not mind using "light" as the default setting.

I used the runInIframe setting so Peace Portal always uses the light theme.

There is some extra logic to adjust colours for visualisations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dark mode

2 participants