caronc / apprise-api

A lightweight REST framework that wraps the Apprise Notification Library
https://hub.docker.com/r/caronc/apprise
MIT License
580 stars 50 forks source link

Dark/Light Theme feature added #133

Closed caronc closed 10 months ago

caronc commented 10 months ago

Description:

Related issue (if applicable): refs #79

Added a Dark theme with the ability to toggle using icon at the top right hand side of the page. image

The default mode is light, but this can be over-ridden if you set the APPRISE_DEFAULT_THEME to be dark instead.

This is entirely based on @STaRDoGG. I just made a few tweaks to some of the colors. I re-organized the inclusion of the CSS files as well (calling highlight.min.css last). in theory, this should be renamed to dark.css and another called light.css and some of the other duplication removed (especially the hacked entries in the materialize.min.css file)... But this is still a great start. Thank you so much @STaRDoGG for all your great work found here.

Checklist

codecov-commenter commented 10 months ago

Codecov Report

Patch coverage is 95.65% of modified lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Files Changed Coverage
apprise_api/core/middleware/theme.py 94.73%
apprise_api/core/themes.py 100.00%

:loudspeaker: Thoughts on this report? Let us know!.