Skip to content

Conversation

@jkowalleck
Copy link

@jkowalleck jkowalleck commented Nov 26, 2025

added functionality

  • a dark color theme for the page and the plots

added capabilities

  • detects dark/light preference from browser on load and on preference-change
  • renders dark/light as preferred in browser
  • print layout is still light

what else

  • the colors were extracted in the CSS and JSON - for easier maintenance.
  • the old JS style was kept as is
  • no additional libraries was introduced
  • the browser-specifics in CSS were kept as is

Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck jkowalleck changed the title [WIP] feat(ui): dark mode feat(ui): dark mode Nov 26, 2025
@jkowalleck jkowalleck marked this pull request as ready for review November 26, 2025 18:05
Signed-off-by: Jan Kowalleck <[email protected]>
@jkowalleck
Copy link
Author

@ewdurbin how about a dark theme? 🎉

@ewdurbin
Copy link
Member

Hello @jkowalleck! My focus is predominately on the operations and infrastructure of pypistats.org. I may not have time to review this PR until mid-late December.

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.

feat(ui): dark mode

2 participants